david-li0406/meta-skill-evloving/subagents-knowledge
Claude Code and agent skill by david-li0406/meta-skill-evloving
- community
Checking that the SKILL.md file is still in the repository.
Complete guide to subagents for project-scoped workers in Claude Code. Use when creating .claude/agents/*.md files or adding context: fork to skills. Do not use for standalone plugin agent development.
Install
npx vskill@latest install david-li0406/meta-skill-evloving/subagents-knowledgeSKILL.md
The same SKILL.md was published earlier as david-li0406/meta-skill-evloving/subagents-knowledge.
Subagents Knowledge Base
Complete subagents knowledge base for project-scoped Claude Code workers. Access comprehensive guidance on when to use subagents, how to create .claude/agents/*.md files, and coordinate multiple subagents effectively.
π¨ MANDATORY: Read BEFORE Using Subagents
CRITICAL: You MUST read and understand these URLs:
Primary Documentation (MUST READ)
- [MUST READ] Official Subagents Guide: https://code.claude.com/docs/en/sub-agents
- Tool:
mcp__simplewebfetch__simpleWebFetch - When to Read: Before any subagent creation
- Content: Agent coordination, state management, autonomy requirements
- Cache: 15 minutes minimum
- [MUST READ] Task Tool Documentation: https://code.claude.com/docs/en/cli-reference
- Tool:
mcp__simplewebfetch__simpleWebFetch - When to Read: Before using Task tool to invoke subagents
- Content: Task tool usage, subagent types, invocation patterns
- Cache: 15 minutes minimum
β οΈ BLOCKING RULES
- DO NOT proceed without understanding when subagents are appropriate
- MUST validate need for isolation before using subagents
- REQUIRED to understand cost implications
Progressive Disclosure Knowledge Base
This skill provides complete subagents knowledge through progressive disclosure:
Tier 1: Quick Overview
This SKILL.md provides the decision framework and quick reference.
Tier 2: Comprehensive Guides
Load full guides on demand:
- [when-to-use.md](references/when-to-use.md) - Decision guide for when to use subagents
- [coordination.md](references/coordination.md) - Coordination patterns and state management
Tier 3: Deep Reference
Individual reference files provide complete implementation details.
Quick Start
New to Subagents?
Start with [when-to-use.md](references/when-to-use.md) to determine if subagents are right for your use case.
Coordinating Multiple Subagents?
See [coordination.md](references/coordination.md) for coordination patterns and state management strategies.
Subagent Types Quick Reference
| Agent Type | Purpose | When to Use | |
|---|---|---|---|
| Explore | Fast codebase exploration | File searches, pattern discovery, code analysis | |
| Plan | Architecture planning | Implementation strategy, breaking down tasks | |
| General-Purpose | Full capabilities | Complex workflows, research + execution | |
| Bash | Command execution | Git operations, terminal tasks |
Context: Fork Scenarios (2026)
Use context: fork when:
- High-volume output: Extensive grep, repo traversal, large log analysis
- Noisy exploration: Multi-file searches, deep code analysis
- Isolation benefits: Separate context window, clean result handoff
Cost Considerations (2026)
Budget Targets
- Target: <$50 per 5-hour session
- Warning: >$75 per 5-hour session
- Critical: >$100 per 5-hour session
Optimization Strategies
- Use native tools when possible
- Limit parallel subagent spawns
- Keep tasks focused and specific
- Use context: fork judiciously
Layer Selection Decision
Key Principles
Use Subagents When
- Complex multi-step tasks requiring focus
- Need isolation from main conversation
- High-volume output (extensive grep, repo traversal)
Project-Scoped Subagent Configuration
Target Directory: ${CLAUDE_PROJECT_DIR}/.claude/agents/
Two Approaches:
1. Reusable Agent File (.claude/agents/<name>.md)
Use for specialized workers used across multiple skills:
2. Forked Skill (context: fork)
Use for task-specific isolation:
- Noisy exploration that would clutter conversation
- Parallel execution needed
- Long-running tasks
- Domain-specific expertise required
Don't Use Subagents For
- Simple file operations (use Read, Grep, Glob)
- Direct file reads (use Read tool)
- Basic searches (use Grep, Glob)
- Single-step operations
- Tasks requiring conversation context
- User interaction workflows
- Quick lookups
Next Steps
Choose your path:
- [Determine if subagents are needed](references/when-to-use.md) - Decision framework
- [Coordinate multiple subagents](references/coordination.md) - Patterns and state management
- Review layer selection - Consider if skills would be more appropriate
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill-flow/data/skills-refined-skillclaw-36k/skillsmp/subagents-knowledge/SKILL.md
Popularity
- Repository stars
- 2
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/david-li0406/meta-skill-evloving/subagents-knowledge)