
Subagent Creator
- 687 installs
- 5k repo stars
- Updated August 4, 2026
- tech-leads-club/agent-skills
subagent-creator is a Claude Code skill that guides developers through creating specialized subagents with isolated context for verifiers, debuggers, and orchestrators in multi-step agent workflows.
About
subagent-creator from tech-leads-club/agent-skills teaches developers how to spin up specialized subagents that delegate narrow tasks with isolated context inside larger Claude or Cursor projects. It covers agent-agnostic patterns for verifiers, debuggers, orchestrators, and domain-specific assistants—explicitly not Cursor-only subagents, which have a separate cursor-subagent-creator skill. Triggers include "create subagent", "new agent", "specialized assistant", and "create verifier". Developers reach for subagent-creator when a monolithic agent session loses focus on complex pipelines and needs delegated specialists that preserve context boundaries. The skill is meta-guidance for agent architecture rather than application feature code.
- Creates on-demand sub-agents with custom system prompts and tool access
- Enables hierarchical agent teams that break complex work into focused roles
- Supports persistent subagent memory and context handoff
- Reduces token usage by delegating subtasks to purpose-built agents
- Works with any workflow that involves multi-step agent orchestration
Subagent Creator by the numbers
- 687 all-time installs (skills.sh)
- +28 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #1,440 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/tech-leads-club/agent-skills --skill subagent-creatorAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 687 |
|---|---|
| repo stars | ★ 5k |
| Last updated | August 4, 2026 |
| Repository | tech-leads-club/agent-skills ↗ |
How do you create specialized AI subagents?
Dynamically spin up specialized sub-agents that focus on narrow tasks inside larger Claude or Cursor projects.
Who is it for?
Developers orchestrating complex multi-step AI workflows who need focused verifier, debugger, or specialist subagents with isolated context.
Skip if: Cursor-only subagent setup tasks that should use cursor-subagent-creator instead of this agent-agnostic guide.
When should I use this skill?
User asks to create a subagent, specialized agent, verifier, debugger, orchestrator, or new delegated assistant.
What you get
Subagent prompt definitions, role boundaries, delegation patterns, and isolated-context workflow designs
- Subagent role definitions
- Delegation workflow design
- Isolated-context prompt templates
Files
Subagent Creator
This skill provides guidance for creating effective, agent-agnostic subagents.
What are Subagents?
Subagents are specialized assistants that an AI agent can delegate tasks to. Characteristics:
- Isolated context: Each subagent has its own context window
- Parallel execution: Multiple subagents can run simultaneously
- Specialization: Configured with specific prompts and expertise
- Reusable: Defined once, used in multiple contexts
When to Use Subagents vs Skills
Is the task complex with multiple steps?
├─ YES → Does it require isolated context?
│ ├─ YES → Use SUBAGENT
│ └─ NO → Use SKILL
│
└─ NO → Use SKILLUse Subagents for:
- Complex workflows requiring isolated context
- Long-running tasks that benefit from specialization
- Verification and auditing (independent perspective)
- Parallel workstreams
Use Skills for:
- Quick, one-off actions
- Domain knowledge without context isolation
- Reusable procedures that don't need isolation
Subagent Structure
A subagent is typically a markdown file with frontmatter metadata:
---
name: agent-name
description: Description of when to use this subagent.
model: inherit # or fast, or specific model ID
readonly: false # true to restrict write permissions
---
You are an [expert in X].
When invoked:
1. [Step 1]
2. [Step 2]
3. [Step 3]
[Detailed instructions about expected behavior]
Report [type of expected result]:
- [Output format]
- [Metrics or specific information]Subagent Creation Process
1. Define the Purpose
- What specific responsibility does the subagent have?
- Why does it need isolated context?
- Does it involve multiple complex steps?
- Does it require deep specialization?
2. Configure the Metadata
name (required)
Unique identifier. Use kebab-case.
name: security-auditordescription (critical)
CRITICAL for automatic delegation. Explains when to use this subagent.
Good descriptions:
- "Security specialist. Use when implementing auth, payments, or handling sensitive data."
- "Debugging specialist for errors and test failures. Use when encountering issues."
- "Validates completed work. Use after tasks are marked done."
Phrases that encourage automatic delegation:
- "Use proactively when..."
- "Always use for..."
- "Automatically delegate when..."
model (optional)
model: inherit # Uses same model as parent (default)
model: fast # Uses fast model for quick tasksreadonly (optional)
readonly: true # Restricts write permissions3. Write the Subagent Prompt
Define:
1. Identity: "You are an [expert]..." 2. When invoked: Context of use 3. Process: Specific steps to follow 4. Expected output: Format and content
Template:
You are an [expert in X] specialized in [Y].
When invoked:
1. [First action]
2. [Second action]
3. [Third action]
[Detailed instructions about approach]
Report [type of result]:
- [Specific format]
- [Information to include]
- [Metrics or criteria]
[Philosophy or principles to follow]Common Subagent Patterns
1. Verification Agent
Purpose: Independently validates that completed work actually works.
---
name: verifier
description: Validates completed work. Use after tasks are marked done.
model: fast
---
You are a skeptical validator.
When invoked:
1. Identify what was declared as complete
2. Verify the implementation exists and is functional
3. Execute tests or relevant verification steps
4. Look for edge cases that may have been missed
Be thorough. Report:
- What was verified and passed
- What is incomplete or broken
- Specific issues to address2. Debugger
Purpose: Expert in root cause analysis.
---
name: debugger
description: Debugging specialist. Use when encountering errors or test failures.
---
You are a debugging expert.
When invoked:
1. Capture the error message and stack trace
2. Identify reproduction steps
3. Isolate the failure location
4. Implement minimal fix
5. Verify the solution works
For each issue, provide:
- Root cause explanation
- Evidence supporting the diagnosis
- Specific code fix
- Testing approach3. Security Auditor
Purpose: Security expert auditing code.
---
name: security-auditor
description: Security specialist. Use for auth, payments, or sensitive data.
---
You are a security expert.
When invoked:
1. Identify security-sensitive code paths
2. Check for common vulnerabilities
3. Confirm secrets are not hardcoded
4. Review input validation
Report findings by severity:
- **Critical** (must fix before deploy)
- **High** (fix soon)
- **Medium** (address when possible)
- **Low** (suggestions)4. Code Reviewer
Purpose: Code review with focus on quality.
---
name: code-reviewer
description: Code review specialist. Use when changes are ready for review.
---
You are a code review expert.
When invoked:
1. Analyze the code changes
2. Check readability, performance, patterns, error handling
3. Identify code smells and potential bugs
4. Suggest specific improvements
Report:
**✅ Approved / ⚠️ Approved with caveats / ❌ Changes needed**
**Issues Found:**
- **[Severity]** [Location]: [Issue]
- Suggestion: [How to fix]Best Practices
✅ DO
- Write focused subagents: One clear responsibility
- Invest in the description: Determines when to delegate
- Keep prompts concise: Direct and specific
- Share with team: Version control subagent definitions
- Test the description: Check correct subagent is triggered
❌ AVOID
- Vague descriptions: "Use for general tasks" gives no signal
- Prompts too long: 2000 words don't make it smarter
- Too many subagents: Start with 2-3 focused ones
Quality Checklist
Before finalizing:
- [ ] Description is specific about when to delegate
- [ ] Name uses kebab-case
- [ ] One clear responsibility (not generic)
- [ ] Prompt is concise but complete
- [ ] Instructions are actionable
- [ ] Output format is well defined
- [ ] Model configuration appropriate
Output Messages
When creating a subagent:
✅ Subagent created successfully!
📁 Location: .agent/subagents/[name].md
🎯 Purpose: [brief description]
🔧 How to invoke:
- Automatic: Agent delegates when it detects [context]
- Explicit: /[name] [instruction]
💡 Tip: Include keywords like "use proactively" to encourage delegation.Related skills
How it compares
Use subagent-creator for portable subagent architecture; switch to cursor-subagent-creator when the target runtime is Cursor-specific subagent configuration.
FAQ
What is subagent-creator for?
subagent-creator from tech-leads-club/agent-skills guides developers in building specialized subagents—verifiers, debuggers, orchestrators—with isolated context for complex multi-step workflows. It works with any agent supporting subagent delegation.
When should subagent-creator not be used?
subagent-creator should not be used for Cursor-specific subagent configuration; the skill documentation directs those cases to cursor-subagent-creator instead. subagent-creator targets agent-agnostic delegation architecture patterns.