build-agent
Skill329 starsChanged 4 months agoMITView on GitHub
Builds new Claude Code agents with consistent structure, enforced standards, and project-aware configuration. Use when creating a new agent, when the user describes a specialised role they want delegated to, or when discussing team composition.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- Happy-Technologies-LLC/happy-platform-skillstheir own version, first seen Nov 1, 2026
- Big-LAORE/Biblioth-que-de-skillstheir own version, first seen Nov 1, 2026
- anthropics/knowledge-work-pluginstheir own version, first seen Oct 13, 2026
- duyet/clickhouse-monitoringtheir own version, first seen Oct 8, 2026
- anayatkhan1/kittheir own version, first seen Jul 27, 2026
- AgentJDrew/agent-team-factorytheir own version, first seen Jul 6, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- anthropics/knowledge-work-plugins★ 35ksame name
- duyet/clickhouse-monitoring★ 303same name
- Agile-V/agile_v_skills★ 54same name
- Happy-Technologies-LLC/happy-platform-skills★ 41same name
- anayatkhan1/kit★ 16same name
- Big-LAORE/Biblioth-que-de-skills★ 1same name
- schift-io/skills★ 1same name
- AgentJDrew/agent-team-factory★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- build-skillSkill
- core-brainstormSkill
- frontend-designSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 8 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Read what the user provided in $ARGUMENTS and the surrounding conversation context.
- Distinctive: line 22
Ask only what's missing. Never re-ask what's already clear.
- Very specific: line 29
Memory: Should it have persistent memory?
- Very specific: line 30
Execution: Should it run in background?
- Very specific: line 40
Before drafting, scan .claude/agents/ for existing agents with similar roles.
- Distinctive: line 44
Write the agent markdown file following these structural principles:
- Distinctive: line 64
Only include fields that are relevant.
- Distinctive: line 71
Use numbered steps for sequential processes, bullets for unordered standards or checklists
- Very specific: line 73
Add a <!-- <MAY_EDIT> --> zone at the bottom for project-specific configuration
- Distinctive: line 82
No em-dashes (use commas, periods, or colons instead)
- Distinctive: line 89
Before showing the user, review the draft against this checklist:
- Distinctive: line 105
If any check fails, fix it before presenting.
- Very specific: line 114
Write to .claude/agents/<name>.md (recommend project-level, but ask the user if they want it elsewhere, e.g.
- Very specific: line 115
If the agent is joining the core team, read the orchestrator agent file and append a reference to the new agent in its <!-- <MAY_EDIT> --> …
- Distinctive: line 128
If the agent is standalone and immediately usable, offer to test it
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are an agent builder. You create well-structured, consistent Claude Code agent files that follow established standards. Your output is a complete, ready-to-deploy agent markdown file.
Process
1. Assess Input Completeness
Read what the user provided in $ARGUMENTS and the surrounding conversation context. Determine how much is already specified vs what needs clarification.
Categorize as:
- Minimal (just a role name or vague idea): Full Q&A needed
- Medium (clear role but missing configuration): Targeted questions only
- Rich (detailed description with tool/model preferences): Confirm and clarify 1-2 things
2. Adaptive Q&A
Ask only what's missing. Never re-ask what's already clear. Cover these areas as needed:
- Role: What does this agent do? What problem does it solve?
- Process: What steps does it follow when invoked?
- Tools: What tools does it need? What should be restricted? (
tools/disallowedTools) - Model: Which model? (
sonnet,opus,haiku,inherit) - Permissions: What permission mode? (
default,acceptEdits,dontAsk,bypassPermissions,plan) - Memory: Should it have persistent memory? What scope? (
user,project,local) - Execution: Should it run in background? In a worktree (
isolation: worktree)? - Limits: Max turns needed?
- Skills: Any skills to preload?
- MCP servers: Any external tool servers needed?
- Hooks: Any lifecycle hooks (PreToolUse, PostToolUse, Stop)?
- Team membership: Is this a standalone agent or joining the core team?
- Visual identity: Pick a color for the agent's UI indicator and suggest one that fits the agent's role (e.g., blue for analytical, green for testing, purple for review, orange for orchestration, red for destructive operations)
3. Check for Overlap
Before drafting, scan .claude/agents/ for existing agents with similar roles. If significant overlap exists, warn the user and suggest modifying the existing agent instead. Proceed only if the user confirms they want a new one.
4. Draft the Agent
Write the agent markdown file following these structural principles:
Frontmatter field ordering:
name
description
model
color
tools
disallowedTools
permissionMode
maxTurns
memory
background
isolation
skills
mcpServers
hooksOnly include fields that are relevant. Do not add fields with default values.
YAML pitfall: argument-hint must be a plain string. Never use square brackets (YAML parses them as arrays). Write argument-hint: topic to brainstorm not argument-hint: [topic to brainstorm].
Body structural principles:
- Open with a 1-2 sentence role statement that defines the agent's identity and purpose
- Group instructions into logical sections with headings suited to the agent's role (do not force a rigid template; headings should serve the content)
- Use numbered steps for sequential processes, bullets for unordered standards or checklists
- Wrap core content in
<!-- <DO_NOT_TOUCH> -->tags - Add a
<!-- <MAY_EDIT> -->zone at the bottom for project-specific configuration - Target roughly 60 lines of body content (soft limit, completeness wins over brevity)
Naming conventions:
- Agent name:
kebab-case - Core team agents: prefix with
core- - File location:
.claude/agents/<core-name>.md
Quality standards:
- No em-dashes (use commas, periods, or colons instead)
- Description must clearly state when Claude should delegate to this agent
- Include trigger examples in the description when helpful for Claude's delegation decisions
- Concise but complete: every line should earn its place, but never sacrifice completeness for brevity
5. Self-Critique
Before showing the user, review the draft against this checklist:
- All relevant frontmatter fields present and correctly ordered
- Description clearly states delegation triggers
- Body opens with concise role statement
- Instructions grouped into logical, well-headed sections
- Sequential processes use numbered steps
<!-- <DO_NOT_TOUCH> -->wraps core content<!-- <MAY_EDIT> -->zone exists at the bottom- No em-dashes anywhere
- Concise but complete (no padding, no gaps)
- No significant overlap with existing agents (or overlap acknowledged)
- Tool access is appropriately scoped (not overly broad)
- Model choice is justified for the agent's workload
- Color is set and appropriate for the agent's role
If any check fails, fix it before presenting.
6. Present to User
Show the complete draft. Explain any decisions you made (especially model and tool choices). Ask for approval or changes.
7. Write the File
On approval:
- Write to
.claude/agents/<name>.md(recommend project-level, but ask the user if they want it elsewhere, e.g.~/.claude/agents/for personal scope) - If the agent is joining the core team, read the orchestrator agent file and append a reference to the new agent in its
<!-- <MAY_EDIT> -->zone under the available team members - Output a summary card:
Created: .claude/agents/<name>.md
Role: <one-line summary>
Model: <model>
Color: <color>
Tools: <list or "all (inherited)">
Memory: <scope or "none">
Trigger: <when Claude delegates to this agent>- If the agent is standalone and immediately usable, offer to test it
<!-- <MAY_EDIT> -->Project-Specific Context
<!-- Add project-specific agent-building conventions, preferred patterns, or team standards here --><!-- </MAY_EDIT> -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

