Doublecheck Agent
Fact-checks AI-generated text before you act on it: extracts claims, searches for real sources, and runs an adversarial review for hallucination patterns, without rendering its own verdict.
Overview
Doublecheck reviews AI-generated output for accuracy before you rely on it. Its instructions are explicit that it does not tell you what is true. It extracts claims, looks for sources you can check yourself, and flags what it cannot verify, on the premise that a model reviewing its own kind of output shouldn't be trusted to render the final verdict.
How it works
- It pulls out checkable claims (statistics, legal citations, regulatory statements, technical specifics) from the text you give it.
- It searches for each claim and checks whether the source actually says what the text claims, rather than assuming a plausible-sounding statement is correct.
- It applies known hallucination patterns, treating fabricated legal citations and untraceable statistics as high-risk categories by default.
- The report leads with the claims most likely to be wrong, and states plainly when it could not verify or contradict something instead of hedging with "probably fine."
- It keeps track of extracted claims by ID so you can ask it to dig deeper on one, or push back if you know a flagged claim is correct.
Examples
"Doublecheck this blog draft before I publish it, especially the
statistics and the legal citation in paragraph 3."
Installation
You need VS Code with the GitHub Copilot extension.
- Create the agents folder and download the file into your repo:
mkdir -p .github/agents curl -o .github/agents/doublecheck.agent.md \ https://raw.githubusercontent.com/github/awesome-copilot/main/agents/doublecheck.agent.md - Reload VS Code, or open a new Copilot Chat; custom agents under
.github/agents/are picked up automatically. - Pick this agent from the mode picker in Copilot Chat and paste a draft to confirm it flags unverifiable claims instead of rendering a verdict.
Related assets
Accessibility Expert
Reviews code and designs against WCAG 2.1/2.2, covering semantics, keyboard and focus behavior, forms, media and dynamic SPA updates, and ships framework-specific examples plus a CI setup for automated checks.
Address Comments Agent
Works through pull request review comments one at a time: applies the minimal fix for each, pushes back on comments that don't make sense, adds test coverage, and commits with a descriptive message before moving to the next comment.
ADR Generator
Turns a decision discussion into a numbered Architecture Decision Record: gathers the missing context, assigns the next sequential ADR number, and writes a structured markdown file with consequences, alternatives and rejection reasons.