Skip to content
Skillpedia
Misc40k · #5125

doublecheck

Has your agent verify the accuracy of generated information. It searches the web for sources, reviews potential errors, and presents a report for your analysis.

What it does

Checks information generated by AI to ensure it's accurate. It finds sources for you to check and warns if something seems made up.

When to use it

  • ✓When the AI gives you important information.
  • ✓If you suspect some information given by the AI.
  • ✓To make sure data and numbers are correct.

Example of what to ask your AI

“Verify the information about the history of artificial intelligence.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/github/awesome-copilot/blob/main/skills/doublecheck/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/doublecheck/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The AI analyzes what it said, searches the internet for evidence to confirm or deny it, and checks for signs it might have made something up. The result shows what was confirmed and where to find the sources.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add github/awesome-copilot --skill doublecheck

Or download just the file:

curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/doublecheck/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Doublecheck

Run a three-layer verification pipeline on AI-generated output. The goal is not to tell the user what is true -- it is to extract every verifiable claim, find sources the user can check independently, and flag anything that looks like a hallucination pattern.

Activation

Doublecheck operates in two modes: active mode (persistent) and one-shot mode (on demand).

Active Mode

When the user invokes this skill without providing specific text to verify, activate persistent doublecheck mode. Respond with:

Doublecheck is now active. I'll verify factual claims in my responses before presenting them. You'll see an inline verification summary after each substantive response. Say "full report" on any response to get the complete three-layer verification with detailed sourcing. Turn it off anytime by saying "turn off doublecheck."

Then follow ALL of the rules below for the remainder of the conversation:

Rule: Classify every response before sending it.

Before producing any substantive response, determine whether it contains verifiable claims. Classify the response:

Response type Contains verifiable claims? Action
Factual analysis, legal guidance, regulatory interpretation, compliance guidance, or content with case citations or statutory references Yes -- high density Run full verification report (see high-stakes content rule below)
Summary of a document, research, or data Yes -- moderate density Run inline verification on key claims
Code generation, creative writing, brainstorming Rarely Skip verification; note that doublecheck mode doesn't apply to this type of content
Casual conversation, clarifying questions, status updates No Skip verification silently

Rule: Inline verification for active mode.

When active mode applies, do NOT generate a separate full verification report for every response. Instead, embed verification directly into your response using this pattern:

  1. Generate your response normally.
  2. After the response, add a Verification section.
  3. In that section, list each verifiable claim with its confidence rating and a source link where available.

Format:

---
**Verification (N claims checked)**

- [VERIFIED] "Claim text" -- Source: [URL]
- [VERIFIED] "Claim text" -- Source: [URL]
- [PLAUSIBLE] "Claim text" -- no specific source found
- [FABRICATION RISK] "Claim text" -- could not find this citation; verify before relying on it

For active mode, prioritize speed. Run web searches for citations, specific statistics, and any claim you have low confidence about. You do not need to search for claims that are common knowledge or that you have high confidence about -- just rate them PLAUSIBLE and move on.

If any claim rates DISPUTED or FABRICATION RISK, call it out prominently before the verification section so the user sees it immediately. When auto-escalation applies (see below), place this callout at the top of the full report, before the summary table:

**Heads up:** I'm not confident about [specific claim]. I couldn't find a supporting source. You should verify this independently before relying on it.

Rule: Auto-escalate to full report for high-risk findings.

If your inline verification identifies ANY claim rated DISPUTED or FABRICATION RISK, do not produce inline verification. Instead, place the "Heads up" callout at the top of your response and then produce the full three-layer verification report using the template in assets/verification-report-template.md. The user should not have to ask for the detailed report when something is clearly wrong.

Rule: Full report for high-stakes content.

If the response contains legal analysis, regulatory interpretation, compliance guidance, case citations, or statutory references, always produce the full verification report using the template in assets/verification-report-template.md. Do not use inline verification for these content types -- the stakes are too high for the abbreviated format.

Rule: Discoverability footer for inline verification.

When producing inline verification (not a full report), always append this line at the end of the verification section:

_Say "full report" for detailed three-layer verification with sources._

Rule: Offer full verification on request.

…

FAQ

What is 'three-layer verification'?

It's a three-step checking process: 1) Analyzing the information the AI stated; 2) Searching the internet for sources that prove or contradict it; 3) Checking if the AI might have invented something (hallucination).

Will the AI tell me what is true?

Not exactly. The goal is to give you the tools so YOU can verify. The AI shows what is verifiable, where to find sources, and warns about potential errors.

What happens if the AI is unsure about something?

If the AI can't find reliable sources or suspects it made something up, it will clearly warn you before showing the full report, asking you to check carefully.

Details

Original description by the author

Three-layer verification pipeline for AI output. Extracts verifiable claims, finds supporting or contradicting sources via web search, runs adversarial review for hallucination patterns, and produces a structured verification report with source links for human review.

repo: github/awesome-copilot

Popularity

GitHub stars
40k
Ranking position
#5125
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills