agent-creator

agent-creator is a skill for Claude Code from anilcancakir/claude-code. It costs 32 tokens per session (3,298 once invoked), scanned A, original, MIT.

A guide for designing and reviewing custom coding-agent worker definitions. These definitions control how delegated agents use tools, choose models, retain memory, load skills, and isolate their work.

In plain words
What is it for?
Use it to create or fix agent files, set tool and permission rules, choose execution settings, preload skills, and configure isolated worktrees.
Why use it?
It helps prevent workers from having unsuitable permissions, missing context, unclear instructions, or unsafe shared access to the main checkout.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ac plugin — 6 skills, 10 hooks shipped together

Good fit Use it to create or fix agent files, set tool and permission rules, choose execution settings, preload skills, and configure isolated worktrees.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add anilcancakir/claude-code
Claude Code
/plugin install ac

Made for: Claude Code.

Or install ac, the plugin that ships this one along with the rest of its 6 skills, 10 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/anilcancakir/claude-code/agent-creator/github.svg)](https://agentmods.dev/skills/anilcancakir/claude-code/agent-creator)
Your own site
<a href="https://agentmods.dev/skills/anilcancakir/claude-code/agent-creator"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code/agent-creator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/anilcancakir/claude-code/agent-creator"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code/agent-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,298 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.03298
Opus 5.5 $0.00013 $0.01319
Sonnet 5.5 $0.00006 $0.00660
Haiku 4.5 $0.00003 $0.00330

Measured 29d ago against content hash 12fa5df7d6d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ac/skills/agent-creator/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Creator

An agent is a markdown file: the frontmatter sets its tools, model and runtime; the body becomes its whole system prompt. The parent calls the Agent tool with subagent_type, a prompt and optional description, model, effort, run_in_background or isolation; the agent runs in a fresh context and only its final message returns to the parent.

Route the body's wording through ac:prompt-writer and its shape through the five-section pattern below.

Rules that hold for every agent

  1. The body is the whole system prompt. The main thread's persona, tone and Claude Code's built-in rules do not reach a subagent; every rule it follows lives in its body. CLAUDE.md does reach it unless omitClaudeMd: true.
  2. Context isolation is the value. The parent sees only the final message, so the Output Format is a locked contract it can act on without follow-up.
  3. Minimal frontmatter. name and description are required; add any other field only when you can name the condition.
  4. Decide nesting on purpose. A denylist inherits the Agent tool and, on current Opus models, the agent will spawn children; an allowlist without Agent cannot.
  5. Plugin agents are restricted. They ignore permissionMode, hooks, mcpServers and initialPrompt; an agent that needs them ships as a user or project agent.
  6. Plain wording, scope in both directions. No caps; name what the agent does and where it stops.

Decision flow

Is a custom subagent the right tool?
├── A built-in agent already fits → use it (on an `/ac:install` setup Explore and Plan are disabled; use `ac:explore` or `general-purpose`).
├── A repeatable procedure with no need for isolation → a skill, via `ac:skill-creator`.
├── A user-typed `/name [args]` workflow → a skill, via `ac:skill-creator`; a `context: fork` skill can run it in an agent.
├── Must happen deterministically → a hook, via `update-config`.
├── A standing fact → CLAUDE.md or a rule, via `ac:claude-md-rules-creator`.
└── Recurring work that benefits from its own context, tools or model → an agent. Continue.

Where does it live?
├── Project → `.claude/agents/<name>.md` (commit to share)
├── Personal → `~/.claude/agents/<name>.md`
├── Plugin → `<plugin>/agents/<name>.md`, addressed as `<plugin>:<name>`
├── Org-wide → managed directory
└── One run → the `--agents` JSON flag

Auditing an existing agent? → `${CLAUDE_SKILL_DIR}/references/anti-patterns.md` first.

Read the full file on GitHub · 182 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago Changed 12fa5df7d6d9
  2. 1mo ago Changed · -41 lines 24d29531e7e0
  3. 1mo ago Changed · -214 lines eeff95590a05
  4. 1mo ago Changed 2efb604e2876
  5. 1mo ago Changed · +2 lines 7f4aeaf6d6d0
  6. 2mo ago Changed 40394b65c9be
  7. 2mo ago Changed · -10 tokens per session 33bffd26a71f
  8. 2mo ago Changed · -104 tokens per session 6be9f03b1333
  9. 3mo ago First seen · 435 lines · 146 tokens per session scan A f493a000531e

Subscribe to this mod's changes

agent-creator is a skill published in the GitHub repository anilcancakir/claude-code (4 stars, last pushed 7d ago), licensed MIT. It adds 32 tokens to every session and 3,298 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

agent-creator compared with skills from other repositories

agent-creator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-creatoranilcancakir/claude-codeSkill47d agoMITA32Claude Code
researcherbitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A38Claude Code
sheet-music-publisherbitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A36Claude Code
validate-albumbitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A33Claude Code
promote-ideabitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A50Claude Code
import-artbitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A32Claude Code
plagiarism-checkerbitwize-music-studio/claude-ai-music-skillsSkill7244d agoCC0-1.0A35Claude Code