Claude Subagents Creator

VerifiedSafe

Provides a structured guide for defining, delegating to, and improving Claude subagents, including a mandatory 7-section format for delegation prompts. Helps when creating new subagent types, learning orchestration patterns, or debugging ineffective subagent usage.

Sby Skills Guide Bot
DevelopmentIntermediate
6/2/2026
Claude Code
#subagents#delegation#orchestration#claude#prompt-engineering

Recommended for

Automated summary

A guide for defining and using Claude subagents effectively with structured delegation templates.

Strengths

  • Mandatory 7-section delegation structure that eliminates ambiguity
  • Support for background tasks with explore and librarian subagents
  • Explicit tool whitelist preventing unauthorized tool use
  • Reusable patterns for defining new specialized subagents

Limitations

  • Requires upfront effort to define each subagent
  • Can be overkill for simple tasks that don't warrant delegation
  • Depends on the quality of existing subagent definitions
When to use it

When delegating complex, multi-step tasks to specialized agents where precise context and constraints are critical.

When not to use it

For simple one-step queries or trivial actions that can be performed directly without a subagent.

Security analysis

Safe
Quality score85/100

The skill contains only documentation and guidance for using AI subagents, with no executable commands, destructive actions, or data exfiltration risks.

No concerns found

How this analysis is made

Examples

Create a new subagent for database migrations
I need to define a new subagent called 'migration-engineer' that specializes in database schema changes. Use the subagent definition template and include required tools: Read, Write, SqlRun. The subagent should focus on SQL migrations and rollback planning.
Delegate code exploration with structured prompt
Background the explore subagent to find all API routes in the project. Use the 7-section structure: TASK, EXPECTED OUTCOME, REQUIRED SKILLS (explore), REQUIRED TOOLS (Grep, Read), MUST DO (search for 'router.get', 'router.post', etc.), MUST NOT DO (modify files), CONTEXT (working in ./src/routes).
Debug a subagent delegation that failed
My subagent delegation for 'oracle' on the architecture decision keeps returning vague results. Check the common pitfalls and suggest improvements to the MUST DO and MUST NOT DO sections of my prompt.

name: subagents-creator description: Guide for defining and using Claude subagents effectively. Use when (1) creating new subagent types, (2) learning how to delegate work to specialized subagents, (3) improving subagent delegation prompts, (4) understanding subagent orchestration patterns, or (5) debugging ineffective subagent usage.

Subagents Creator

This skill provides guidance for defining, using, and improving Claude subagents—the specialized agents that handle specific domains like explore, librarian, oracle, and frontend-ui-ux-engineer.

Quick Start

Delegating Work

When delegating to subagents, use the mandatory 7-section structure:

1. TASK: Atomic, specific goal (one action per delegation)
2. EXPECTED OUTCOME: Concrete deliverables with success criteria
3. REQUIRED SKILLS: Which skill to invoke
4. REQUIRED TOOLS: Explicit tool whitelist (prevents tool sprawl)
5. MUST DO: Exhaustive requirements - leave NOTHING implicit
6. MUST NOT DO: Forbidden actions - anticipate and block rogue behavior
7. CONTEXT: File paths, existing patterns, constraints

Choosing a Subagent

See subagent-types.md for detailed guidance on which subagent to use:

  • explore: Contextual grep for codebases
  • librarian: Reference search (docs, OSS, web)
  • oracle: Deep reasoning for architecture/complex decisions
  • frontend-ui-ux-engineer: Visual UI/UX changes

Defining New Subagents

Only create subagents when: The task domain has distinct tooling, expertise, or patterns that benefit from specialization.

See delegation-patterns.md for:

  • Subagent definition templates
  • When to create a new subagent vs using existing ones
  • Naming and description guidelines

Common Pitfalls

See common-pitfalls.md for:

  • Vague delegation prompts and why they fail
  • Over-delegating trivial tasks
  • Subagent misalignment with task type
  • Anti-patterns in agent orchestration

Best Practices

  1. One action per delegation: Combine tasks in parallel calls, not one call
  2. Be exhaustive: "MUST DO" and "MUST NOT DO" sections prevent drift
  3. Background everything: Use background_task for explore and librarian
  4. Explicit tool lists: Prevent subagents from using unauthorized tools
  5. Verify results: Check that delegated work meets expectations before proceeding

Delegation Example

# GOOD: Specific, exhaustive
background_task(
    agent="explore",
    prompt="""
    1. TASK: Find all authentication implementations
    2. EXPECTED OUTCOME: List of files with auth logic, patterns used
    3. REQUIRED SKILLS: explore
    4. REQUIRED TOOLS: Grep, Read
    5. MUST DO: Search for 'jwt', 'session', 'auth' patterns; identify middleware; list all endpoints
    6. MUST NOT DO: Don't modify any files; don't run build/test commands
    7. CONTEXT: Working in ./src directory, looking for Express.js patterns
    """
)

# BAD: Vague, implicit expectations
background_task(
    agent="explore",
    prompt="Find auth stuff in the codebase"
)

Reference Files

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/claude-subagents-creator-mm5t89wk/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/claude-subagents-creator-mm5t89wk' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/claude-subagents-creator-mm5t89wk/download' --output '.skill-downloads/claude-subagents-creator-mm5t89wk/SKILL.md.part' && mv '.skill-downloads/claude-subagents-creator-mm5t89wk/SKILL.md.part' '.skill-downloads/claude-subagents-creator-mm5t89wk/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/claude-subagents-creator-mm5t89wk/SKILL.md' && test -s '.skill-downloads/claude-subagents-creator-mm5t89wk/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/subagents-creator' && cp -R '.skill-downloads/claude-subagents-creator-mm5t89wk' '.claude/skills/subagents-creator'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/claude-subagents-creator-mm5t89wk'

openskills read 'claude-subagents-creator-mm5t89wk'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/claude-subagents-creator-mm5t89wk/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills