agent-creator
Installation
SKILL.md
Agent Creator
Create a sub-agent that earns its context window. Most agents fail because the definition is vague, not because the model is weak: the trigger is unclear, the tool list sprawls, the body mixes persona and procedure, and there is no output contract. This skill researches first, then walks through a six-phase design that produces a focused, least-privileged agent with predictable output.
Core Principles
| Principle | Meaning |
|---|---|
| One job, one agent | An agent that does two things does neither well. Split the responsibility before writing. |
| Least privilege | Grant the smallest tool set that lets the agent finish its job. Read-only by default. |
| Trigger-first description | The description field is the only thing read before delegation. Include keywords and "when to use". |
| Contract over conversation | Define explicit input, process, and output. Agents are not chat sessions. |
| Isolation for source code | If the agent changes source code, run it in a worktree so the orchestrator can review before merging. Documentation-only writers and planning roles may run in place. |
| Portable body, platform frontmatter | Keep the system prompt agent-agnostic. Adapt frontmatter fields per target platform. |