Borrowing it
Nothing to install: this file belongs to rjwalters/kicad-tools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rjwalters/kicad-tools/main/.claude/commands/loom/judge-reference.mdgit clone --depth 1 https://github.com/rjwalters/kicad-toolsWrote 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/commands/rjwalters/kicad-tools/judge-reference)<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/judge-reference"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/judge-reference.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.00000 | $0.02552 |
| Opus 5 | $0.00000 | $0.01276 |
| Sonnet 5 | $0.00000 | $0.00510 |
| Haiku 4.5 | $0.00000 | $0.00255 |
Grade A, and why
judge-reference 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 7d 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 — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Judge Reference
Detailed reference material for the Judge role, split out of judge.md (the largest
prompt in the repo) to keep the main workflow scannable — mirroring how champion.md
references champion-reference.md / champion-common.md.
Read the relevant section when judge.md points you here.
Scoped Test Execution
When running quality checks (step 7), use scoped test execution to run only the tests relevant to changed files. This reduces evaluation time while maintaining confidence that changed code is correct.
Step 1: Detect Changed Files
# Use gh API to list changed files — avoids local git dependency and
# exit-128 errors when the branch is checked out in a worktree or when
# concurrent builder operations hold a git lock. (issue #2828)
CHANGED_FILES=$(gh pr diff $PR_NUMBER --name-only 2>/dev/null)
if [ -z "$CHANGED_FILES" ]; then
echo "Warning: Could not detect changed files via gh pr diff — running full test suite"
# Fall through to full suite
fi
echo "$CHANGED_FILES"
Step 2: Check for Config File Changes
If the PR touches configuration files that affect the entire project, skip scoping and run the full test suite:
# Config files that should trigger full suite
CONFIG_PATTERNS="pyproject.toml|setup.cfg|setup.py|package.json|pnpm-lock.yaml|yarn.lock|Cargo.toml|Cargo.lock|tsconfig.json|jest.config|vitest.config|.eslintrc|Makefile|CMakeLists"
if echo "$CHANGED_FILES" | grep -qE "($CONFIG_PATTERNS)"; then
echo "Config files changed — running full test suite"
# Run full suite (skip to Fallback section below)
fi
Step 3: Classify Changed Files by Language
Classify the changed files to determine which scoped test strategies to apply:
| Extension/Path | Language | Scoped Strategy |
|---|---|---|
.py, .pyi |
Python | pytest --testmon or full pytest |
.ts, .tsx |
TypeScript | jest --changedSince or vitest --changed |
.js, .jsx, .mjs, .cjs |
JavaScript | jest --changedSince or vitest --changed |
.rs |
Rust | cargo test -p <crate> |
| Other | Unknown | Full test suite |
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.
- 7d ago First seen · 252 lines · 0 tokens per session scan A 2bbdb40b74ef
judge-reference is a command published in the GitHub repository rjwalters/kicad-tools (56 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,552 tokens. 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-30.
Other commands, from other repositories
test
Run the repository's actual test suite: every ecosystem's canonical runner — NOT run is never green.
pr-enhance
Command "pr-enhance" from ruvnet/ruflo, covering pr-enhance, usage, options, examples and enhance pr.
audio-pass
Functional audio review for implementation, mix coverage, clarity, and player feedback.
quality-check-command
This command performs comprehensive code quality checks. Use it before commits or when implementation is complete.
auditar-refactor
Invoca refactor-safety-auditor — gate canônico antes de qualquer refactor. Coleta evidências (linhas, contrato externo, coverage, mutation) e retorna veredito GO/BLOCK/WARN/GO-OVERRIDE.
bug-check
Run automated tests and build checks first, then agent code review. For each bug found, propose or document a regression test.