create-subagent

Create reusable AI subagents with YAML frontmatter and system-prompt bodies.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/darthlinuxer/dialectic-crew-ai --skill create-subagent-darthlinuxer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-subagent
Source: https://github.com/darthlinuxer/dialectic-crew-ai/tree/main/src/mcp/skills/create-subagent
Command: npx skills add https://github.com/darthlinuxer/dialectic-crew-ai --skill create-subagent-darthlinuxer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating consistent, reusable AI subagents can be tedious without a standard structure; this skill guides you to scaffold subagents with a standardized YAML frontmatter and a system-prompt body.

Core Features & Use Cases

  • Workflow-driven creation: defines the required frontmatter, supports workspace- and user-level scopes, and provides a repeatable template for new subagents.
  • Prompts and organization: shows how to structure the frontmatter and the body to clearly specify when the subagent should be invoked, its duties, and its constraints.
  • Real-world examples: supports subagents like code-reviewer, debugger, and data-scientist to handle domain-specific tasks and reuse configurations across projects.

Quick Start

Create a new project-level subagent by placing a Markdown file with YAML frontmatter in .claude/agents, then fill the body with a precise system prompt.

Frequently Asked Questions about create-subagent

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

FAQPage Schema
How do I create reusable AI subagents with consistent YAML frontmatter?▼

To create reusable AI subagents, you scaffold a Markdown file with standardized YAML frontmatter containing name and description fields, then fill the body with a precise system prompt defining invocation criteria, duties, and constraints.

What is the required file structure for setting up a project-level AI subagent?▼

The required file structure for a project-level AI subagent is a Markdown file placed in the .claude/agents directory, featuring YAML frontmatter and a system-prompt body that supports optional scripts, references, and assets.

Can I use subagents to automate domain-specific tasks like code review and debugging?▼

Yes, you can use subagents to automate domain-specific tasks like code review and debugging by defining their specific duties and constraints in the system prompt, creating reusable assistants such as code-reviewers, debuggers, or data analysts.

What's the best way to manage version control for AI subagent configurations?▼

The best way to manage version control for AI subagent configurations is to follow the provided tested workflow, which includes setup, testing, and version-control guidelines to maintain consistent system prompts and frontmatter across project-level and user-level scopes.

Does the subagent template support both workspace-level and user-level scopes?▼

Yes, the subagent template supports both workspace-level and user-level scopes, allowing you to apply domain-specific assistants across multiple projects or isolate them to a single project workspace as needed.