convention-reviewer

convention-reviewer is an agent for Claude Code from SyloRei/claude-godmode. It costs 42 tokens per session (572 once invoked), scanned A, original, MIT.

A read-only reviewer that compares a code change with the naming, file layout, and recurring patterns already used in the project. It learns those conventions from nearby code and the change's diff.

In plain words
What is it for?
Use it to review identifier names, directory placement, import order, error handling, module boundaries, and use of existing utilities.
Why use it?
It catches changes that look out of place or duplicate an established approach. This helps keep a codebase consistent and easier to maintain.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the claude-godmode plugin — 14 skills, 4 commands, 19 agents, 7 hooks, 3 MCP servers shipped together

Good fit Use it to review identifier names, directory placement, import order, error handling, module boundaries, and use of existing utilities.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sylorei/claude-godmode/convention-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/SyloRei/claude-godmode

Made for: Claude Code.

Or install claude-godmode, the plugin that ships this one along with the rest of its 14 skills, 4 commands, 19 agents, 7 hooks, 3 MCP servers.

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 convention-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/sylorei/claude-godmode/convention-reviewer"><img src="https://agentmods.dev/badge/agents/sylorei/claude-godmode/convention-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 572 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.00042 $0.00572
Opus 5 $0.00021 $0.00286
Sonnet 5 $0.00008 $0.00114
Haiku 4.5 $0.00004 $0.00057

Measured 10d ago against content hash 1517e9a2498b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

convention-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 10d 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.

agents/convention-reviewer.md · 45 lines

How it starts

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

You are a principal engineer reviewing a change through a single lens: conventions. You cannot modify code — you analyze and report. You do not judge correctness, performance, tests, or security; other lenses own those. Stay in your lane.

Process

  1. Gather — Read the diff (git diff, git diff --cached, gh pr diff, or specified files)
  2. Context — Read neighbouring code to learn the established conventions THIS project actually uses
  3. Analyze — Compare the change against those conventions
  4. Report — Emit findings in the shared schema

What this lens looks for

Dimension What to check
Naming Identifier names inconsistent with surrounding code, misleading or non-descriptive names, casing that breaks local convention
File structure Files in the wrong directory, module boundaries broken, code that belongs in an existing home, files growing past the project's norms
Pattern adherence Reinventing an existing utility, deviating from the established way the codebase solves a recurring problem, inconsistent import ordering or error-handling style

Rules

  • Read-only: report deviations, do not edit code
  • When .planning/STANDARDS.md is present, hold the change to it as the authoritative source of project conventions within the convention lens (see "Project Standards Precedence" in rules/godmode-coding.md), falling back to observed repo convention where it is silent
  • Anchor every finding to an EXISTING convention you observed in the repo — cite where the convention is established
  • Don't flag pure style a formatter or linter already enforces
  • Stay in your lane: correctness, performance, tests, and security belong to other lenses

Finding schema

Report each finding as: lens (convention-reviewer), severity ∈ {CRITICAL, WARNING, NIT}, confidence ∈ {HIGH, MEDIUM, LOW}, file:line, and a short note. Be precise; prefer fewer high-confidence findings over many speculative ones.

Read the full file on GitHub · 45 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. 10d ago First seen · 45 lines · 42 tokens per session scan A 1517e9a2498b

Subscribe to this mod's changes

convention-reviewer is an agent published in the GitHub repository SyloRei/claude-godmode (3 stars, last pushed 3mo ago), licensed MIT. It adds 42 tokens to every session and 572 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

reflection-judge

Post-processes reflect candidates — validates that cross-session evidence citations actually exist in S-NNN-REPORT.md before proposals or micro-approvals are queued. Returns ACCEPT | DOWNGRADE: | SUPPRESS per observation.

gtapps/claude-code-hermit · 50 tokens

symfony-security-auditor

Read-only security audit of Symfony authentication and authorization: firewalls, accesscontrol, voters, API Platform security, rate limiting, CSRF, password hashing, and input validation. Use proactively after changes to security.yaml, voters, controllers, forms, or API resources.

dev-toolings/superpowers-symfony · 60 tokens

code-simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Applies safe local simplifications (local renames, dead code, unnecessary nesting) directly and proposes structural changes for approval. Focuses on recently modified code unless instructed otherwise; not for…

oprogramadorreal/optimus-claude · 66 tokens

code-formatter

Expert code formatter and linter specialist. Automatically formats code, applies consistent styling, fixes lint errors, and enforces coding standards across multiple languages. Use PROACTIVELY when code needs formatting, lint fixes, or style consistency improvements.

wigtn/wigtn-plugins · 51 tokens

ccf-spec-checker

Fresh-context reviewer that checks an implementation against the CCF spec — conformance, conventions, SOLID/OOP, spec drift, BE↔FE consistency. Read-only, returns findings with file:line, does NOT fix code. Invoked by /ccf:check, never for coding.

naniiluja/ccf · 66 tokens

reviewer

The Reviewer of the aSPARK team. Use in the Review phase (/peer-review) to audit the diff produced by /increment with a staff-engineer eye: plan conformance, correctness, edge cases, error handling, security and test quality. Writes the review report and may fix obvious low-risk issues directly.

a-lottes/aSPARK · 66 tokens