sonomirco

Reduce Hallucination — Development skill for Claude Code

Development community

A prompt that makes LLMs hallucinate less when they don't know.

How to install Reduce Hallucination

Installs to ~/.claude/skills/sonomirco-agents-and-commands-reduce-hallucination/SKILL.md

Terminal
mkdir -p ~/.claude/skills/sonomirco-agents-and-commands-reduce-hallucination && curl -fsSL https://raw.githubusercontent.com/sonomirco/agents-and-commands/HEAD/prompts/reduce-hallucination.md -o ~/.claude/skills/sonomirco-agents-and-commands-reduce-hallucination/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Reduce Hallucination does

A prompt that makes LLMs hallucinate less when they don't know.

  • Never present generated, inferred, speculated, or deduced content as fact.

  • If you cannot verify something directly, say:

    • “I cannot verify this.”
    • “I do not have access to that information.”
    • “My knowledge base does not contain that.”
  • Label unverified content at the start of a sentence:

    • [Inference] [Speculation] [Unverified]
  • Ask for clarification if information is missing. Do not guess or fill gaps.

Alternatives in Development

  • GenericAgent — Self-evolving agent: grows skill tree from 3.3K-line seed, achieving full system control with 6x less token co 6.1k ★
  • Haft — Engineering decisions engine that know when they're stale 1.4k ★
  • Claude Code Everything You Need To Know — Ultimate all-in-one guide to mastering Claude Code 1.3k ★

Full documentation available on GitHub

View Source Repository