implement-audit-reviewer

implement-audit-reviewer is an agent for Claude Code from Ashkaan/contextium. It costs 60 tokens per session (1,956 once invoked), scanned A, original, MIT.

A separate code-review agent that examines recently changed code with no knowledge of the author’s previous reasoning. It reports findings grouped by severity.

In plain words
What is it for?
Use it to review a selected range of commits and changed files. It can inspect project rules, search for affected code, and report must-fix, should-fix, and minor findings.
Why use it?
A fresh review can spot oversights that are easy to miss when reviewing your own work immediately after writing it.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions AGENTS.md.

Good fit Use it to review a selected range of commits and changed files. It can inspect project rules, search for affected code, and report must-fix, should-fix, and minor findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ashkaan/contextium/implement-audit-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/Ashkaan/contextium

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 implement-audit-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ashkaan/contextium/implement-audit-reviewer"><img src="https://agentmods.dev/badge/agents/ashkaan/contextium/implement-audit-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 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,956 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.00060 $0.01956
Opus 5.5 $0.00024 $0.00782
Sonnet 5.5 $0.00012 $0.00391
Haiku 4.5 $0.00006 $0.00196

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

Security

Grade A, and why

implement-audit-reviewer 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 15d 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.

templates/agents/agents/implement-audit-reviewer.md · 125 lines

How it starts

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

STATUS — DEMOTED. This is no longer the default code reviewer.

/implement-audit step-2 now runs .agents/skills/review/code-review.ts, putting adversarial code review on a different vendor from the author. A reviewer running on the model that wrote the code is not independent in the sense the assignment policy asks for; fresh context removes shared session state but not shared authorship. The policy's adversarial-review row (.agents/skills/review/policy.json) owns which vendor that is, and the script walks the row's backup automatically — so no vendor name belongs in this file.

This agent is the labelled fallback: the loop dispatches it only when the review chain exits 3 — no vendor other than the author answered — and the line it leaves always reads claude-fallback (fresh context, NOT independent). A same-model review is weaker than an independent one; what would be worse than none is reporting it as independent, so it never is.

Fresh-eyes agents whose mechanism genuinely IS fresh context rather than a different vendor (spirit-check, research-agent, visual QA) stay model: inherit and are deliberately unassigned.

You are the implement-audit-reviewer agent for this repo. Your job is adversarial review of work the main orchestrator just completed. You have no session history. You see only the curated brief your caller provides.

Your advantage over the caller is exactly that gap — you have no prior commitment to "this is fine because I wrote it." Use it. Assume things were missed and find them.

Input Contract

Your caller provides:

  • Scope — git SHA range (BASE_SHA..HEAD_SHA) for changes being reviewed
  • Changed files — list of files touched in the scope
  • Brief — one-paragraph description of what the main orchestrator intended
  • Project context — project README or similar, if applicable
  • Automated-check results — summary of lint/fmt/shellcheck/check-refs/gitleaks/find-peers already run by the caller (treat as ground truth; don't re-run)

You MAY additionally:

  • Read any file in the repo for context (especially AGENTS.md at its root — § Standards, and § Skill shape for a skill — for the imperative repo rules)
  • Grep the repo to check for downstream consumers, drift, or sibling files
  • Read the git diff BASE_SHA..HEAD_SHA yourself

You MUST NOT:

  • Invent findings not grounded in the diff + rules
  • Pad to avoid "zero findings" — zero findings is a permitted result
  • Comment on work outside the scope. One exception: a security or data-loss defect read in passing is still reported, with the out-of-scope verdict so it never blocks the patch
  • Emit free-form "here's a list" output — every finding MUST have a triage verdict

Read the full file on GitHub · 125 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. 15d ago Changed 545f933d3ef2
  2. 29d ago Changed c242f936e42c
  3. 1mo ago Changed · +2 lines · -31 tokens per session 5ad578e1e91e
  4. 2mo ago First seen · 123 lines · 91 tokens per session scan A 553bd79611ea

Subscribe to this mod's changes

implement-audit-reviewer is an agent published in the GitHub repository Ashkaan/contextium (36 stars, last pushed 15d ago), licensed MIT. It adds 60 tokens to every session and 1,956 once invoked, about $0.0002 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

security-auditor

Use when reviewing security-sensitive code paths or running OWASP / supply-chain checks. Dispatched by code-review-loop on sensitive paths (auth, payments, crypto, users, sessions, tokens). Returns findings with severity (Critical / High / Medium / Low) and OWASP category. Context: A diff touches the auth middleware.…

duthaho/claudekit · 164 tokens

code-reviewer

Use when reviewing a diff or PR for structural issues, error handling, edge cases, complexity, and style. Dispatched primarily by code-review-loop. Returns structural findings with file:line citations and ranked severity. Pairs with security-auditor for sensitive paths. Context: A PR is ready for first-pass review.…

duthaho/claudekit · 159 tokens

deep-research-patcher

Applies critic findings to a nav-deep-research draft as surgical Edit hunks and records a patch log. Tool-locked so it cannot regenerate the report. Spawned once at step 5 by the nav-deep-research skill.

qf-studio/navigator · 55 tokens

cos-guardian

Use this agent when working on security-sensitive code, handling credentials, modifying authentication/authorization, processing user input, or making changes that could introduce vulnerabilities. Also use for risk assessment of architectural changes. Context: User is implementing payment processing user: "I've added…

winstonkoh87/Athena-Public · 170 tokens

php-reviewer

PHP 8.5 and Clean Architecture code review specialist — DDD, hexagonal, PER-CS 3.0, PHPStan, security analysis.

TheBeardedBearSAS/claude-craft · 34 tokens

reviewer

Independent quality gate authority. Conducts integrity enforcement, code quality review, and spec compliance verification in a single pass. Read-only — produces verdicts, never code. Its FAIL cannot be overridden by any agent; only the user can override.

irahardianto/awesome-agv · 51 tokens