Use when user says 'agent を作りたい', 'create agent', 'scaffold agent', '新しい agent', 'agent 作成', or discusses creating a new climpt agent. Generates .agent/{name}/ directory with all required files including agent.json, steps_registry.json, schemas, and prompts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/climpt-agent-scaffolder:agent-scaffolderThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Climpt Agent の雛形を生成する Skill。
scripts/scaffold.tstemplates/agent.json.tmpltemplates/prompts/steps/closure.md.tmpltemplates/prompts/steps/continuation.md.tmpltemplates/prompts/steps/initial.md.tmpltemplates/prompts/steps/verification.md.tmpltemplates/prompts/system.md.tmpltemplates/step_outputs.schema.json.tmpltemplates/steps_registry.json.tmplClimpt Agent の雛形を生成する Skill。
ユーザーに以下を確認:
my-agent, code-reviewer)scaffolder がサポートするタイプ:
| タイプ | 用途 | 設定 |
|---|---|---|
poll:state | Issue/PR の状態監視 | maxIterations |
count:iteration | 固定回数で終了 | maxIterations |
detect:keyword | キーワードで終了 | verdictKeyword |
detect:graph | Step グラフで判定 | steps_registry.json |
上級タイプ(scaffolding 後に手動編集が必要):
| タイプ | 用途 |
|---|---|
count:check | Status check の回数で終了 |
detect:structured | JSON schema で完了宣言を受け取る |
meta:composite | 複数条件 (any/all) の合成 |
meta:custom | 外部 VerdictHandler で任意判定 |
上級タイプを使用する場合は、基本タイプで scaffold 後、 agent.json の
runner.verdict.type と runner.verdict.config を手動で編集する。 詳細:
agents/docs/builder/02_agent_definition.md
deno run -A ${CLAUDE_PLUGIN_ROOT}/skills/agent-scaffolder/scripts/scaffold.ts \
--name <agent-name> \
--description "<説明>" \
--completion-type <type>
.agent/{agent-name}/
├── agent.json # Agent 定義
├── steps_registry.json # Step マッピング
├── schemas/
│ └── step_outputs.schema.json
└── prompts/
├── system.md
└── steps/
├── initial/default/f_default.md # Work step: 初期化
├── continuation/default/f_default.md # Work step: 継続
├── verification/default/f_default.md # Verification step: 検証
└── closure/default/f_default.md # Closure step: 完了
生成後、ユーザーに以下を案内:
prompts/system.md を編集して Agent の役割を定義prompts/steps/ 配下の各プロンプトをカスタマイズsteps_registry.json に Step を追加deno run -A agents/scripts/run-agent.ts --agent {name} --dry-run で検証重要: structuredGate.intentSchemaRef は解決済み Step スキーマ内の
内部ポインタ (#/properties/...) を使用すること。Runner は
outputSchemaRef.schema で Step スキーマを解決した後に intentSchemaRef
を適用するため、 definitions を含むパスは動作しない。
// ✅ 正しい形式: 解決済みスキーマへのポインタ
"intentSchemaRef": "#/properties/next_action/properties/action"
// ❌ 禁止: definitions を含むパス(解決後に存在しない)
"intentSchemaRef": "#/definitions/initial.default/properties/next_action/properties/action"
// ❌ 禁止: 外部ファイル参照
"intentSchemaRef": "common.schema.json#/$defs/nextAction/properties/action"
共通定義を使う場合は、Step スキーマ内で $ref で参照し、 intentSchemaRef
は解決後のローカルポインタを指定する。
agents/docs/builder/01_quickstart.md - クイックスタートagents/docs/builder/02_agent_definition.md - agent.json 詳細agents/docs/builder/03_builder_guide.md - ビルダーガイドagents/docs/builder/04_config_system.md - 設定システムnpx claudepluginhub tettuan/climpt --plugin climpt-agent-scaffolderCreates Claude Code agents from scratch or by adapting templates. Guides requirements gathering, template selection, and file generation following Anthropic best practices (v2.1.63+).
Guides creation of autonomous agents for Claude Code plugins, covering Markdown file structure, YAML frontmatter (name, description, model, color, tools), system prompts, triggering examples, and best practices.
Create custom agents for Claude Code including YAML frontmatter, system prompts, tool restrictions, and discovery optimization. Use when creating, building, or designing agents, or when asked about agent creation, subagent configuration, Task tool delegation, or agent best practices.