hallucination-judge

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

A fact checker that looks for invented names, numbers, quotations, and other claims in generated text. It compares those claims with the available project files, memory, and other reachable sources.

In plain words
What is it for?
It is for checking meeting summaries, reports, and other drafts for unsupported facts and fabricated quotations.
Why use it?
It helps catch hallucinations: details an AI presents as true even though the available evidence does not support them.

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 It is for checking meeting summaries, reports, and other drafts for unsupported facts and fabricated quotations.

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

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/savia/hallucination-judge/github.svg)](https://agentmods.dev/agents/gonzalezpazmonica/savia/hallucination-judge)
Your own site
<a href="https://agentmods.dev/agents/gonzalezpazmonica/savia/hallucination-judge"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/savia/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/savia/hallucination-judge"><img src="https://agentmods.dev/badge/agents/gonzalezpazmonica/savia/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 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.00018 $0.00860
Opus 5 $0.00009 $0.00430
Sonnet 5 $0.00004 $0.00172
Haiku 4.5 $0.00002 $0.00086

Measured 5d 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 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.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. 5d 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/savia (50 stars, last pushed 2d 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.