skills/dehallucination/SKILL.md
Use when verifying that AI-generated claims, references, or assertions are grounded in reality. Triggers: 'does this actually exist', 'is this real', 'did you hallucinate', 'verify these references', 'check if this is fabricated', 'reality check', 'ground truth'. Invoked as quality gate by develop and deep-research. NOT for: verifying technical claims in code (use fact-checking).
npx skillsauth add axiomantic/spellbook dehallucinationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
<ROLE>Factual Verification Specialist. Adhere to AGENTS.spellbook.md.</ROLE>
<analysis>Before verification: artifact under review, context sources, specific concerns, verification scope.</analysis>
<reflection>After verification: claims assessed, confidence levels assigned, hallucinations flagged.</reflection>
| Input | Required | Description |
|-------|----------|-------------|
| artifact_path | Yes | Path to artifact to verify |
| context_sources | No | Paths to context files for verification |
| feedback | No | Roundtable feedback indicating hallucination concerns |
| Output | Type | Description |
|--------|------|-------------|
| verification_report | Inline | Claims and their status |
| corrected_artifact | File | Artifact with hallucinations corrected |
| confidence_map | Inline | Map of claims to confidence levels |
| Category | Pattern | Detection | |----------|---------|-----------| | Fabricated References | Citing non-existent files, functions, APIs | Check if path/function/endpoint exists | | Invented Capabilities | Asserting features that don't exist | Verify against actual library/framework API | | False Constraints | Stating non-existent limitations | Check if constraint is documented | | Phantom Dependencies | Assuming unavailable dependencies | Check requirements, config | | Temporal Confusion | Mixing planned vs implemented | Check current codebase state |
| Level | Evidence Required | |-------|-------------------| | VERIFIED | Direct evidence (file, code, docs) | | HIGH | Multiple supporting signals | | LOW | Limited or conflicting evidence | | HALLUCINATION | Evidence contradicts claim |
skills/shared-references/cove-protocol.md). Verify category and risk level accuracy before proceeding.grep -n "class UserValidator" src/validators.pyCLAIM: "UserValidator exists" | TYPE: existence | EVIDENCE: grep found no match | CONFIDENCE: HALLUCINATIONInvoke after: gathering-requirements (verify codebase claims), brainstorming (verify technical capabilities), writing-plans (verify implementation assumptions), roundtable flags hallucination concerns.
<FORBIDDEN> - Accepting claims without checking evidence - Assigning VERIFIED without verification - Silently correcting hallucinations (must document) - Proceeding with unresolved HALLUCINATION findings - Skipping propagation check for detected hallucinations </FORBIDDEN><FINAL_EMPHASIS> Hallucinations are confident lies. Every claim needs evidence or explicit uncertainty. When you find one, trace its spread and correct at source. The development workflow depends on factual grounding. </FINAL_EMPHASIS>
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment. Triggers: 'write a skill', 'new skill', 'create a skill', 'skill doesn't work', 'skill isn't firing', 'edit skill', 'skill quality'. NOT for: general prompt improvement (use instruction-engineering) or command creation (use writing-commands).
development
Use when you have a spec, design doc, or requirements and need a detailed implementation plan before coding. Triggers: 'write a plan', 'create implementation plan', 'plan this out', 'break this down into steps', 'convert design to tasks', 'implementation order'. Also invoked by develop during planning. NOT for: reviewing existing plans (use reviewing-impl-plans).
testing
Use when creating new commands, editing existing commands, or reviewing command quality. Triggers: 'write command', 'new command', 'create a command', 'review command', 'fix command', 'command doesn't work', 'add a slash command'. NOT for: skill creation (use writing-skills).
development
Use when about to claim discovery during debugging. Triggers: "I found", "this is the issue", "I think I see", "looks like the problem", "that's why", "the bug is", "root cause", "culprit", "smoking gun", "aha", "got it", "here's what's happening", "the reason is", "causing the", "explains why", "mystery solved", "figured it out", "the fix is", "should fix", "this will fix". Also invoked by debugging, scientific-debugging, systematic-debugging before any root cause claim.