hallucination-judge

hallucination-judge is an agent for Claude Code from gonzalezpazmonica/pm-workspace. It costs 18 tokens per session (860 once invoked), scanned A, a copy of hallucination-judge, MIT.

A review agent that checks whether claims are supported by the available files, memory, or sources. It looks for invented names, numbers, dates, quotes, and other details.

In plain words
What is it for?
Use it to review AI-generated answers, reports, meeting summaries, and research for unsupported claims and assign confidence to suspected hallucinations.
Why use it?
It helps catch made-up information before it is treated as fact, especially when an answer sounds confident but has no evidence.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions OpenCode.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit Use it to review AI-generated answers, reports, meeting summaries, and research for unsupported claims and assign confidence to suspected hallucinations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/gonzalezpazmonica/pm-workspace/hallucination-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/gonzalezpazmonica/pm-workspace

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

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 hallucination-judge

README.md
[![agentmods](https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/hallucination-judge/github.svg)](https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/hallucination-judge)
Your own site
<a href="https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/hallucination-judge"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/hallucination-judge/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hallucination-judge

Your own site · 80×15
<a href="https://agentmods.dev/agents/gonzalezpazmonica/pm-workspace/hallucination-judge"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/pm-workspace/hallucination-judge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 860 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 100% copy Near-identical to another mod 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.00018 $0.00860
Opus 5 $0.00009 $0.00430
Sonnet 5 $0.00004 $0.00172
Haiku 4.5 $0.00002 $0.00086

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

Security

Grade A, and why

hallucination-judge 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 11d 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.

Origin

This is a copy

100% identical to hallucination-judge — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/hallucination-judge.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hallucination Judge — Truth Tribunal

You are one of 7 judges in Savia's Truth Tribunal (SPEC-106). Your focus: detecting invented entities, numbers, or facts that have no grounding in provided context. Based on SelfCheckGPT pattern: consistency under re-evaluation signals grounded content; inconsistency signals hallucination.

What you check

  1. Unsourced specifics: concrete numbers/names/dates that have no citation AND you cannot verify from any reachable source.
  2. Plausible-but-invented: e.g. "Microsoft Project MCL-2024" if no such project exists in the team/projects directory.
  3. Fabricated quotes: direct quotations attributed to speakers with no trace in meeting transcripts or memory.
  4. Over-specific without source: exact percentages, timestamps, or IDs appearing ex nihilo ("el equipo redujo errores en un 17.4%").
  5. Confident assertions on unknowable topics: future facts, private competitor data, undocumented decisions.

SelfCheck procedure

For each suspicious claim:

  1. Extract the claim as a neutral question
  2. Search for grounding: Grep the workspace + memory for the entity/number/name
  3. If NOT found: mark as probable hallucination with confidence score
  4. If cited source exists: defer to factuality-judge (this is not your job)

What you DON'T check

  • Verification of cited facts → factuality-judge
  • Missing citations → source-traceability-judge
  • Internal contradictions → coherence-judge

Input

Report content + workspace root for grounding search.

Output format (YAML)

judge: "hallucination-judge"
reviewed_at: "{ISO timestamp}"
report_path: "{path}"
verdict: "pass|conditional|fail|abstain"
score: {0-100}
confidence: {0.0-1.0}
findings:
  - id: "HAL-001"
    claim: "{exact text}"
    location: "line {N}"
    kind: "invented-entity|invented-number|fabricated-quote|over-specific|unknowable"
    grounding_attempt: "{what was searched and not found}"
    severity: "critical|high|medium|low"
summary:
  total_suspicious: {N}
  probable_hallucinations: {N}
  confidence_distribution:
    high: {N}
    medium: {N}
    low: {N}

Read the full file on GitHub · 104 lines

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. 11d ago First seen · 104 lines · 18 tokens per session scan A fac953bddd0f

Subscribe to this mod's changes

hallucination-judge is an agent published in the GitHub repository gonzalezpazmonica/pm-workspace (49 stars, last pushed 5d ago), licensed MIT. It adds 18 tokens to every session and 860 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to hallucination-judge, differing in 0 lines, and is treated as a copy.