subagent-creator

Creates agent-agnostic subagent definitions with isolated context for multi-step workflows.

Updated Sep 15, 2026
One-click install
npx skills add https://github.com/Peterson-Benhame/agent-skills --skill subagent-creator-peterson-benhame
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagent-creator
Source: https://github.com/Peterson-Benhame/agent-skills/tree/main/packages/skills-catalog/skills/%28creation%29/subagent-creator
Command: npx skills add https://github.com/Peterson-Benhame/agent-skills --skill subagent-creator-peterson-benhame

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Designing specialized AI subagents with proper delegation triggers, isolated context, and clear responsibilities is error-prone, often resulting in vague descriptions that never get invoked or bloated prompts that underperform. ## Core Features & Use Cases - Subagent Structure Guidance: Defines the markdown frontmatter format (name, description, model, readonly) required for subagent definitions. - Ready-Made Patterns: Provides templates for verifier, debugger, security auditor, and code reviewer subagents. - Delegation Optimization: Explains how to write descriptions with trigger phrases so agents automatically delegate to the right subagent. - Use Case: When building a complex feature, create a verifier subagent that independently validates completed work and a security auditor that reviews authentication code before deployment. ## Quick Start Ask the agent to create a verifier subagent that validates completed work using the subagent-creator skill.

Frequently Asked Questions about subagent-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a subagent for an AI coding agent?

Create a markdown file with frontmatter containing a kebab-case name, a description explaining when to delegate, and optional model and readonly fields. The body defines the subagent's identity, steps to follow when invoked, and expected output format.

When should I use a subagent instead of a skill?

Use a subagent when the task is complex with multiple steps and requires isolated context, such as verification, debugging, or parallel workstreams. Use a skill for quick one-off actions or reusable procedures that do not need context isolation.

How do I make an agent automatically delegate to a subagent?

Write a specific description stating exactly when the subagent should be used, and include trigger phrases like "use proactively when" or "always use for". Vague descriptions like "use for general tasks" prevent automatic delegation.

Does this subagent format work with Cursor?

This skill targets agent-agnostic subagent definitions and explicitly excludes Cursor-specific subagents. For Cursor, use the dedicated cursor-subagent-creator skill instead.

What are common mistakes when writing subagent prompts?

Common mistakes include vague delegation descriptions, overly long prompts, and creating too many unfocused subagents. Best practice is one clear responsibility per subagent, concise actionable instructions, and starting with two or three focused agents.