agentleFS
89jobrien89jobrien/godmode/skills/doublecheck/SKILL.md

godmode:doublecheck

Skill1 starsChanged 57 days agoMITView on GitHub

Three-layer verification pipeline for AI-generated output. Extracts every verifiable claim, searches for supporting or contradicting sources, runs an adversarial hallucination review, and produces a structured report with source links for human review. Use after any response that contains citations, statistics, legal/regulatory analysis, or specific factual claims you intend to rely on. Also use inline after your own substantive responses when accuracy matters.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a three-layer verification pipeline on AI-generated output.

    line 17
  2. Distinctive:

    After producing any response containing citations, statistics, legal or regulatory claims, case references, or specific factual assertions

    line 23
  3. Distinctive:

    When the user says "doublecheck that", "verify that", or "full report"

    line 25
  4. Distinctive:

    Before committing analysis, recommendations, or sourced content to a plan or document

    line 26
  5. Distinctive:

    Read the file named in a row before doing the step in its right column.

    line 31
  6. Very specific:

    Source verification: Search for each claim, record the URL, and treat citations as the highest-risk category.

    line 50
  7. Distinctive:

    Do not rely on a claim's own confidence.

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Doublecheck

Run a three-layer verification pipeline on AI-generated output. The goal is not to declare what is true — it is to extract every verifiable claim, surface sources the user can check independently, and flag hallucination patterns before they propagate.

When to Run

  • After producing any response containing citations, statistics, legal or regulatory claims, case references, or specific factual assertions
  • When the user says "doublecheck that", "verify that", or "full report"
  • Before committing analysis, recommendations, or sourced content to a plan or document
  • Any time a response felt confident about something specific — confidence is not accuracy

Reference files

Read the file named in a row before doing the step in its right column. These files are not loaded automatically.

FileRead before
references/layer-1-self-audit.mdstarting a run: extracting claims, checking internal consistency, initial confidence
references/layer-2-source-verification.mdsearching for sources, or checking a citation against its source
references/layer-3-adversarial-review.mdthe adversarial pass, or the hallucination pattern checklist
references/layer-3-adversarial-questions-and-red-flags.mdasking the adversarial questions for a major claim, or deciding which red flags to escalate
references/layer-3-deep-matrix.mdrunning with --deep, which requires the per-claim pattern matrix
references/report-and-ratings.mdwriting the report, choosing a confidence rating, or adding the limitations disclosure
references/verification-report-template.mdlaying out the report itself
references/claim-categories.mdclassifying a claim when the category is unclear
references/domain-guidance.mdthe output is legal, medical or scientific, financial or regulatory, or technical and security

Layer summary

  1. Self-audit (no web search). Extract claims as C1, C2, ..., check them against each other, and record initial confidence from internal knowledge. See layer-1-self-audit.md.
  2. Source verification. Search for each claim, record the URL, and treat citations as the highest-risk category. A citation that cannot be found is FABRICATION RISK. See layer-2-source-verification.md.
  3. Adversarial review. Assume the output is wrong and check every claim against the seven hallucination patterns. Escalate red flags prominently. See layer-3-adversarial-review.md.

With --deep, render the per-claim matrix from layer-3-deep-matrix.md.

Output

Produce the report with references/verification-report-template.md, using the confidence ratings and report principles in references/report-and-ratings.md. Always append the limitations disclosure from that file. Lead with the highest-severity findings.

Key rules

  • Provide links, not verdicts. The user decides what is true.
  • A Y in the fabrication or precise-number columns escalates to FABRICATION RISK.
  • Present both sides when sources conflict. Do not pick a winner.
  • Say what could not be checked. "Could not verify" is different from "this is wrong."
  • Do not rely on a claim's own confidence. Confidence is not accuracy.

Related

  • skills/systematic-debugging/SKILL.md — same evidence-first posture applied to code
  • skills/code-review/SKILL.md — adversarial review applied to implementation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.