Claude Agents Creator
Create a focused worker with a concrete trigger, capability boundary, and usable result. Default to a project-scoped Claude Code subagent for repository work; use Managed Agents when an application needs the hosted API harness.
For repository instructions use agent-md-creator; for reusable Agent Skills use skill-creator; for OpenCode workers use opencode-agent-creator.
Build the definition
- Establish the host, installed version, scope, task, and completion signal. Use an existing built-in worker when it already fits. Derive routine choices from the request; ask only for missing information that changes the result.
- Give the worker one responsibility. Put the concrete delegation trigger in a short
description; put workflow and output requirements in the body.
- Choose project
.claude/agents/, personal ~/.claude/agents/, or plugin agents/. Keep identities unique; check collision precedence and plugin restrictions in references/frontmatter-reference.md.
- Set the tools the work requires. For a reviewer that must not write, start with
Read, Grep, Glob; shell and MCP access can permit writes, and persistent memory can add write tools. A prose boundary alone does not restrict capabilities.
- Choose an available model alias or ID. Set
model: inherit when matching the parent is intended; an omitted field can resolve through other model settings. Add skills, memory, MCP, hooks, or isolation only when the task needs them.
- Write the body: role, required inputs, essential steps, completion criteria, and returned evidence. Keep stable conventions in the body or preloaded skills; pass the current task's files, constraints, and observations in the delegation message.
---
name: change-reviewer
description: Reviews a supplied change set and reports defects with file references. Use after implementation changes.
tools: Read, Grep, Glob
model: inherit
---
Review the supplied diff and affected files. Report defects with file:line,
impact, and a concrete correction. If no diff was supplied, name the missing
input and inspect the target files without invoking a shell. Do not edit files.
Context and delegation
A named subagent normally starts without the parent's conversation or previously read files. Preloaded skills: supply full skill content. An explicit conversation fork inherits the conversation; a skill's context: fork still starts a separate subagent without that history. Load the frontmatter reference when choosing between these modes, nested delegation, or worktree isolation.
Verify before handing back
- Check YAML, required identity/description, supported field spelling, available tools/model, and the intended discovery scope.
- Parse frontmatter with a strict YAML parser and check required fields. Run
claude plugin validate <path-to-agents-dir> for additional component lint; use a directory named agents. Its success does not establish valid YAML, routing, or effective permissions.
- Run a representative task and a plausible near miss; inspect the actual model, tool calls, result, and any partial completion. Name runtime checks that were not executed.
Load references/triggering-and-testing.md when checking discovery, delegation, capability boundaries, or reload behavior.
Load when needed
- references/frontmatter-reference.md: load when setting fields, permissions, model precedence, context, MCP, hooks, or CLI definitions.
- references/system-prompt-patterns.md: load when designing the body, delegation brief, or coordinator hand-off.
- references/managed-agents.md: load for hosted API agents, versioned sessions, events, or environment configuration.
- assets/agent-template.md: adapt when creating a Markdown definition.
- assets/examples/code-reviewer.md, debugger.md, safe-researcher.md, test-runner.md: load the example matching the requested worker.
1---2name: claude-agents-creator3description: "Create or revise Claude Code subagents or Claude Managed Agents, including definitions, delegation, permissions, and API sessions."4license: MIT5compatibility: "Claude Code Markdown subagents; reference baseline 2.1.293. Managed Agents use the separate Claude API beta contract."6metadata:7 source: https://skillmd.com/skills/aeondave/claude-agents-creator8 author: AeonDave9 version: "1.1"10---1112# Claude Agents Creator1314Create a focused worker with a concrete trigger, capability boundary, and usable result. Default to a project-scoped Claude Code subagent for repository work; use Managed Agents when an application needs the hosted API harness.1516For repository instructions use `agent-md-creator`; for reusable Agent Skills use `skill-creator`; for OpenCode workers use `opencode-agent-creator`.1718## Build the definition19201. Establish the host, installed version, scope, task, and completion signal. Use an existing built-in worker when it already fits. Derive routine choices from the request; ask only for missing information that changes the result.212. Give the worker one responsibility. Put the concrete delegation trigger in a short `description`; put workflow and output requirements in the body.223. Choose project `.claude/agents/`, personal `~/.claude/agents/`, or plugin `agents/`. Keep identities unique; check collision precedence and plugin restrictions in [references/frontmatter-reference.md](references/frontmatter-reference.md).234. Set the tools the work requires. For a reviewer that must not write, start with `Read, Grep, Glob`; shell and MCP access can permit writes, and persistent memory can add write tools. A prose boundary alone does not restrict capabilities.245. Choose an available model alias or ID. Set `model: inherit` when matching the parent is intended; an omitted field can resolve through other model settings. Add skills, memory, MCP, hooks, or isolation only when the task needs them.256. Write the body: role, required inputs, essential steps, completion criteria, and returned evidence. Keep stable conventions in the body or preloaded skills; pass the current task's files, constraints, and observations in the delegation message.2627```markdown28---29name: change-reviewer30description: Reviews a supplied change set and reports defects with file references. Use after implementation changes.31tools: Read, Grep, Glob32model: inherit33---3435Review the supplied diff and affected files. Report defects with file:line,36impact, and a concrete correction. If no diff was supplied, name the missing37input and inspect the target files without invoking a shell. Do not edit files.38```3940## Context and delegation4142A named subagent normally starts without the parent's conversation or previously read files. Preloaded `skills:` supply full skill content. An explicit conversation fork inherits the conversation; a skill's `context: fork` still starts a separate subagent without that history. Load the [frontmatter reference](references/frontmatter-reference.md#context-and-execution) when choosing between these modes, nested delegation, or worktree isolation.4344## Verify before handing back4546- Check YAML, required identity/description, supported field spelling, available tools/model, and the intended discovery scope.47- Parse frontmatter with a strict YAML parser and check required fields. Run `claude plugin validate <path-to-agents-dir>` for additional component lint; use a directory named `agents`. Its success does not establish valid YAML, routing, or effective permissions.48- Run a representative task and a plausible near miss; inspect the actual model, tool calls, result, and any partial completion. Name runtime checks that were not executed.4950Load [references/triggering-and-testing.md](references/triggering-and-testing.md) when checking discovery, delegation, capability boundaries, or reload behavior.5152## Load when needed5354- [references/frontmatter-reference.md](references/frontmatter-reference.md): load when setting fields, permissions, model precedence, context, MCP, hooks, or CLI definitions.55- [references/system-prompt-patterns.md](references/system-prompt-patterns.md): load when designing the body, delegation brief, or coordinator hand-off.56- [references/managed-agents.md](references/managed-agents.md): load for hosted API agents, versioned sessions, events, or environment configuration.57- [assets/agent-template.md](assets/agent-template.md): adapt when creating a Markdown definition.58- [assets/examples/code-reviewer.md](assets/examples/code-reviewer.md), [debugger.md](assets/examples/debugger.md), [safe-researcher.md](assets/examples/safe-researcher.md), [test-runner.md](assets/examples/test-runner.md): load the example matching the requested worker.