kendex: Agent for Claude Code

.claude/agents/reviewer-error.md

reviewer-error is an agent for Claude Code from vanillagreencom/kendex. It costs 30 tokens per session (676 once invoked), scanned C, original, MIT.

A code reviewer focused on failures that are hidden, misreported, or incorrectly treated as success. It reports findings instead of changing code.

In plain words
What is it for?
Use it to inspect error handling, fallback branches, validation failures, diagnostics, and observability in changed code.
Why use it?
It helps reveal error paths where a dependency failure is swallowed, a fallback hides the cause, or nobody is told that something went wrong.

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-error.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-error

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/vanillagreencom/kendex/reviewer-error"><img src="https://agentmods.dev/badge/agents/vanillagreencom/kendex/reviewer-error.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 676 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.00030 $0.00676
Opus 5.5 $0.00012 $0.00270
Sonnet 5.5 $0.00006 $0.00135
Haiku 4.5 $0.00003 $0.00068

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

Security

Grade C, and why

reviewer-error 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-error.md · 52 lines

How it starts

The opening of the file, as written. The whole thing — 52 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.

Error Handling Review

Scope

Judge .agents/skills/code-quality/SKILL.md § Correctness.

Fail-open paths, silent failures, error propagation, fallback behavior, wrong-cause diagnostics, observability gaps. Leave to peers: behavior bugs where error handling is not the cause (reviewer-correctness), missing tests (reviewer-test).

Discipline

For every changed error/fallback branch, trace the dependency failure to its observable outcome. Classify required gates, advisory checks and absent application inputs under the owned code-quality section before reporting a failure or default as a defect.

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.

Fail-Open Catalogue

Recurring shapes:

  • A validator/verifier that degrades to "no findings" or "not applicable" when a required input, probe, or dependency fails; an advisory check that hides its unavailability or cause.
  • Unchecked effectful calls: $(mktemp)/readlink/git substitutions whose failure leaves an empty variable and a running script; pipelines whose failure is masked (no pipefail); discarded error returns.
  • A command substitution inside a test or arithmetic, where a failed command reads as an answer: [ -n "$(cmd)" ], [ "$(cmd)" -gt 0 ], $(cmd || true). The exit status is checked separately or the site is a finding.
  • An async helper/service asked to start but neither confirmed running nor reported failed. The caller proceeds against a maybe-started dependency and a start failure surfaces nowhere.
  • Guards that pass without inspecting their required input (glob matching everything, probe that never ran, skipped-but-required step reporting success). Judge empty application input against its declared contract.
  • One-directional validation: entries checked when present, orphaned/stale entries never checked.
  • Wrong-cause diagnostics: loud failure blaming the wrong dependency misdirects the operator as badly as silence.
  • Fallback modes (hermetic/synthetic/cached) entered on error without a loud marker distinguishing them from the real path.
  • Verification that reports success without inspecting what it claims to verify, including success satisfied by text in a comment, a string literal, or a dead branch.

Read the full file on GitHub · 52 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 cb57153521d3
  2. 10d ago Changed c0bceb79031d
  3. 18d ago Changed 9242ab4ac59f
  4. 27d ago Changed · +2 lines 18079511046b
  5. 1mo ago Changed 8ea9d6029d48
  6. 1mo ago Changed 66b9dcb7c371
  7. 1mo ago Changed · -2 lines f28b3e3a5680
  8. 1mo ago Changed · +4 lines scan A → C 73c91fce763d
  9. 1mo ago Changed · +3 lines 0d07fe88e194
  10. 2mo ago First seen · 43 lines · 30 tokens per session scan A 0d6a3852286e

Subscribe to this mod's changes

reviewer-error is an agent published in the GitHub repository vanillagreencom/kendex (87 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 676 once invoked, about $0.0001 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.

Related

Other agents, from other repositories