agent-creator

Create specialized Claude Code agents with YAML frontmatter and tool permissions.

13|2|Updated Aug 9, 2025
One-click install
npx skills add https://github.com/petbrains/mvp-builder --skill agent-creator-petbrains
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-creator
Source: https://github.com/petbrains/mvp-builder/tree/main/.claude/skills/agent-creator
Command: npx skills add https://github.com/petbrains/mvp-builder --skill agent-creator-petbrains

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Enables crafting specialized Claude Code agents with YAML frontmatter and defined tool permissions.

Core Features & Use Cases

  • Template-based agent design
  • Domain expertise segmentation
  • YAML frontmatter validation standards

Quick Start

Create a new agent file at .claude/agents/<name>.md using the provided agent template.

Frequently Asked Questions about agent-creator

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

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

Create a new agent file in .claude/agents/ with YAML frontmatter defining metadata, tool permissions, and domain expertise, followed by the agent's prompt content. The frontmatter specifies the agent's name, description, available tools, and configuration rules.

What goes in an agent YAML template?

Agent YAML templates require frontmatter fields for agent identity, tool access rules, skill permissions, and domain context, structured in the template.md format. This ensures proper tool validation and capability segmentation across your subagents.

How do I structure domain expertise in agent YAML files?

Define domain expertise in the YAML frontmatter by specifying tool permissions, skill access, and contextual constraints for each agent. This segmentation allows specialized subagents to operate only within their intended scope and technical focus areas.

Can I validate agent YAML files before deploying them?

Agent YAML files must pass validation checks for correct frontmatter fields, proper Tools and Skills formatting, and adherence to template.md format rules. Use these validation standards to catch configuration errors early.

Do I need existing Claude Code agents to create new ones with templates?

No prerequisites are required; start by creating a new .claude/agents/<name>.md file using the agent template. The template provides the full YAML structure needed for frontmatter, tool permissions, and prompt configuration.

How do tool-access decision rules work in agent YAML?

Tool-access decision rules in YAML frontmatter define which tools each agent can invoke and under what conditions. These rules enforce permission boundaries and prevent unauthorized tool execution across your agent ecosystem.