Anti Hallucination Techniques logo

Anti Hallucination Techniques

Community
Omar-Obando
anti-hallucination-techniques

Use when verifying AI-generated content, validating claims, checking source credibility, implementing evidence-based reasoning, and preventing AI hallucinations. Includes source verification, fact-checking, and validation frameworks. Based on information verification best practices and AI safety guidelines.

Overview

PublisherOmar-Obando
Repositoryqwen-orchestrator
Skill nameanti-hallucination-techniques
Stars
53
Forks
13
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Omar-Obando on GitHub. Read the source before you install it.

Installation

Install the Anti Hallucination Techniques AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/anti-hallucination-techniques
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator.git /tmp/qwen-orchestrator
mkdir -p .claude/skills
cp -r /tmp/qwen-orchestrator/skills/anti-hallucination-techniques .claude/skills/anti-hallucination-techniques
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Anti Hallucination Techniques in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Anti Hallucination Techniques on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Anti Hallucination Techniques is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Anti-Hallucination Techniques Skill — Doc Researcher

Overview

This skill provides comprehensive guidance for preventing and detecting AI hallucinations. It covers source verification, evidence-based reasoning, fact-checking techniques, and validation frameworks following information verification best practices and AI safety guidelines.

When to Use

Use this skill when:

  • Verifying AI-generated content accuracy
  • Checking source credibility and citations
  • Validating claims with evidence
  • Implementing evidence-based reasoning
  • Detecting and correcting hallucinations
  • Fact-checking technical documentation
  • Validating code examples
  • Checking API documentation accuracy
  • Verifying configuration examples
  • Validating architectural diagrams
  • Checking mathematical calculations
  • Validating statistical claims
  • Verifying historical facts
  • Checking product specifications
  • Validating legal or compliance information
  • Checking financial data
  • Verifying medical or health information
  • Validating scientific claims
  • Checking technical specifications
  • Verifying geographic information
  • Validating dates and times
  • Checking names and proper nouns
  • Validating contact information

Do NOT use this skill when:

  • Writing application business logic (use domain-driven skill)
  • Designing database schemas (use database-design skill)
  • Writing API endpoint specifications (use api-design skill)
  • Performing security audits (use security-auditor skill)
  • Writing SQL queries (use sql-best-practices skill)
  • Designing multi-page website layouts (use design-system skill)
  • Analyzing deployment configurations (use deployment skill)
  • Writing documentation (use documentation-best-practices skill)

Hallucination Types

Common Hallucination Patterns

┌─────────────────────────────────────────────────────────────┐
│              Hallucination Types                            │
├─────────────────────────────────────────────────────────────┤
│  1. Factual Hallucinations                                  │
│     - Incorrect dates, names, numbers                       │
│     - False historical claims                               │
│     - Misrepresented statistics                             │
│                                                              │
│  2. Technical Hallucinations                                │
│     - Incorrect API usage                                   │
│     - Fake function signatures                              │
│     - Non-existent libraries                                │
│                                                              │
│  3. Logical Hallucinations                                  │
│     - Invalid reasoning                                     │
│     - False cause-effect relationships                      │
│     - Contradictory statements                              │
│                                                              │
│  4. Source Hallucinations                                   │
│     - Fake citations                                        │
│     - Non-existent URLs                                     │
│     - Fabricated sources                                    │
│                                                              │
│  5. Pseudo-Quantification                                   │
│     - Made-up statistics                                    │
│     - Unsubstantiated percentages                           │
│     - False measurements                                    │
└─────────────────────────────────────────────────────────────┘

Source Verification Framework

CREDIBLE Checklist

┌─────────────────────────────────────────────────────────────┐
│              CREDIBLE Checklist                             │
├─────────────────────────────────────────────────────────────┤
│  C - Currency: Is the information current?                  │
│  R - Relevance: Is the information relevant?                │
│  E - Expertise: Does the author have expertise?             │
│  D - Diversity: Are multiple perspectives included?         │
│  I - Independence: Is the source independent?               │
│  E - Evidence: Is evidence provided?                        │
└─────────────────────────────────────────────────────────────┘

Source Evaluation Matrix

┌─────────────────────────────────────────────────────────────┐
│              Source Evaluation                              │
├─────────────────────────────────────────────────────────────┤
│  Source Type          │  Reliability  │  Notes                  │
│  ────────────────────┼───────────────┼───────────────────────│
│  Peer-reviewed journal│  ★★★★★        │  High credibility       │
│  Government website   │  ★★★★☆        │  High credibility       │
│  Industry association │  ★★★★☆        │  Generally reliable     │
│  Corporate website    │  ★★★☆☆        │  May be biased          │
│  Blog/Personal site   │  ★★☆☆☆        │  Verify claims          │
│  Social media         │  ★☆☆☆☆        │  High hallucination     │
│  Unknown source       │  ☆☆☆☆☆        │  Unverifiable           │
└─────────────────────────────────────────────────────────────┘

Evidence-Based Reasoning

Claim Validation Framework

┌─────────────────────────────────────────────────────────────┐
│              Claim Validation Process                       │
├─────────────────────────────────────────────────────────────┤
│  1. Identify the claim                                      │
│     - What is being asserted?                               │
│     - What are the implications?                            │
│                                                              │
│  2. Find supporting evidence                                │
│     - Primary sources (original research)                   │
│     - Secondary sources (reviews, summaries)                │
│     - Tertiary sources (encyclopedias, textbooks)           │
│                                                              │
│  3. Evaluate the evidence                                   │
│     - Source credibility                                    │
│     - Methodology quality                                   │
│     - Consistency with other sources                        │
│                                                              │
│  4. Check for counter-evidence                              │
│     - Alternative explanations                              │
│     - Contradictory findings                                │
│     - Limitations and caveats                               │
│                                                              │
│  5. Draw a conclusion                                       │
│     - Strength of evidence                                  │
│     - Confidence level                                      │
│     - Uncertainty statements                                │
└─────────────────────────────────────────────────────────────┘

Evidence Levels

┌─────────────────────────────────────────────────────────────┐
│              Evidence Hierarchy                             │
├─────────────────────────────────────────────────────────────┤
│  Level 1: Systematic reviews and meta-analyses              │
│  Level 2: Randomized controlled trials (RCTs)               │
│  Level 3: Cohort studies                                    │
│  Level 4: Case-control studies                              │
│  Level 5: Case reports and expert opinion                   │
│  Level 6: Anecdotal evidence                                │
└─────────────────────────────────────────────────────────────┘

Fact-Checking Techniques

Reverse Image Search

1. Extract image from content
2. Upload to reverse image search (Google, TinEye)
3. Check source and date of original image
4. Verify context matches current usage
5. Look for manipulated versions

URL Verification

1. Check domain authority
2. Verify HTTPS and SSL certificate
3. Check for suspicious characters in URL
4. Verify domain registration information
5. Check for known phishing patterns

Quote Verification

1. Search exact quote in quotes
2. Check original source
3. Verify context
4. Look for misattribution
5. Check for paraphrasing

Validation Frameworks

TRUST Framework

┌─────────────────────────────────────────────────────────────┐
│              TRUST Framework                                │
├─────────────────────────────────────────────────────────────┤
│  T - Traceability: Can the claim be traced to a source?     │
│  R - Reproducibility: Can the claim be verified?            │
│  U - Uncertainty: Is uncertainty acknowledged?              │
│  S - Source: Is the source credible?                        │
│  T - Timeliness: Is the information current?                │
└─────────────────────────────────────────────────────────────┘

FAIR Principles

┌─────────────────────────────────────────────────────────────┐
│              FAIR Principles                                │
├─────────────────────────────────────────────────────────────┤
│  Findable: Information can be found                   (F)   │
│  Accessible: Information can be accessed              (A)   │
│  Interoperable: Information can be integrated         (I)   │
│  Reusable: Information can be reused                  (R)   │
└─────────────────────────────────────────────────────────────┘

Real-World Impact

Before this skill:

  • Unverified AI claims
  • Incorrect information presented as fact
  • Fake citations and sources
  • Technical inaccuracies
  • Misleading statistics

After this skill:

  • Verified, evidence-based content
  • Proper source citations
  • Accurate technical information
  • Transparent uncertainty statements
  • Reliable documentation

Cross-References

  • documentation-best-practices - For accurate documentation
  • context7-docs - For up-to-date documentation
  • analyzing-projects - For project analysis

References

Frequently asked questions

What does the Anti Hallucination Techniques AI skill do?

Use when verifying AI-generated content, validating claims, checking source credibility, implementing evidence-based reasoning, and preventing AI hallucinations. Includes source verification, fact-checking, and validation frameworks. Based on information verification best practices and AI safety guidelines.

Why use Anti Hallucination Techniques on TypingMind?

Because you install it once and use it with any model. Anti Hallucination Techniques is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Anti Hallucination Techniques in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/anti-hallucination-techniques. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Anti Hallucination Techniques?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Anti Hallucination Techniques?

As many as you like. As long as a model supports skills, you can use Anti Hallucination Techniques with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Anti Hallucination Techniques AI skill free?

Yes. It is published on GitHub by Omar-Obando under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇