subagent-creator

Create and configure Claude Code subagents with YAML frontmatter templates.

11|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/Takazudo/claude-resources --skill subagent-creator-takazudo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagent-creator
Source: https://github.com/Takazudo/claude-resources/tree/main/skills/subagent-creator
Command: npx skills add https://github.com/Takazudo/claude-resources --skill subagent-creator-takazudo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create new Claude Code custom agents (subagents) to enable delegation and specialized automation. Use when: (1) User wants to create a new custom agent, (2) User says 'create agent', 'new agent', 'make subagent', (3) User wants a specialized agent for delegation. Covers: agent file format, YAML frontmatter fields, tool restrictions, model selection, permission modes, persistent memory, and placement.

Core Features & Use Cases

  • Frontmatter fields: name, description, model, tools, disallowedTools, permissionMode, maxTurns, skills, mcpServers, hooks, memory, color.
  • Workflow: understand purpose, choose appropriate settings (model, tools, memory, permissions), create the agent file with a template, and verify frontmatter syntax and placement.
  • Templates & Placement: provides a YAML frontmatter template and guidance for placing agent files under ~/.claude/agents/ (global) or .claude/agents/ (project-specific).
  • Restrictions: subagents cannot spawn other subagents; keep body focused to serve as the system prompt for the agent.

Quick Start

Create a new agent file with a YAML frontmatter template at the appropriate claude agents directory and fill in the name, description, and optional fields.

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 custom subagent in Claude Code for task delegation?

To create a custom subagent in Claude Code, you generate a markdown file with YAML frontmatter defining its name, description, model, and tools, then place it in the `.claude/agents` directory for project scope or `~/.claude/agents` for global access.

What YAML frontmatter fields are available for Claude Code subagents?

Claude Code subagent frontmatter fields include name, description, model, tools, disallowedTools, permissionMode, maxTurns, skills, mcpServers, hooks, memory, and color, allowing granular control over agent capabilities and behavior.

How do I restrict tool access when configuring a Claude Code agent?

You restrict tool access for a Claude Code agent by using the `tools` and `disallowedTools` fields in the YAML frontmatter to explicitly permit or deny specific utilities during task execution.

Can a Claude Code subagent spawn other subagents for nested workflows?

No, a Claude Code subagent cannot spawn other subagents. This restriction prevents nested delegation, so you must design each agent body to function independently as a focused system prompt.

Does configuring persistent memory for Claude Code agents require special setup?

Configuring persistent memory for Claude Code agents requires no special setup; you simply define the memory parameters within the YAML frontmatter of the agent file during the creation process.

What is the difference between global and project-specific agent placement?

Global agents are placed in `~/.claude/agents` and are available across all projects, while project-specific agents are placed in `.claude/agents` and their configurations only apply to the current project directory.