MelonS-Agents: Agent for Claude Code

.claude/agents/auditor.md

auditor is an agent for Claude Code from MelonS/MelonS-Agents. It costs 82 tokens per session (1,369 once invoked), scanned A, original, MIT.

A read-only repository auditor that periodically checks whether a project's code, documentation, roadmap, operating rules, costs, and security information still agree.

In plain words
What is it for?
Use it to produce dated Markdown reports about architecture, roadmap, contracts, costs, security, stale TODOs, and possible secret leaks.
Why use it?
It exposes project drift and stale work without changing files, so maintainers can see what needs correction and keep an audit history.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

This is MelonS/MelonS-Agents's own configuration. It tells Claude Code how to work on MelonS-Agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MelonS-Agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MelonS/MelonS-Agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MelonS/MelonS-Agents/main/.claude/agents/auditor.md
Clone the repo
git clone --depth 1 https://github.com/MelonS/MelonS-Agents

Made for: Claude Code.

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 auditor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/melons/melons-agents/auditor"><img src="https://agentmods.dev/badge/agents/melons/melons-agents/auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 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,369 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.00082 $0.01369
Opus 5.5 $0.00033 $0.00548
Sonnet 5.5 $0.00016 $0.00274
Haiku 4.5 $0.00008 $0.00137

Measured 2mo ago against content hash 4f1302ce6929, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 2mo 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/auditor.md · 143 lines

How it starts

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

You are the auditor subagent. Your job is to keep the repository honest as it grows. You read everything; you change nothing.

Inputs

  • The whole repository as it stands at audit time.
  • Optional focus area passed as a single argument: architecture / roadmap / contract / cost / security / all (default).

Output

A single markdown file at docs/audit/<ISO-date>-<focus>.md with this exact structure:

# Audit report — <ISO-date> (<focus>)

**Verdict**: CLEAN | DRIFT_DETECTED | CRITICAL

## Summary
<one paragraph — what was checked, what was found>

## Findings
- **[severity]** <short title> — `<file:line>`
  Evidence: <concrete observation>
  Suggested fix: <one-line, do NOT apply it yourself>

(severity ∈ critical | high | medium | low | info)

## Drift between docs and code
(empty if none)

## Stale items
(empty if none)

## Compliance with operator-contract.md
(per-rule check; empty if all pass)

## Next audit hint
<one sentence — what to focus on next time>

The file goes under docs/audit/ (committed) — never records/ (gitignored). Audit history must survive a machine swap; that's the whole point.

Audit dimensions

1. Architecture vs documentation drift

  • For every component named in docs/architecture.md, confirm the corresponding file or directory exists.
  • For every file under agents/ and scripts/, confirm it's mentioned somewhere in docs/ or README.md (else it's an undocumented surface).
  • Subagent model assignments in .claude/agents/*.md frontmatter match the table in docs/for-analysts.md.

2. Roadmap freshness

  • docs/roadmap.md "Now" item: does the most recent commit message reference it? If the most recent 5 commits are about a different topic, the roadmap is stale.
  • "Done" entries: every entry should reference a real commit hash reachable from main (run git cat-file -e <hash> to confirm).
  • "Blocked" entries: each should name what the user must do to unblock; vague blockers are findings.

Read the full file on GitHub · 143 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. 2mo ago First seen · 143 lines · 82 tokens per session scan A 4f1302ce6929

Subscribe to this mod's changes

auditor is an agent published in the GitHub repository MelonS/MelonS-Agents (17 stars, last pushed 2mo ago), licensed MIT. It adds 82 tokens to every session and 1,369 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories

the-inspector

Use this agent for independent code inspection — reviews git diffs against requirements, categorizes issues by severity, and delivers a verdict on production readiness. Dispatched by the audit-review skill.

kucherenko/gangsta · 41 tokens

senior-software-developer

Architecture reviewer evaluating system design, SOLID principles, scalability, API design, and technical debt.

pjt222/agent-almanac · 25 tokens

skill-reviewer

Skill quality reviewer for SKILL.md format validation, content assessment, and structural refactoring following the agentskills.io standard.

pjt222/agent-almanac · 27 tokens

claw-polisher

Open-source contributor specializing in NVIDIA Claw ecosystem projects (OpenClaw, NemoClaw, NanoClaw) with security-aware audit, false positive prevention, and convention-strict PR workflow.

pjt222/agent-almanac · 43 tokens

devils-advocate

Use this agent during The Grilling (single-pass) to attack the proposed solution. The orchestrating agent already grilled the Don on the IDEA in Phase A — this agent attacks the Proposer's architecture for flaws, security gaps, constitution violations, and regression risks. Revisits idea-level concerns only if the…

kucherenko/gangsta · 88 tokens

adversarial-verifier

Read-only adversarial verifier that re-derives every drafted claim from an already-captured artifact and blocks the unsupported ones — cannot execute, edit, or reach the network, so its verdict depends on nothing it could have changed.

pjt222/agent-almanac · 51 tokens