subagent-creator

Create and configure Claude Code subagents with YAML frontmatter and defined scope.

1|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/dmitriiweb/skills --skill subagent-creator-dmitriiweb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagent-creator
Source: https://github.com/dmitriiweb/skills/tree/main/subagent-creator
Command: npx skills add https://github.com/dmitriiweb/skills --skill subagent-creator-dmitriiweb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create, configure, and document Claude Code subagents to enable structured delegation with defined scope, tools, models, and hooks.

Core Features & Use Cases

  • Gather requirements: identify the subagent's purpose, delegation trigger, scope, and permission needs.
  • Create and configure: write a <agent-name>.md file with YAML frontmatter, define a focused system prompt, and load it on restart.
  • Validate and test: ensure naming conventions, scope uniqueness, and alignment with the intended trigger; verify behavior before production.

Quick Start

Create a new subagent by placing a markdown file named <agent-name>.md in the desired scope directory, add YAML frontmatter with required fields, write a focused system prompt in the body, and restart the session to load the new file.

Frequently Asked Questions about subagent-creator

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

FAQPage Schema
How do I create Claude Code subagents with YAML frontmatter?

You create Claude Code subagents by placing a markdown file named <agent-name>.md in the desired scope directory, adding YAML frontmatter with required fields, and writing a focused system prompt in the body to configure delegation.

What is the best way to configure tools and permissions for Claude Code subagents?

Configuring tools and permissions for Claude Code subagents is handled by defining tool whitelisting, models, and permission modes in the YAML frontmatter. This standardizes agent capabilities and enforces safe execution boundaries across projects.

How do I validate subagent configuration before loading it into a session?

You validate subagent configuration by checking naming conventions, scope uniqueness, and alignment with the intended trigger. This verification ensures the subagent behaves correctly before you restart the session to load the file.

Can I use hook-driven validation to enforce rules when creating subagents?

Yes, hook-driven validation is supported during subagent creation. You can define hooks in the YAML frontmatter to enforce standardized configuration rules and ensure safe execution before the agent is loaded into the environment.

What scope and model settings do I need to set up task delegation in Claude Code?

Setting up task delegation requires defining scope selection, models, and tools in the YAML frontmatter. This determines what the subagent can access and how it processes delegated tasks within your projects.

Why is my Claude Code subagent not loading after I create the markdown file?

Claude Code subagents are loaded on session restart. If your subagent is not loading, verify the YAML frontmatter fields, ensure the file is named <agent-name>.md in the correct scope directory, and restart the session to load the new configuration.