agent-creator

Create and validate Claude Code custom agent markdown files with scoped tools and models.

1|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/kubrickcode/cine-mirror --skill agent-creator-kubrickcode
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agent-creator
Source: https://github.com/kubrickcode/cine-mirror/tree/main/.agents/skills/agent-creator
Command: npx skills add https://github.com/kubrickcode/cine-mirror --skill agent-creator-kubrickcode

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Writing effective Claude Code subagents requires getting frontmatter configuration, system prompt structure, tool scoping, and model selection right, and mistakes lead to agents that never trigger or misbehave. ## Core Features & Use Cases - Guided Agent Authoring: Step-by-step process covering frontmatter fields, description triggers, tool allowlists, and model selection (haiku, sonnet, opus, inherit). - Template Initialization: Run init_agent.py to scaffold a new agent markdown file with proper frontmatter and TODO placeholders. - Automated Validation: Run validate_agent.py to check YAML frontmatter, description quality, tool names, and body structure conventions. - Use Case: You need a database optimization subagent. Use this Skill to define its description triggers, scope its tools to Read/Grep/Bash, pick the sonnet model, and validate the result before delegating real tasks. ## Quick Start Create a new Claude Code agent named query-optimizer in .claude/agents that specializes in slow SQL query analysis.

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 custom agent in Claude Code?▼

Create a markdown file in .claude/agents with YAML frontmatter containing name and description fields, followed by a system prompt body. Run init_agent.py to scaffold a template, fill in the TODO placeholders, then validate with validate_agent.py.

What tools should I assign to a Claude Code subagent?▼

Always specify the tools field explicitly, since omitting it inherits all tools. Use Read, Grep, Glob for read-only research agents, and add Write, Edit, Bash for implementation agents. Grant only what the agent's domain requires.

Which model should I choose for a Claude Code agent?▼

Use haiku for exploration and simple search tasks, sonnet for code review and implementation, and opus for architecture decisions and complex reasoning. The inherit option matches the user's session model and is the recommended default.

Why is my Claude Code agent not being triggered automatically?▼

Auto-triggering depends entirely on the description field, which Claude reads to decide delegation. Write action-oriented triggers like 'Use PROACTIVELY when...' with specific task scenarios instead of vague phrases like 'helps with databases'.

How do I validate a Claude Code agent file?▼

Run validate_agent.py with the path to your agent markdown file or agents directory. It checks frontmatter format, required fields, description quality, tool and model validity, and body structure conventions, reporting errors, warnings, and suggestions.