Skip to content

Guide for building isolated-context subagents that handle verification, debugging, auditing, and review workflows.

CCM score
60 of 100
skills.sh installs
983
GitHub stars
7.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers when to use a subagent versus a skill, plus the markdown structure and frontmatter fields (name, description, model, readonly)
  • Includes templates for four patterns: verifier, debugger, security auditor, and code reviewer, each with a sample prompt
  • Explains how to write descriptions that trigger automatic delegation, using phrases such as "Use proactively when..."
  • Designed for agents that support subagent delegation; Cursor-specific subagents are redirected to a separate skill

Install

$ npx -y skills add tech-leads-club/agent-skills --skill subagent-creator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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 SKILL

Use 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:

Details

Repository
github.com/tech-leads-club/agent-skills
Categories
Skill & Plugin Building, Agent Workflow & Planning
First seen
Jun 3, 2026

More from tech-leads-club/agent-skills

All 22

Similar to Subagent Creator

More Skill & Plugin Building