mod-creator

mod-creator is an agent for Claude Code from kochetkov-ma/claude-brewcode. It costs 29 tokens per session (2,531 once invoked), scanned A, original, MIT.

An agent for creating and maintaining Claude Code add-ons called mods. It covers implementation, tests, validation, packaging, and checks against the add-on API.

In plain words
What is it for?
Use it to create, test, ship, or update Claude Code mods and to report validation, type-checking, plugin-test, and live-load results.
Why use it?
It gives mod work a defined process and requires the relevant checks before reporting a result. Claude Code is a coding assistant that can be extended with plugins and hooks.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; reads .claude/ paths; mentions .claude-plugin.

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 brewcode plugin — 4 skills, 7 agents shipped together

Good fit Use it to create, test, ship, or update Claude Code mods and to report validation, type-checking, plugin-test, and live-load results.

Compare 6 agents 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 kochetkov-ma/claude-brewcode
Claude Code
/plugin install brewcode

Made for: Claude Code.

Or install brewcode, the plugin that ships this one along with the rest of its 4 skills, 7 agents.

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 mod-creator

README.md
[![agentmods](https://agentmods.dev/badge/agents/kochetkov-ma/claude-brewcode/mod-creator/github.svg)](https://agentmods.dev/agents/kochetkov-ma/claude-brewcode/mod-creator)
Your own site
<a href="https://agentmods.dev/agents/kochetkov-ma/claude-brewcode/mod-creator"><img src="https://agentmods.dev/badge/agents/kochetkov-ma/claude-brewcode/mod-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 mod-creator

Your own site · 80×15
<a href="https://agentmods.dev/agents/kochetkov-ma/claude-brewcode/mod-creator"><img src="https://agentmods.dev/badge/agents/kochetkov-ma/claude-brewcode/mod-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,531 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.00029 $0.02531
Opus 5.5 $0.00012 $0.01012
Sonnet 5.5 $0.00006 $0.00506
Haiku 4.5 $0.00003 $0.00253

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

Security

Grade A, and why

mod-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 7d 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.

brewcode/agents/mod-creator.md · 106 lines

How it starts

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

[DICT: CC=Claude Code, PLG=plugin, TF=live types file]

Mod Creator

Create, test, ship and maintain CC mods (hooks-module PLGs, early access) and keep reference pack current against each CC build. The engine's types, validate and plugin test decide what API accepts, not memory.

Ref ver: verified_on of the 5 references mods-*.md | drift check mods-ref-check.mjs.

Return contract

Verdict first, <=30 lines, path:line refs. Never paste module bodies, TF excerpts, debug logs or preamble, with or without return guard. Report per mod:

=== MOD ===  Path | Role (one line) | CC version
Step 0: verdict line of mods-ref-check (rc) | DRIFT rows, each loud (first 10 inline; rest + count in report file) | `NOT RUN (<reason>)`
Gates (rc, unpiped): validate --strict | tsc | plugin test | live (-p, stderr has no `hooks module did not load`)
Assumptions | gates not run, with reason

Logs and failing runs go to .claude/reports/YYYYMMDD-HHMMSS_mod-creator/; return path. An installed agent-return guard blocks return over ~2500 est-tokens (chars/4); over ~6000 file detail and return path + verdict + <=3 lines.

Scope and never

Size task first: one deliverable, ~5 files, ~10 steps. More, or several independent deliverables -> stop, return split proposal (2-N subtasks, scope + owner each); mid-flight, stop at next clean boundary, report done/remaining/split. Brief missing GOAL, SCOPE, CONTEXT, CONSUMER or acceptance -> state assumption, return question to caller; never invent scope.

maxTurns: 80 is anti-loop stop, not budget. After each finished milestone (scaffold, module, gates green, ship step) append path + gate rcs to .claude/reports/YYYYMMDD-HHMMSS_mod-creator/report.md; on resume read it first.

Scope Fit

Build for the actual scale and the problems that exist today; !=imagined load, !=speculative abstraction. After finishing, one pass: can this be simpler -- fewer files, less config, less indirection? Etalon-first: before writing a new mod, find the closest well-built existing mod (repo mod dir, else skill examples/) and take its principles. ADDITIVE to conventions/rules/docs, !=a replacement.

Read the full file on GitHub · 106 lines

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. 7d ago Changed 9e5dfab99eb9
  2. 8d ago Changed 9b0ebcd650fa
  3. 10d ago Changed e09f4cbdec3e
  4. 11d ago Changed f21f31030194
  5. 12d ago Changed ac6c6e00e7b4
  6. 13d ago Changed 84fa56e1bf1d
  7. 19d ago Changed bc2f3aa28f38
  8. 20d ago Changed 0d18dee5d80f
  9. 25d ago Changed 5b3695cfcf32
  10. 28d ago First seen · 106 lines · 29 tokens per session scan A be18de86c2ea

Subscribe to this mod's changes

mod-creator is an agent published in the GitHub repository kochetkov-ma/claude-brewcode (41 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 2,531 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-10-15.

Related

mod-creator compared with agents from other repositories

mod-creator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mod-creatorkochetkov-ma/claude-brewcodeAgent41yesterdayMITA29Claude Code
scoutegorfedorov/claude-context-optimizerAgent1377d agoMITA63Claude Code
visual-fixer-pagelukaskellerstein/claude-my-marketplaceAgent313d agononeA170Claude Code
demo-researcherlukaskellerstein/claude-my-marketplaceAgent313d agononeA147Claude Code
dead-code-analyzerlukaskellerstein/claude-my-marketplaceAgent313d agononeA160Claude Code
demo-capture-operatorlukaskellerstein/claude-my-marketplaceAgent313d agononeA178Claude Code
demo-remotion-builderlukaskellerstein/claude-my-marketplaceAgent313d agononeA171Claude Code