create-sub-agent
Installation
SKILL.md
Follow the create-sub-agent skill workflow to design and generate a Claude Code agent file.
Inputs
$ARGUMENTS— optional agent name or brief use-case description passed as initial context to the design interview. Omit to start with open discovery.
Steps
- If
$ARGUMENTSis provided, use it as the starting context for agent name / purpose - Follow the create-sub-agent phased workflow: extract core intent via design interview
(purpose, input/output contract, escalation posture, tools, permissions.deny, model,
maxTokens, color, lifecycle hooks, placement), present design summary, confirm,
then generate the agent
.mdfile - Validate the generated agent with
validate_agent.py - Publication Check: Ask if the agent should be visible to GitHub Copilot or Claude Code for this repository. If yes, materialize it into
.github/agents/or.claude/agents/and ensure the path is tracked in.gitignore. - Report the created agent path, triggering conditions, and next steps