check

A command that runs proctor against the current working changes and reports any suspected test manipulation.

In plain words
What is it for?
Use it to check unstaged or staged changes, inspect rule explanations, and decide whether findings need code fixes or human-approved exceptions.
Why use it?
It shows whether changes have altered tests or implementation in ways that could create a misleading passing build.

Command

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 commands/catfish-1234/proctor/check
Clone the repo
git clone --depth 1 https://github.com/catfish-1234/proctor
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 325 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.00013 $0.00325
Opus 5 $0.00006 $0.00162
Sonnet 5 $0.00003 $0.00065
Haiku 4.5 $0.00001 $0.00032

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

Security

Grade A, and why

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

plugin/commands/check.md · 26 lines

What it actually says

Run npx @kavishdua/proctor check on the current working changes (add --staged if the user asked about what is staged rather than what is in the working tree).

Report the findings as they are. For each one, name the rule ID, the file and line, and what the check actually objected to. Do not soften a finding, and do not describe an error-severity finding as a warning.

If there are no findings, say so plainly and stop.

If there are findings, work out for each one whether it is:

  • A real problem in the change. Fix the underlying code so the original test passes unaltered. This is the common case and the one to assume unless the evidence says otherwise.
  • A genuine, intentional test change. Say why you believe that, and tell the user they can record it with npx @kavishdua/proctor approve <RH-ID> <file> --reason "...", which they then need to commit. Do not run approve yourself: an approval is the user's call, and one added in the same change it excuses has no effect anyway.
  • A false positive. Explain the specific reason the check misread the diff, rather than asserting it in general terms.

Run npx @kavishdua/proctor check --explain <RH-ID> when you need the full description of a rule.

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 · 26 lines · 13 tokens per session scan A 4c3b07b3ff80

Subscribe to this mod's changes

check is a command published in the GitHub repository catfish-1234/proctor (1 stars, last pushed 6d ago), licensed MIT. It adds 13 tokens to every session and 325 once invoked, about $0.0001 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.