agent-builder
できること
このスキルは、AIエージェントの構成要素と、特定の業務に合わせてそれを形作る方法を説明します。ビジネス、調査、その他の仕事のために、カスタムのアシスタントがほしい人向けです。
使う場面
- ✓特定のビジネス業務のためのAIアシスタントを作りたいとき。
- ✓エージェントがツールを使い、ステップを計画する仕組みを理解したいとき。
- ✓エージェントに持たせるべきツール、知識、履歴を決める必要があるとき。
スキルのリンク
https://github.com/shareAI-lab/learn-claude-code/blob/main/skills/agent-builder/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“返品ポリシーを使ってお客様の質問に答える、AIアシスタントの設計を手伝ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、エージェントが、行動するか応答するかをモデルが決める単純なループであると説明します。その後、ツール、知識、コンテキストの計画を手伝い、少数のツールから始めることを勧めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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:
| Level | What to add | When to add it |
|---|---|---|
| Basic | 3-5 capabilities | Always start here |
| Planning | Progress tracking | Multi-step tasks lose coherence |
| Subagents | Isolated child agents | Exploration pollutes context |
| Skills | On-demand knowledge | Domain 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
- The model IS the agent - Code just runs the loop
- Capabilities enable - What it CAN do
- Knowledge informs - What it KNOWS how to do
- Constraints focus - Limits create clarity
- Trust liberates - Let the model reason
- Iteration reveals - Start minimal, evolve from usage
Anti-Patterns
| Pattern | Problem | Solution |
|---|---|---|
| Over-engineering | Complexity before need | Start simple |
| Too many capabilities | Model confusion | 3-5 to start |
| Rigid workflows | Can't adapt | Let model decide |
| Front-loaded knowledge | Context bloat | Load on-demand |
| Micromanagement | Undercuts intelligence | Trust 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 definitionsreferences/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.
よくある質問
エージェントは最初いくつのツールから始めるべきですか?
スキルは、3つから5つのツールから始め、エージェントが不足で失敗し続けた場合にのみ追加することを推奨しています。
多くのコードを書く必要がありますか?
スキルは、モデルが作業の大部分を行うため、コードは単純なままでよいと述べています。
Claude Code や Cursor のようなツールについても説明しますか?
はい。Claude Code や Cursor などのツールの内部で、エージェントがどう動くかも扱います。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 80k
- ランキング
- #1715
- ライセンス
- MIT
- 更新日
- 2026/10/27
コメント
- …
このリポジトリの他のスキル
code-review
80k出荷前にコードのセキュリティの穴、ロジックの誤り、遅いクエリ、保守性を確認するよう、エージェントを支援します。
mcp-builder
80kClaude に新しいツール、データソース、外部サービスに接続するためのプロンプトを与える MCP サーバーを作るよう、エージェントに教えます。
PDF ファイルを読み、そこからテキストを抜き出し、新しい PDF を作り、複数の文書を1つのファイルにまとめるよう、エージェントを支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。