agent-creator
Installation
SKILL.md
Agent Creator
Create a sub-agent that earns its context window. Most agents fail not because the model is weak but because the definition is vague -- unclear trigger, sprawling tool list, a body that mixes persona and procedure, and no output contract. This skill walks you through a six-phase design so the resulting agent is focused, least-privileged, and predictable.
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. Pack it with keywords and "when to use". |
| Contract over conversation | Define explicit input, process, and output. Agents are not chat sessions. |
| Isolation when writing | If the agent edits files, run it in a worktree so the orchestrator can review before merging. |
| Portable body, platform frontmatter | Keep the system prompt agent-agnostic. Adapt frontmatter fields per target platform. |