create-subagent
Installation
SKILL.md
Create Subagent
Scaffold a new subagent directly inside the chosen plugin of a local marketplace. The root agents/ folder is auto-generated by CI — do not create files there manually.
For Claude Code, subagents are distributed via plugins. The AGENTS.md format is also compatible with other coding tools (Cursor, Copilot, Codex, Gemini, VS Code, Zed).
User's intention
$ARGUMENTS
References & shared contract
See docs/ai-tools-create-shared.md for the reference docs (subagents, plugins, hooks, marketplace, …), where the form payload comes from, and the scaffold-finishing contract (scaffolded: true → finish the remaining work in place at path, don't recreate; scaffolded: false → create from scratch).
Workflow
- Create agent file — parse the form payload (a JSON object with
modeandtargetfields; see the shared contract above for its source and the scaffold-finishing rules).