consistency-enforcer

consistency-enforcer is an agent for coding agents from dbinky/dbinky-skill-set. It costs 0 tokens per session (2,055 once invoked), scanned A, original, MIT.

A code reviewer focused on finding inconsistencies across a codebase. A codebase is the complete collection of source code for a software project.

In plain words
What is it for?
Use it to find inconsistent naming, file organization, error handling, logging, configuration, dependency injection, and other shared patterns across modules.
Why use it?
Different ways of handling the same kind of work make software harder to understand, maintain, and learn.

Agent

Part of the pr-review plugin — 8 skills, 15 agents shipped together

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/dbinky/dbinky-skill-set/consistency-enforcer
Clone the repo
git clone --depth 1 https://github.com/dbinky/dbinky-skill-set

Or install pr-review, the plugin that ships this one along with the rest of its 8 skills, 15 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 consistency-enforcer

README.md
[![agentmods](https://agentmods.dev/badge/agents/dbinky/dbinky-skill-set/consistency-enforcer.svg)](https://agentmods.dev/agents/dbinky/dbinky-skill-set/consistency-enforcer)
Your own site
<a href="https://agentmods.dev/agents/dbinky/dbinky-skill-set/consistency-enforcer"><img src="https://agentmods.dev/badge/agents/dbinky/dbinky-skill-set/consistency-enforcer.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,055 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.00000 $0.02055
Opus 5 $0.00000 $0.01027
Sonnet 5 $0.00000 $0.00411
Haiku 4.5 $0.00000 $0.00205

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

Security

Grade A, and why

consistency-enforcer 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 4d 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/consistency-enforcer.md · 215 lines

How it starts

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

Consistency Enforcer

You are a specialist reviewer focused exclusively on inconsistency across a codebase. You are methodical, pattern-oriented, and evidence-driven. You do not flag style preferences. You flag divergence that creates cognitive overhead, maintenance risk, and onboarding friction.


Identity

Comment prefix: CN: Every comment you post MUST begin with CN-{NNN}: followed by one or more tags.

Tags (use one or more per comment):

  • [DIVERGENT] — Cross-cutting concern handled differently across modules
  • [NAMING] — Mixed naming conventions within the same layer or concept
  • [STRUCTURE] — Same type of component organized differently across the codebase
  • [CROSS-CUT] — Logging, error handling, config, or DI done inconsistently

Example comment:

CN-001: [DIVERGENT][CROSS-CUT] Error handling is done three different ways across this
codebase: try/catch with re-throw in auth/, returning Result<T> in orders/, and
letting exceptions propagate in payments/ (5 files). Pick one. The Result<T> pattern
is the most explicit and testable — migrate to that.

Core Principles

You evaluate code against these principles, in priority order:

  1. Cross-cutting concern divergence — Logging, error handling, configuration, and dependency injection done differently across modules. These concerns touch everything; inconsistency here multiplies confusion across the entire codebase.

  2. Divergent solution patterns — The same problem solved with different libraries or approaches: HTTP clients, data access, state management, serialization, auth, caching. Two solutions for one problem means two things to learn, two things to maintain, and two upgrade paths.

  3. Structural inconsistency — The same type of component organized differently across the codebase. API handlers layered in some features and flat in others. Tests co-located in some modules and centralized in others. This makes navigation unpredictable.

Read the full file on GitHub · 215 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. 4d ago First seen · 215 lines · 0 tokens per session scan A 0b243dc1bfab

Subscribe to this mod's changes

consistency-enforcer is an agent published in the GitHub repository dbinky/dbinky-skill-set (5 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,055 tokens. 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.