L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Create a new agent definition file following the agent-almanac agent template and registry conventions. Covers persona design, tool selection, skill assignment, model choice, frontmatter schema, required sections, registry integration, and discovery symlink verification. Use when adding a new specialized agent to the library, defining a persona for a Claude…
Independent GitHub snapshot · Automated classification · Original documentation governs
name: create-agent
locale: caveman-ultra
source_locale: en
source_commit: 82c77053
fence_basis_commit: 82c77053
translator: "Julius Brussee homage — caveman"
translation_date: "2026-04-19"
description: >
Create a new agent definition file following the agent-almanac
agent template and registry conventions. Covers persona design,
tool selection, skill assignment, model choice, frontmatter schema,
required sections, registry integration, and discovery symlink
verification. Use when adding a new specialized agent to the library,
defining a persona for a Claude Code subagent, or creating a
domain-specific assistant with curated skills and tools.
license: MIT
allowed-tools: Read Write Edit Bash Grep Glob
metadata:
author: Philipp Thoss
version: "1.0"
domain: general
complexity: intermediate
language: multi
tags: meta, agent, creation, persona, agentskills
Important: All agents auto-inherit defaults (meditate, heal) from registry default_skills. Do NOT list unless core to methodology (e.g., mystic lists meditate → its primary purpose).
Got: 3-15 skill IDs exist in skills/_registry.yml.
If err: Verify: grep "id: skill-name" skills/_registry.yml. Remove non-matching.
Step 5: Write File
cp agents/_template.md agents/<agent-name>.md
Fill frontmatter:
---
name: agent-name
description: One to two sentences describing primary capability and domain
tools: [Read, Write, Edit, Bash, Grep, Glob]
model: sonnet
version: "1.0.0"
author: Philipp Thoss
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [domain, specialty, relevant-keywords]
priority: normal
max_context_tokens: 200000
skills:
- assigned-skill-one
- assigned-skill-two
# Note: All agents inherit default skills (meditate, heal) from the registry.
# Only list them here if they are core to this agent's methodology.
# mcp_servers: [] # Uncomment and populate if MCP servers are needed
---
Got: YAML parses. Required fields present.
If err: Validate syntax. Common: missing quotes on ver, bad indent, unclosed brackets.
Step 6: Purpose + Capabilities
Purpose: 1 paragraph → specific problem + value. Concrete: domain, workflow, outcome.
Capabilities: Bullets w/ bold leads. Group by cat if many:
## Capabilities
- **Primary Capability**: What the agent does best
- **Secondary Capability**: Additional functionality
- **Tool Integration**: How it leverages its tools
Available Skills: Bare IDs + brief:
## Available Skills
- `skill-id` - Brief description of what the skill does
Got: Purpose specific (not "helps w/ dev"), caps concrete + verifiable, skills match frontmatter.
If err: Vague → "What specific task user asks?" → use as purpose.
Step 7: Usage Scenarios + Examples
2-3 scenarios → spawn patterns:
### Scenario 1: Primary Use Case
Brief description of the main scenario.
> "Use the agent-name agent to [specific task]."
### Scenario 2: Alternative Use Case
Description of another common use case.
> "Spawn the agent-name to [different task]."
1-2 examples → req + expected behavior:
### Example 1: Basic Usage
**User**: [Specific request]
**Agent**: [Expected response pattern and actions taken]
Got: Scenarios realistic, examples show value, spawn patterns match Claude Code.
If err: Mental test → could agent fulfill w/ assigned tools + skills?
Step 8: Limitations + See Also
Limitations: 3-5 honest. Cannot / should not / poor result scenarios:
## Limitations
- Cannot execute code in language X (no runtime available)
- Not suitable for tasks requiring Y — use Z agent instead
- Requires MCP server ABC to be running for full functionality
See Also: Cross-ref complementary agents, guides, teams:
## See Also
- [complementary-agent](complementary-agent.md) - handles the X side of this workflow
- [relevant-guide](../guides/guide-name.md) - background knowledge for this domain
- [relevant-team](../teams/team-name.md) - team that includes this agent
Got: Limits honest + specific. See Also refs exist.