Taha Builds AI b Darija
← All free resources
Video walkthroughs3 min readUpdated November 2026

Why AI lies to you, and the 3 rules that fix it

In shortChatGPT and Claude predict the most likely next word. When they don't know, they don't say so by default: they fill the gap with something that sounds right. Three rules from Anthropic's own guide make that much rarer.
What you need
  • Any AI chat (Claude, ChatGPT, Gemini)

1What a hallucination is

An answer that sounds perfect but is false: a made-up statistic, a link that doesn't exist, a source nobody wrote. The AI isn't trying to trick you. It is filling a gap.

2Why it happens

These models write by predicting the next word. They are trained to always give an answer, so when they don't know, the most likely-sounding words win, even if they're wrong.

3Paste the 3 rules

Put this at the start of any conversation where facts matter.

Prompt
Before you answer, follow these rules: 1. If you are not sure or don't have enough information, say "I don't know" instead of guessing. 2. For every fact, give the source or the exact quote it comes from. 3. After your answer, check each claim. If you can't find a source for it, remove it.

4Read the official guide

These rules come from Anthropic's own advice on reducing hallucinations.

Open Anthropic's guide

5For big work, double-check

For long reports, GitHub's free doublecheck skill checks each claim against sources.

Open github/awesome-copilot

★Make it yours

Ask for sources you can click, then click two of them. If a link is dead or says something else, don't trust the rest without checking.

Common questions

Does this stop hallucinations completely?

No, it makes them much rarer and easier to spot. Always check important facts yourself.

Does it work with ChatGPT too?

Yes. The rules work with any AI chat.

What's next in the series?

Episode 2: how to write a prompt so the AI understands exactly what you want.

Keep going