跳到正文
cccskills
免费在 GitHub 公开

agent-builder

Design and build AI agents for business, research, operations, or creative work. Define essential actions and knowledge, start with a simple execution loop, and add progress tracking or separate child agents as needs emerge.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI system" (2) want to understand agent architecture, agentic patterns, or autonomous AI (3) need help with capabilities, subagents, planning, or skill mechanisms (4) ask about Claude Code, Cursor, or similar agent internals (5) want to build agents for business, research, creative, or operational tasks Keywords: agent, assistant, autonomous, workflow, tool use, multi-step, orchestration

查看安装方法

适用场景

  • Designing an assistant for business tasks
  • Building a research agent
  • Choosing essential actions and knowledge
  • Adding planning or child agents

包含的文件(6)

  • SKILL.md4.6 KB
  • references/agent-philosophy.md7.8 KB
  • references/minimal-agent.py4.1 KB
  • references/subagent-pattern.py7.6 KB
  • references/tool-templates.py7.8 KB
  • scripts/init_agent.py9.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Agent Builder

Build AI agents for any domain - customer service, research, operations, creative work, or specialized business processes.

The Core Philosophy

The model already knows how to be an agent. Your job is to get out of the way.

An agent is not complex engineering. It's a simple loop that invites the model to act:

LOOP:
  Model sees: context + available capabilities
  Model decides: act or respond
  If act: execute capability, add result, continue
  If respond: return to user

That's it. The magic isn't in the code - it's in the model. Your code just provides the opportunity.

The Three Elements

1. Capabilities (What can it DO?)

Atomic actions the agent can perform: search, read, create, send, query, modify.

Design principle: Start with 3-5 capabilities. Add more only when the agent consistently fails because a capability is missing.

2. Knowledge (What does it KNOW?)

Domain expertise injected on-demand: policies, workflows, best practices, schemas.

Design principle: Make knowledge available, not mandatory. Load it when relevant, not upfront.

3. Context (What has happened?)

The conversation history - the thread connecting actions into coherent behavior.

Design principle: Context is precious. Isolate noisy subtasks. Truncate verbose outputs. Protect clarity.

Agent Design Thinking

Before building, understand:

  • Purpose: What should this agent accomplish?
  • Domain: What world does it operate in? (customer service, research, operations, creative...)
  • Capabilities: What 3-5 actions are essential?
  • Knowledge: What expertise does it need access to?
  • Trust: What decisions can you delegate to the model?

CRITICAL: Trust the model. Don't over-engineer. Don't pre-specify workflows. Give it capabilities and let it reason.

Progressive Complexity

Start simple. Add complexity only when real usage reveals the need:

LevelWhat to addWhen to add it
Basic3-5 capabilitiesAlways start here
PlanningProgress trackingMulti-step tasks lose coherence
SubagentsIsolated child agentsExploration pollutes context
SkillsOn-demand knowledgeDomain expertise needed

Most agents never need to go beyond Level 2.

Domain Examples

Business: CRM queries, email, calendar, approvals Research: Database search, document analysis, citations Operations: Monitoring, tickets, notifications, escalation Creative: Asset generation, editing, collaboration, review

The pattern is universal. Only the capabilities change.

Key Principles

  1. The model IS the agent - Code just runs the loop
  2. Capabilities enable - What it CAN do
  3. Knowledge informs - What it KNOWS how to do
  4. Constraints focus - Limits create clarity
  5. Trust liberates - Let the model reason
  6. Iteration reveals - Start minimal, evolve from usage

Anti-Patterns

PatternProblemSolution
Over-engineeringComplexity before needStart simple
Too many capabilitiesModel confusion3-5 to start
Rigid workflowsCan't adaptLet model decide
Front-loaded knowledgeContext bloatLoad on-demand
MicromanagementUndercuts intelligenceTrust the model

Resources

Philosophy & Theory:

  • references/agent-philosophy.md - Deep dive into why agents work

Implementation:

  • references/minimal-agent.py - Complete working agent (~80 lines)
  • references/tool-templates.py - Capability definitions
  • references/subagent-pattern.py - Context isolation

Scaffolding:

  • scripts/init_agent.py - Generate new agent projects

The Agent Mindset

From: "How do I make the system do X?" To: "How do I enable the model to do X?"

From: "What's the workflow for this task?" To: "What capabilities would help accomplish this?"

The best agent code is almost boring. Simple loops. Clear capabilities. Clean context. The magic isn't in the code.

Give the model capabilities and knowledge. Trust it to figure out the rest.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Review code for security flaws, bugs, performance problems, maintainability, and test quality. Produce structured feedback with issue locations, likely impact, suggested fixes, positive observations, and a recommendation on whether changes are ready to merge.

中文简介正在准备中。当前显示英语简介。

  • Reviewing a pull request before merging
  • Investigating bugs and edge cases
  • Checking security flaws and dependencies
shareAI-lab/learn-claude-code7.9万2026年9月28日 更新

Build MCP servers, which let Claude call external tools and read data through a shared protocol. Follow Python or TypeScript examples to implement tools, connect services, configure Claude, and test server behavior.

中文简介正在准备中。当前显示英语简介。

  • Adding custom tools to Claude
  • Connecting an external API
  • Reading database records or settings
shareAI-lab/learn-claude-code7.9万2026年9月28日 更新

pdf

免费

Extract text from PDFs, inspect page counts and document metadata, merge files, or split them into individual pages. Create PDFs from Markdown, HTML, or Python code, using the tools suited to each task.

中文简介正在准备中。当前显示英语简介。

  • Extracting text from a PDF
  • Combining several PDFs into one
  • Splitting a PDF into individual pages
shareAI-lab/learn-claude-code7.9万2026年9月28日 更新

查看 shareAI-lab 的全部技能

报告此技能的问题