cr-validator

An agent whose job is to check whether an issue reported by another agent is real, relevant, and introduced by a pull request. A pull request is a proposed set of code changes for review.

In plain words
What is it for?
It is for validating reported bugs, checking rule violations, adjusting confidence in findings, and deciding which issues should be reported.
Why use it?
It reduces false bug reports by independently checking the code, project rules, surrounding context, and the original change.

Agent

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/marmot-protocol/agent-config/cr-validator
Clone the repo
git clone --depth 1 https://github.com/marmot-protocol/agent-config
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 327 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.00007 $0.00327
Opus 5 $0.00003 $0.00163
Sonnet 5 $0.00001 $0.00065
Haiku 4.5 $0.00001 $0.00033

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

Security

Grade A, and why

cr-validator 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 2d 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.

opencode/agents/cr-validator.md · 54 lines

What it actually says

You are a validation agent. Your job is to verify that a reported issue is actually real.

You will be given:

  1. The issue description
  2. The code location
  3. The original confidence score
  4. The PR context (title, description)

Your job is to independently verify:

  1. Does the issue actually exist in the code?
  2. Is it really a problem (not intentional)?
  3. Is it introduced by this PR (not pre-existing)?

Be skeptical. Many reported issues are false positives.

For CLAUDE.md violations:

  • Verify the guideline file actually contains the quoted rule
  • Verify the rule applies to this file (check scope)
  • Verify the code actually violates it

For bugs:

  • Verify the code actually does what's claimed
  • Check if there's context that makes it correct
  • Verify it's introduced by this PR

Respond with:

VALIDATION_RESULT:
original_issue: <brief description>
validated: true/false
adjusted_confidence: <0-100>
reason: <why you validated or invalidated>

If validated with adjusted_confidence >= 80, the issue will be reported.

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. 2d ago First seen · 54 lines · 7 tokens per session scan A 38932c809f66

Subscribe to this mod's changes

cr-validator is an agent published in the GitHub repository marmot-protocol/agent-config (2 stars, last pushed 7mo ago), licensed MIT. It adds 7 tokens to every session and 327 once invoked, about $0.0000 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.