Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/instructions/kevinrabun/judges/adding-a-judge)<a href="https://agentmods.dev/instructions/kevinrabun/judges/adding-a-judge"><img src="https://agentmods.dev/badge/instructions/kevinrabun/judges/adding-a-judge.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01680 | $0.01680 |
| Opus 5 | $0.00840 | $0.00840 |
| Sonnet 5 | $0.00336 | $0.00336 |
| Haiku 4.5 | $0.00168 | $0.00168 |
Grade A, and why
judges adding-a-judge.instructions.md 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adding a New Judge — Step-by-Step
When adding a new judge to the Judges Panel, follow these steps exactly.
All judges now load from agent files (agents/<id>.judge.md). The registry bootstraps from the agents directory at runtime. Evaluators remain in src/evaluators/ and are referenced via the script: field in the agent frontmatter.
ℹ️ Back-compat: legacy
.agent.mdfiles are still readable, but all new agents must use.judge.md.
The legacy side-effect imports in src/judges/index.ts have been removed. If you need to add a judge, follow the agent-native workflow below.
0. Create/Update Agent File (agents/<id>.judge.md)
Frontmatter fields:
id,name,domain,rulePrefix,description,tableDescription,promptDescriptionscript: relative path to evaluator module (e.g.,../src/evaluators/cybersecurity.ts)priority: integer ordering (lower runs earlier;999reserved forfalse-positive-review)
Body becomes the system prompt (persona + evaluation criteria). See existing agents for patterns.
You can regenerate agents from the registry with:
npm run generate:agents # skip existing
npm run generate:agents:force # overwrite
npm run validate:agents # sanity check against registry
1. Create the Evaluator
Create src/evaluators/{judge-id}.ts with an analyze function:
import type { Finding } from "../types.js";
export function analyzeSupplyChain(code: string, language: string): Finding[] {
const findings: Finding[] = [];
const prefix = "SCS";
// ... deterministic analysis logic ...
return findings;
}
Key requirements:
- The function signature is
(code: string, language: string) => Finding[] - Use the same
rulePrefixfrom the judge definition - Import shared utilities from
./shared.jsas needed - Follow existing evaluators as templates (e.g.
data-security.ts,cybersecurity.ts)
2. Create the Judge Definition (with self-registration)
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.
- 5d ago First seen · 161 lines · 1,680 tokens per session scan A 5323f357db38
judges adding-a-judge.instructions.md is an instructions file published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 1,680 tokens to every session, about $0.0084 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.
Other instructions, from other repositories
blockrun-mcp AGENTS.md
AGENTS.md instructions for BlockRunAI/blockrun-mcp, covering blockrun mcp, commands, project structure, key dependencies and install in codex.
openrouter-mcp-multimodal AGENTS.md
AGENTS.md instructions for stabgan/openrouter-mcp-multimodal, covering agent instructions, before you ship, releasing (read this before publishing), short version and version files (must all match package.json).
intervals-icu-mcp CLAUDE.md
Claude Code instructions for hhopke/intervals-icu-mcp, covering claude.md, project overview, development commands, architecture (quick reference) and tool categories.
flyto-core CLAUDE.md
Claude Code instructions for flytohub/flyto-core, covering claude notes, cross-agent handoff and shared code intelligence.
Plonk AGENTS.md
AGENTS.md instructions for ostapondo/Plonk, covering agent rules, layout, adding a module, build & verify and code style.
cyxj-groksearch CLAUDE.md
Claude Code instructions for chenyuxiaojin/cyxj-groksearch, covering claude.md, 常用命令 and 结构与坑.