← スキル一覧に戻る

add-agent
by nrempel
Create Claude Code plugins, skills, agents, and hooks
⭐ 0🍴 0📅 2026年1月14日
SKILL.md
name: add-agent description: Add a new subagent to an existing Claude Code plugin. Use when user wants to create an agent. user-invocable: true
Add Agent
You are adding a new subagent to a Claude Code plugin. Agents are specialized Claude personas that can be spawned via the Task tool. Follow these steps:
1. Gather Information
Ask the user for:
- Plugin path (which plugin to add to, or current directory)
- Agent name (kebab-case, e.g.,
code-reviewer) - Description (what does this agent specialize in?)
- Capabilities (what can it do?)
- When to use (when should Claude spawn this agent?)
2. Create Agent File
<plugin>/agents/<agent-name>.md
Note: Agents are .md files directly in the agents/ folder (not subdirectories like skills).
3. Generate Agent Markdown
Use this format:
---
description: <brief description of agent's specialty>
capabilities: [<capability1>, <capability2>, ...]
---
# <Agent Name>
<Overview of what this agent does>
## When to Invoke
Use this agent when:
- <Trigger condition 1>
- <Trigger condition 2>
## Capabilities
- <Detailed capability 1>
- <Detailed capability 2>
## Process
1. <How the agent approaches tasks>
2. <Steps it follows>
## Guidelines
- <Behavioral guideline 1>
- <Behavioral guideline 2>
4. Frontmatter Reference
Available frontmatter fields:
description(required): Brief description for agent selectioncapabilities: Array of capability tags
5. Best Practices
- Focused specialty: Each agent should have a clear domain
- Clear triggers: Specify exactly when to spawn this agent
- Autonomous operation: Agents run independently, design accordingly
- Return useful results: Agent output goes back to main Claude
スコア
総合スコア
45/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です