Agent skill · Workflow & Productivity

create-subagent

This skill should be used when creating custom subagents for Claude Code, configuring specialized AI assistants, or when the user asks about agent creation, agent configuration, or delegating tasks to subagents. Covers both file-based agents and Task tool invocation.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill create-subagent-cygnusfear-claude-stuff --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 13 KB
Bundled scripts: none
Path: skills/agent/create-subagent-cygnusfear-claude-stuff/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Create Subagent This skill provides comprehensive guidance for creating and configuring subagents in Claude Code. ## Understanding Subagents Subagents are specialized AI assistants that Claude Code can delegate tasks to. Each subagent: - Operates in its own context window (preserving main conversation context) - Has a specific purpose and expertise area - Can be configured with specific tools and permissions - Includes a custom system prompt guiding its behavior ### When to Create Subagents **Create a subagent when:** - Tasks require specialized expertise that benefits from focused instructions - Context preservation is important (subagents don't pollute main context) - The same specialized workflow is needed repeatedly - Different tool permissions are needed for different tasks - Parallel execution of independent tasks is desired **Choose skills instead when:** - The capability extends Claude's knowledge without needing separate context - No specialized agent persona is needed - Tool restrictions are sufficient without full agent isolation **Choose slash commands when:** - Users need explicit control over when to invoke functionality - The workflow should be user-initiated, not

What's inside
Steps it walks through
  1. Understanding Subagents
  2. When to Create Subagents
  3. Two Approaches to Subagents
  4. Approach 1: File-Based Agents
  5. Approach 2: Task Tool Invocation
  6. Configuration Reference
  7. Required Fields
  8. Optional Fields
  9. Permission Modes
  10. Available Tools
  11. Creating a Subagent
  12. Step 1: Define the Purpose
  13. Step 2: Choose the Approach
  14. Step 3: Write the System Prompt
Ships with 1 file
  • metadata.json
Commands it runs
claude --agents '{
mkdir -p .claude/agents
Create .claude/agents/my-agent.md with frontmatter
mkdir -p ~/.claude/agents
Create ~/.claude/agents/my-agent.md with frontmatter
More from claude-skill-registry
All skills →
About this skill
What does the create-subagent skill do?

This skill should be used when creating custom subagents for Claude Code, configuring specialized AI assistants, or when the user asks about agent creation, agent configuration, or delegating tasks to subagents. Covers both file-based agents and Task tool invocation.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill create-subagent-cygnusfear-claude-stuff --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going