hallucination-guard

hallucination-guard is a skill for Claude Code, Codex from Momo2323-ui/claude-orchestra. It costs 99 tokens per session (2,966 once invoked), scanned A, original, MIT.

A checking procedure for an agent workflow that requires assumptions, actions, and completion claims to be cross-checked. It treats asking the user as a valid outcome when the available information is not enough.

In plain words
What is it for?
Use it to review assumptions, keep changes focused, verify results with fresh evidence, and flag work that needs user input instead of guessing.
Why use it?
It helps prevent unsupported claims and unverified work from being presented as finished. It is applied before starting or handing work between orchestras and before reporting completion.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review assumptions, keep changes focused, verify results with fresh evidence, and flag work that needs user input instead of guessing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/momo2323-ui/claude-orchestra/hallucination-guard
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.

Any agent
npx skills add Momo2323-ui/claude-orchestra --skill hallucination-guard
Clone the repo
git clone --depth 1 https://github.com/Momo2323-ui/claude-orchestra

Made for: Claude Code, Codex.

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-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/momo2323-ui/claude-orchestra/hallucination-guard/github.svg)](https://agentmods.dev/skills/momo2323-ui/claude-orchestra/hallucination-guard)
Your own site
<a href="https://agentmods.dev/skills/momo2323-ui/claude-orchestra/hallucination-guard"><img src="https://agentmods.dev/badge/skills/momo2323-ui/claude-orchestra/hallucination-guard/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-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/momo2323-ui/claude-orchestra/hallucination-guard"><img src="https://agentmods.dev/badge/skills/momo2323-ui/claude-orchestra/hallucination-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,966 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.00099 $0.02966
Opus 5 $0.00049 $0.01483
Sonnet 5 $0.00020 $0.00593
Haiku 4.5 $0.00010 $0.00297

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

Security

Grade A, and why

hallucination-guard 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.

skills/hallucination-guard/SKILL.md · 337 lines

How it starts

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

Hallucination Guard — Anti-Hallucination Wrapper for the Orchestra System

"Don't make things up. Assume your work is wrong until you've cross-checked it. Verify before you're confident, and test."

This skill operationalizes that into a mandatory wrapper invoked at every orchestra entry, every handoff, and before every completion claim.

When to use

Invoke automatically:

  • Before activating any orchestra (entry gate)
  • Before any agent/skill claims DONE
  • Before any handoff between orchestras (passing work along)
  • Before any user-facing claim of success, completion, or correctness
  • When drafting a response that uses phrases like "done", "works", "should pass", "great", "perfect", "looks good"

Do not skip even when the task seems trivial. "Just this once" is rationalization — see Red Flag table below.


The 5 layers of protection

Layer Source What it does
1. Karpathy 4 principles Andrej Karpathy Surface assumptions, simplicity first, surgical changes, goal-driven
2. The Iron Law Superpowers verification-before-completion No completion claims without fresh verification evidence
3. Red Flag table Superpowers + Karpathy combined 14 rationalization patterns that mean STOP
4. ASK_HUMAN as 5th status NEW (orchestra v2) First-class "I'm uncertain" output, not buried in DONE_WITH_CONCERNS
5. Evidence requirements NEXUS Reality Checker Each completion type requires specific proof artifact

Layer 1 — Karpathy's 4 principles

Principle 1: Think Before Coding

Don't assume. Don't hide confusion. Surface tradeoffs.

  • State assumptions explicitly. If uncertain, ASK.
  • If multiple interpretations exist, present them — don't pick silently.
  • If a simpler approach exists, say so. Push back when warranted.
  • If something is unclear, stop. Name what's confusing. Ask.

Principle 2: Simplicity First

Minimum code that solves the problem. Nothing speculative.

Read the full file on GitHub · 337 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 · 337 lines · 99 tokens per session scan A e1a81fd62cee

Subscribe to this mod's changes

hallucination-guard is a skill published in the GitHub repository Momo2323-ui/claude-orchestra (8 stars, last pushed 1mo ago), licensed MIT. It adds 99 tokens to every session and 2,966 once invoked, about $0.0005 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 skills, from other repositories

mle-workflow

Production machine-learning engineering workflow for data contracts, reproducible training, model evaluation, deployment, monitoring, and rollback. Use when building, reviewing, or hardening ML systems beyond one-off notebooks.

affaan-m/ECC · 44 tokens

autonomous-loops

Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.

affaan-m/ECC · 26 tokens

react-patterns

React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.

affaan-m/ECC · 49 tokens

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens

security-review

Perform a focused security review of pending git changes to identify high-confidence security vulnerabilities with real exploitation potential. Use this skill when the user asks for a security review, security audit, vulnerability scan, or wants to check pending changes on a branch for security issues before merging.…

waybarrios/opencode-power-pack · 64 tokens

huggingface-llm-trainer

Train or fine-tune language models with TRL or Unsloth on Hugging Face Jobs, including SFT, DPO, GRPO, reward models, and GGUF conversion. Use for cloud LLM training; use huggingface-vision-trainer for vision tasks.

waybarrios/opencode-power-pack · 65 tokens