kendex: Agent for Claude Code

.claude/agents/reviewer-correctness.md

reviewer-correctness is an agent for Claude Code from vanillagreencom/kendex. It costs 55 tokens per session (1,544 once invoked), scanned C, original, MIT.

A read-only code reviewer focused on whether changes still behave correctly across inputs, callers, modules, and development workflows.

In plain words
What is it for?
Reviewing code changes, tracing behavior end to end, checking compatibility and retry behavior, and reporting confirmed defects without editing code.
Why use it?
It helps find regressions, edge-case errors, broken interfaces, migration problems, and side effects before they reach users.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

This is vanillagreencom/kendex's own configuration. It tells Claude Code how to work on kendex 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 kendex configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vanillagreencom/kendex. 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/vanillagreencom/kendex/main/.claude/agents/reviewer-correctness.md
Clone the repo
git clone --depth 1 https://github.com/vanillagreencom/kendex

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/vanillagreencom/kendex/reviewer-correctness"><img src="https://agentmods.dev/badge/agents/vanillagreencom/kendex/reviewer-correctness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 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,544 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00055 $0.01544
Opus 5.5 $0.00022 $0.00618
Sonnet 5.5 $0.00011 $0.00309
Haiku 4.5 $0.00006 $0.00154

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

Security

Grade C, and why

reviewer-correctness scanned grade C with 1 finding 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 9d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- kendex:shared-instructions:start -->
.claude/agents/reviewer-correctness.md · 79 lines

How it starts

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

Generated by kendex — do not edit; regenerated on every refresh. Intent lives in kendex.toml.

Correctness Review

Scope

Judge .agents/skills/code-quality/SKILL.md § Correctness and .agents/skills/code-quality/SKILL.md § Prove Your Guards.

Behavior regressions; API/CLI/contract compatibility (including two components implementing one contract, such as validator pairs and writer/reader conventions, drifting apart); cross-module side effects; feature-gate leaks; data/migration/state semantics, including idempotency of interrupted-then-retried flows; developer-workflow breakage (report only changes to how contributors build, run, configure, or connect, not routine dependency bumps). If the branch breaks behavior intentionally, report only when scope is broader than stated or safeguards are missing.

Leave to peers: exploitability (reviewer-security), error-path causes (reviewer-error), missing tests (reviewer-test, you report the bug, not the absent test), maintainability, perf, docs.

Discipline

Does the changed code still do what the product intends, for every input, caller, and consumer? Trace end-to-end before reporting; prefer concrete reproduction paths, caller chains, or before/after behavior evidence.

A finding in a class .agents/skills/reviewer/references/finding-disposition.md Step 0 excludes is declined before its truth is examined. Do not write it. For a symlink, .., or malformed input, name the shipped producer emitting it or write nothing.

Boundary Probes

For each changed behaviour, mentally execute the applicable probes:

  • Empty/boundary input. Does empty string/list/file bypass the guard entirely? Exactly-at-the-limit values?
  • Anchoring. Does the pattern accept junk prefixes/suffixes (kendex:PATH, PATH.bak, ID/extra)?
  • Falsy vs missing. Does a "missing" check accept present-but-empty ("".split().pop() → "", not undefined)?
  • Locale/Unicode. [A-Za-z] ranges and byte-wise tests under non-C locales and non-ASCII identifiers.
  • Canonicalization. Lexical path checks where symlinks or .. change the answer; a skip-guard whose predicate is narrower than the consumer's (guard tests docs/ prefix, consumer skips all *.md).
  • Sibling consistency. Two code paths answering the same question with different logic.
  • Surface enumeration. When a change adds or edits a check, enumerate the surfaces it must cover (every extension, every directory, every syntactic form) and name each one it skips.
  • Declarative formats. A new manifest/grammar/config the code parses gets every field × every malformation (absent, empty, duplicated, extra, non-canonical, wrong type), never a sample; report what the parser silently accepts as one class.
  • Producer contract. When the diff maps, switches on, formats, renders, filters, keys on or drops a field or record kind from another component, read that producer, outside the diff when needed. Trace each code, kind or nullable field the changed consumer maps, switches on or formats to the producer line that emits its value or null. Follow helpers and routes to the emitting line on the path that reaches this consumer. Compare both ways: a consumer branch with no emitting line is a finding, and so is an emitted value the consumer leaves unmapped. Check that each mapped value keeps the producer's meaning. Enumerate every kind it emits and every pair of records that only a dropped field tells apart. A mishandled or raw kind, or a dropped field that alone distinguishes records, is a finding. Fixtures holding a subset prove nothing about the remaining kinds.
  • Git plumbing. Apply Producer contract to git's machine-readable output: every status letter, core.quotePath escaping, :(literal) against a directory, the 0: stage prefix, an --amend parent.
  • Pre-steady-state. Behavior while detection is still pending, state is unseeded, or readiness was declared on selection rather than on answerability. Include a navigation, scroll or focus target that exists only after an asynchronous load.
  • Shared branches. Read a loading, empty or error branch once per mode that reaches it. Text or state written for one mode only is a finding.
  • Teardown symmetry. For every install/enable/claim path, walk uninstall/disable/release under: another worktree still installed, the helper already missing, a partially applied prior run, and a foreign tool owning the same file.
  • Staged vs worktree. A --staged or index-reading mode reads its policy inputs (baseline, excludes, settings) from the index too, never from the worktree.
  • Workflow order. A → §N route, a Skip if, or a [PLACEHOLDER] the diff adds to a workflow is executed in document order; name the section that runs it and the line that binds the placeholder, or the route is a finding.

Read the full file on GitHub · 79 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. 9d ago Changed · +2 lines a33ae9eb82e9
  2. 10d ago Changed c6637c03214c
  3. 16d ago Changed af9a88588ca0
  4. 18d ago Changed 820bd017de3a
  5. 19d ago Changed · +10 lines · +9 tokens per session 8b168bb65920
  6. 27d ago Changed · +2 lines cbc3d1a17d0b
  7. 1mo ago Changed f06cbaca4ae0
  8. 1mo ago Changed ab5ec944dc92
  9. 1mo ago Changed · -2 lines 26b2edab43d4
  10. 1mo ago First seen · 67 lines · 46 tokens per session scan C 79aee79df8a2

Subscribe to this mod's changes

reviewer-correctness is an agent published in the GitHub repository vanillagreencom/kendex (87 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 1,544 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.