create-sub-agent
SKILL.md
Sub-Agent Scaffold Generator
You are tasked with generating a new Sub-Agent context boundary using our deterministic backend scaffolding pipeline.
Execution Steps:
-
Gather Requirements: Before proceeding, you MUST read:
plugins reference/agent-scaffolders/references/hitl-interaction-design.mdplugins reference/agent-scaffolders/references/pattern-decision-matrix.md
Use these guides to ask the user for:
- The name of the sub-agent.
- The core purpose (to form the
descriptionand system prompt). - The escalation risk: does this agent need an Escalation Trigger Taxonomy explicitly defined in its prompt?
- The trust posture: warn the user that all sub-agent return boundaries MUST end in a Source Transparency Declaration (Sources Checked/Unavailable).
- Where the agent should be placed (
.claude/skills/or within a plugin's/agents/folder).
-
Scaffold the Sub-Agent: You must execute the hidden deterministic
scaffold.pyscript.Run the following bash command:
python3 ./scripts/scaffold.py --type sub-agent --name <requested-name> --path <destination-directory> --desc "<core-purpose>" -
Confirmation: Print a success message and advise the user on how to spawn the sub-agent (usually via the System
Tasktool).
Next Actions
- Iterative Improvement: Run
./scripts/benchmarking/run_loop.pyto evaluate the sub-agent's task performance. - Review Results: Run
./scripts/eval-viewer/generate_review.pyto launch the interactive viewer. - Audit: Run
audit-pluginto validate the generated artifacts.
Weekly Installs
11
Repository
richfrem/agent-…s-skillsGitHub Stars
1
First Seen
9 days ago
Security Audits
Installed on
opencode11
gemini-cli11
github-copilot11
codex11
kimi-cli11
amp11