acquire-codebase-knowl…
Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document…
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.
$ npx -y skills add github/awesome-copilot --skill doublecheck --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/doublecheckContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: doublecheck description: '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.'
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.
Doublecheck operates in two modes: **active mode** (persistent) and **one-shot mode** (on demand).
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.**
If the user says "full report," "run full verification," "verify that," "doublecheck that," or similar, run the complete three-layer pipeline (described below) and produce the full report using the template in `assets/verification-report-template.md`.
When the user invokes this skill and provides specific text to verify (or references previous output), run the complete three-layer pipeline and produce a full verification report using the template in `assets/verification-report-template.md`.
When the user says "turn off doublecheck," "stop doublecheck," or similar, respond with:
> **Doublecheck is now off.** I'll respond normally without inline verification. You can reactivate it anytime.
---
Re-read the target text with a critical lens. Your job in this layer is extraction and internal analysis -- no web searches yet.
Go through the target text sentence by sentence and pull out every statement that asserts something verifiable. Categorize each claim:
| Category | What to look for | Examples | |----------|-----------------|---------| | **Factual** | Assertions about how things are or were | "Python was created in 1991", "The GPL requires derivative works to be open-sourced" | | **St
A community-created collection of custom agents, instructions, skills, hooks, workflows, and plugins to supercharge your GitHub Copilot experience.
Repo: github/awesome-copilot
Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document…
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsoft/agentrc…
Generate tailored AI agent instruction files via AgentRC instructions command. Produces .github/copilot-instructions.md (default, recommended for Copilot in VS…
Help the user pick, write, or apply an AgentRC policy. Policies customise readiness scoring by disabling irrelevant checks, overriding impact/level, setting…
Use this skill when the user shares ad campaign performance data and asks what to cut, scale, or test. Trigger for prompts like "analyze my ad campaigns",…
Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.