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
Ready-to-paste message
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 doublecheckOr download just the file:
curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/doublecheck/SKILL.md -o SKILL.mdTechnical 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:
- Generate your response normally.
- After the response, add a
Verificationsection. - 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
Comments
- …
More skills from this repository
acquire-codebase-knowledge
Helps your agent understand and document an existing code project. It's useful for onboarding new people or getting an overview of the architecture.
github/awesome-copilot
acreadiness-assess
Enables your agent to assess a project's readiness for AI and generate a report. It's useful for understanding how well a project is prepared to use AI tools.
github/awesome-copilot
acreadiness-generate-instructions
Helps your agent create instructions for AI tools based on an assessment. It's useful for improving how AI interacts with code and closing identified gaps.
github/awesome-copilot
acreadiness-policy
Enables your agent to help define or apply policies for AI project assessment. It's useful for standardizing how projects are evaluated and ensuring compliance.
github/awesome-copilot
Similar skills
dashboard-builder
Helps your agent create useful monitoring dashboards. It turns data into charts that answer important system questions.
affaan-m/ECC
dev-team
Simulates a collaborative development team where different roles respond to a problem together. It's useful for getting multiple perspectives without manually switching agents.
affaan-m/ECC
ecc-council
Has your agent convene a four-voice council for difficult decisions. It's useful when there are multiple good options and debate is needed before choosing.
affaan-m/ECC