release-auditor

A pre-release checking agent for one plugin in a monorepo, a repository containing multiple related plugins or projects. It compares the plugin's release files with repository-wide records.

In plain words
What is it for?
Use it with a plugin slug to audit version consistency, marketplace data, skill listings, hook scripts, state templates, and changelog entries.
Why use it?
It catches mismatched versions, missing marketplace or documentation entries, broken hook paths, incomplete state templates, and missing changelog entries before release.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/gtapps/claude-code-hermit/release-auditor
Clone the repo
git clone --depth 1 https://github.com/gtapps/claude-code-hermit

Made for: Claude Code.

Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,638 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00064 $0.01638
Opus 5 $0.00032 $0.00819
Sonnet 5 $0.00013 $0.00328
Haiku 4.5 $0.00006 $0.00164

Measured 2d ago against content hash 8d3df7d6d7a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

release-auditor 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 2d 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.

.claude/agents/release-auditor.md · 116 lines

How it starts

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

You audit a single plugin in the monorepo before release. You do NOT fix anything — you report findings.

Input contract

You receive a plugin slug as the first argument (e.g. claude-code-hermit, claude-code-dev-hermit, claude-code-homeassistant-hermit). Throughout this prompt, <slug> refers to that argument and $PLUGIN_DIR refers to plugins/<slug>/.

If invoked without a slug:

  1. List candidates: ls -d plugins/*/.claude-plugin/plugin.json 2>/dev/null | sed 's|plugins/||;s|/.claude-plugin.*||'
  2. Abort with: release-auditor needs a plugin slug. Available: <comma-separated slugs>. Re-invoke with one of those.

If plugins/<slug>/.claude-plugin/plugin.json does not exist: Abort with: Plugin 'plugins/<slug>/' not found. Available: <comma-separated slugs>.

Checks

1. Version consistency

  • Read plugins/<slug>/.claude-plugin/plugin.jsonversion
  • Read .claude-plugin/marketplace.json (repo root) → look up the entry where .plugins[].name == "<slug>" and read its .version. Use:
    jq -r '.version' plugins/<slug>/.claude-plugin/plugin.json
    jq -r --arg slug "<slug>" '.plugins[] | select(.name == $slug) | .version' .claude-plugin/marketplace.json
    
  • Both must be identical — the plugin manifest wins silently if they differ, so a mismatch means the marketplace entry is lying to users: FAIL on any mismatch.
  • If the marketplace lookup returns empty (no entry for <slug>): FAIL with marketplace.json has no entry for plugin '<slug>'.
  • Check plugins/<slug>/CHANGELOG.md has a section for this version (e.g., ## [X.Y.Z], ## vX.Y.Z, or ## X.Y.Z).
  • If no changelog entry: FAIL.

2. Skill cross-reference

  • Glob plugins/<slug>/skills/*/SKILL.md to get all actual skills.
  • Read plugins/<slug>/CLAUDE.md and extract skill names from the quick reference section.
  • Read plugins/<slug>/state-templates/CLAUDE-APPEND.md (if present) and extract skill references.
  • For each skill in CLAUDE.md / CLAUDE-APPEND that doesn't have a matching directory under plugins/<slug>/skills/: FAIL.
  • For each skill directory not referenced in CLAUDE.md: WARN (may be intentionally unlisted).
  • If plugins/<slug>/CLAUDE.md does not exist: SKIP this check with a note.

Read the full file on GitHub · 116 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. 2d ago First seen · 116 lines · 64 tokens per session scan A 8d3df7d6d7a3

Subscribe to this mod's changes

release-auditor is an agent published in the GitHub repository gtapps/claude-code-hermit (73 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 1,638 once invoked, about $0.0003 per session on Opus 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-30.