npx skills add https://github.com/majiayu000/claude-skill-registry --skill agent-creation-skill
[!FIXED!]
This skill provides procedures for creating new agents when project complexity requires delegation. Agents should be created on-demand, not preemptively.
When to use:
When NOT to use:
[!FIXED!]
=== PREREQUISITES ===
<!-- AI:PREREQUISITES:START -->
Before using this skill:
<!-- AI:PREREQUISITES:END -->
=== PROCEDURE: ASSESS NEED ===
<!-- PROCEDURE:assess-need:START -->
| Recurring | Specialized | Parallel | Overwhelming | Action |
|-----------|-------------|----------|--------------|--------|
| No | No | No | No | Handle directly |
| Yes | Any | Any | Any | Create agent |
| Any | Yes | Any | Any | Create agent |
| Any | Any | Yes | Any | Create agent |
| Any | Any | Any | Yes | Create agent(s) |
<!-- PROCEDURE:assess-need:END -->
=== PROCEDURE: SELECT TEMPLATE ===
<!-- PROCEDURE:select-template:START -->
| Template | Use For |
|----------|---------|
| agent.template.md | Custom/new agent types |
| code-chef.template.md | Dedicated coding agent |
| review-chef.template.md | Code review specialist |
| doc-chef.template.md | Documentation specialist |
code-chef.template.mdreview-chef.template.mddoc-chef.template.mdagent.template.md<!-- PROCEDURE:select-template:END -->
=== PROCEDURE: CREATE AGENT ===
<!-- PROCEDURE:create-agent:START -->
# Copy appropriate template
cp agentdocs/templates/code-chef.template.md agentdocs/code-chef.agent.md
Update YAML preamble:
---
document_name: "code-chef.agent.md"
location: "agentdocs/code-chef.agent.md"
codebook_id: "CB-AGENT-CODE-001" # Assign unique ID
date_created: "YYYY-MM-DD" # Today's date
date_last_edited: "YYYY-MM-DD" # Today's date
# ... rest of preamble
---
Replace all << placeholder >> values:
Update agentdocs/_agent-index.md:
=== REGISTERED AGENTS ===
| Codebook ID | Agent Name | File | Role | Status |
|-------------|------------|------|------|--------|
| CB-AGENT-HEAD-001 | Head Cook | head-cook.agent.md | Orchestrator | active |
| CB-AGENT-CODE-001 | Code Chef | code-chef.agent.md | Coding | active | <!-- NEW -->
Add buildlog entry:
| HH:MM | #micro-decision | Created Code Chef agent for dedicated coding tasks | CB-AGENT-CODE-001 |
<!-- PROCEDURE:create-agent:END -->
=== PROCEDURE: RETIRE AGENT ===
<!-- PROCEDURE:retire-agent:START -->
When an agent is no longer needed:
Update agent's preamble:
status: "deprecated"
In _agent-index.md, change status:
| CB-AGENT-XXX-001 | Agent Name | file.md | Role | deprecated |
Move to agentdocs/archive/ if keeping for reference.
| HH:MM | #micro-decision | Retired Agent Name - no longer needed | CB-AGENT-XXX-001 |
<!-- PROCEDURE:retire-agent:END -->
=== CODEBOOK ID ASSIGNMENT ===
<!-- AI:CODEBOOK-ID:START -->
CB-AGENT-{NAME}-{SEQUENCE}
Examples:
- CB-AGENT-HEAD-001 : Head Cook
- CB-AGENT-CODE-001 : Code Chef
- CB-AGENT-REVIEW-001 : Review Chef
- CB-AGENT-DOC-001 : Doc Chef
- CB-AGENT-TEST-001 : Test Chef
- CB-AGENT-CUSTOM-001 : Custom agent
<!-- AI:CODEBOOK-ID:END -->
=== COMMON ISSUES ===
<!-- AI:ISSUES:START -->
Issue: Created agents prematurely, now overwhelming
Fix: Retire unused agents; consolidate similar roles
Issue: Agent references skills that don't exist
Fix: Create required skills first, or adjust agent capabilities
Issue: Agents stepping on each other's responsibilities
Fix: Review and clarify boundaries; update both agents
Issue: Agent exists but is never used
Fix: Either integrate into workflow or retire
<!-- AI:ISSUES:END -->
=== RELATED DOCUMENTS ===
<!-- AI:RELATED:START -->
| Document | Codebook ID | Relationship |
|----------|-------------|--------------|
| _agent-index.md | CB-AGENT-INDEX | Registration |
| head-cook.agent.md | CB-AGENT-HEAD-001 | Only user of this skill |
| templates/*.md | - | Source templates |
<!-- AI:RELATED:END -->
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Replace with description of the skill and when Claude should use it.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Take majiayu000/agent-creation-skill from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.