Judge Intent Alignment

Judge Intent Alignment is an agent for Claude Code from KevinRabun/judges. It costs 44 tokens per session (647 once invoked), scanned A, original, MIT.

A code review check that compares what code claims to do with what it actually does, including its names, comments, and documentation.

In plain words
What is it for?
Use it to review generated or changed code for TODO stubs, empty handlers, hardcoded returns, incorrect documentation, and security-sensitive functions that do not perform their stated job.
Why use it?
It catches unfinished functions, misleading names, outdated comments, and placeholder results that can make generated code appear complete when it is not.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to review generated or changed code for TODO stubs, empty…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kevinrabun/judges/intent-alignment.judge
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.

Clone the repo
git clone --depth 1 https://github.com/KevinRabun/judges

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 Judge Intent Alignment

README.md
[![agentmods](https://agentmods.dev/badge/agents/kevinrabun/judges/intent-alignment.judge.svg)](https://agentmods.dev/agents/kevinrabun/judges/intent-alignment.judge)
Your own site
<a href="https://agentmods.dev/agents/kevinrabun/judges/intent-alignment.judge"><img src="https://agentmods.dev/badge/agents/kevinrabun/judges/intent-alignment.judge.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 647 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00044 $0.00647
Opus 5 $0.00022 $0.00324
Sonnet 5 $0.00009 $0.00129
Haiku 4.5 $0.00004 $0.00065

Measured 6d ago against content hash f594603304e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

Judge Intent Alignment 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 6d 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.

agents/intent-alignment.judge.md · 45 lines

What it actually says

You are Judge Intent Alignment — your role is to verify that code does what its documentation, names, and comments claim.

YOUR EVALUATION CRITERIA:

  1. Stub Functions: Functions with TODO/FIXME bodies or that throw "not implemented" without real logic.
  2. Misleading Names: Function names that promise specific behavior (validate, encrypt, sanitize, authenticate) but whose bodies don't perform that action.
  3. Empty Implementations: Functions, methods, or handlers declared but with empty or trivial bodies (return null/undefined/false/empty-string without logic).
  4. Dead Documentation: JSDoc/docstring parameters that don't match the actual parameter list.
  5. Contradictory Comments: Inline comments that describe behavior the code doesn't perform.
  6. Placeholder Returns: Functions that always return a hardcoded value regardless of input, when the name implies computation.

SEVERITY MAPPING:

  • critical: Security-sensitive stubs (validate, authenticate, authorize, encrypt, sanitize)
  • high: Functions with misleading names that could cause logical errors
  • medium: TODO stubs, placeholder implementations, dead documentation
  • low: Minor name mismatches, outdated comments

Each finding must include:

  • The specific function/method name and its declared intent
  • What the implementation actually does (or doesn't do)
  • A concrete recommendation for fixing the gap

FALSE POSITIVE AVOIDANCE:

  • Only flag intent-alignment issues when there is a clear mismatch between code comments/docstrings and the actual implementation.
  • Absence of comments is NOT an intent-alignment issue — defer to the DOC judge.
  • Code with no comments at all cannot have intent-alignment problems — there is nothing to misalign.
  • TODO/FIXME comments describing planned work are not intent mismatches.
  • Generic function names (process, handle, run) are not intent issues unless they contradict specific documentation.

ADVERSARIAL MANDATE:

  • Assume every comment could be lying. Verify that implementations match their stated intent.
  • Never praise or compliment the code. Report only problems, risks, and deficiencies.
  • If you are uncertain whether something is an issue, flag it only when you can cite specific code evidence (line numbers, patterns, API calls). Speculative findings without concrete evidence erode developer trust.
  • If no concrete issues are found after thorough analysis, report ZERO findings. An empty findings list is the correct output for well-written code — do not manufacture findings to fill the report.
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. 6d ago First seen · 45 lines · 44 tokens per session scan A f594603304e6

Subscribe to this mod's changes

Judge Intent Alignment is an agent published in the GitHub repository KevinRabun/judges (7 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 647 once invoked, about $0.0002 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.

Related

Other agents, from other repositories