david-li0406/meta-skill-evloving/subagents-knowledge

Claude Code and agent skill by david-li0406/meta-skill-evloving

Trust tier 3
  • community
Source check pending

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-knowledge

SKILL.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 TypePurposeWhen to Use
ExploreFast codebase explorationFile searches, pattern discovery, code analysis
PlanArchitecture planningImplementation strategy, breaking down tasks
General-PurposeFull capabilitiesComplex workflows, research + execution
BashCommand executionGit 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
  1. Use native tools when possible
  2. Limit parallel subagent spawns
  3. Keep tasks focused and specific
  4. Use context: fork judiciously

Layer Selection Decision

Need specialized autonomous workers?
β”œβ”€ Yes β†’ Use subagents
β”‚ β”œβ”€ Decision guide β†’ [when-to-use.md](references/when-to-use.md)
β”‚ └─ Coordination patterns β†’ [coordination.md](references/coordination.md)
└─ No β†’ Use skills or native tools

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:

markdown
---
name: my-agent
description: "Does something specific"
---
# My Agent
Agent instructions here...
2. Forked Skill (context: fork)

Use for task-specific isolation:

yaml
---
name: my-worker
description: "Does isolated work"
context: fork
agent: Explore
---
  • 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:

  1. [Determine if subagents are needed](references/when-to-use.md) - Decision framework
  2. [Coordinate multiple subagents](references/coordination.md) - Patterns and state management
  3. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/david-li0406/meta-skill-evloving/subagents-knowledge/badge)](https://verified-skill.com/skills/david-li0406/meta-skill-evloving/subagents-knowledge)

Something wrong with this skill or its page? Tell us.