agentleFS
AdrianParedezAdrianParedez/capability-fabric/skills/verifying-reasoning/SKILL.md

verifying-reasoning

Skill1 starsChanged 6 months agoApache-2.0View on GitHub

A fast, on-demand check that catches wrong answers before they ship, surface assumptions, seek disconfirming evidence, and validate the result against the question. Use before committing to a high-stakes conclusion, an irreversible action, or a final answer. Invoked as a quality gate by decomposing-tasks, progressive-research, guarding-code-quality, and the meta-skills.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Prefer a test over an argument: If you can run the code, query the data, or check the doc, do that, an objective check beats any chain of …

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Verifying reasoning

The costliest failure is a confident wrong answer. This skill is a cheap, deliberate pass that tries to break a conclusion before you rely on it. It has no outgoing dependencies, any skill or tier can invoke it as a gate.

Use this when

  • About to ship a final answer, commit a fix, or take an irreversible action.
  • A conclusion is load-bearing and being wrong is expensive.
  • Sources disagreed, or the reasoning chain was long.
  • Skip for low-stakes, trivially reversible steps, verification has a cost too. Match rigor to stakes.

The check (run in order, stop early if it holds)

- [ ] 1 RESTATE the claim/result and the exact question it answers
- [ ] 2 ASSUMPTIONS list what must be true for it to hold; flag the shakiest
- [ ] 3 DISCONFIRM actively look for evidence/cases it's WRONG (not more support)
- [ ] 4 TEST       if a cheap objective check exists, run it (don't reason about it)
- [ ] 5 EDGE       check boundaries: empty/zero/max/null/concurrent/error paths
- [ ] 6 ALIGN      does the result actually answer the question asked (not a near-miss)?
- [ ] 7 VERDICT    confirmed | confirmed-with-caveats | refuted | unknown -> next step

Principles

  1. Seek disconfirmation, not confirmation. Finding three more reasons you're right is worthless; finding one case where you're wrong is everything. Ask "what would make this false?" and go look for it.
  2. Prefer a test over an argument. If you can run the code, query the data, or check the doc, do that, an objective check beats any chain of reasoning. Reasoning is the fallback when no test exists.
  3. Name the assumptions. Most wrong answers are right given a false premise. Surfacing premises is where errors hide.
  4. Check edges, not just the happy path. Empty input, zero, max, null, off-by-one, concurrency, the error branch. Bugs and bad conclusions cluster at boundaries.
  5. Answer the asked question. A correct answer to a slightly different question is a wrong answer. Re-read the actual ask.
  6. Calibrate effort to stakes. A one-line sanity check for small things; the full pass for irreversible or high-impact ones. Verification is insurance, buy the right amount.
  7. State a verdict, not a vibe. Output one of: confirmed / confirmed-with-caveats / refuted / unknown, and for anything but "confirmed," the next step.

What "disconfirm" looks like

  • Code: write/Find the input that breaks it; run the actual test; check the error path.
  • Research: find a primary source that contradicts the claim; check the version/date.
  • Plan: find the step ordering that causes the dependency to fail.
  • Math/logic: plug in the boundary; check units; re-derive one step independently.

Runtime adaptation

  • Minimum: none for the reasoning pass. If a tool can run a real check, prefer it.
  • This skill is deliberately tool-light so it works identically on Claude Code, Codex, OpenClaw, Hermes, etc. It is the portable quality primitive other skills call.

Files

  • references.md, failure taxonomy, disconfirmation techniques, calibration.
  • examples.md, catching a wrong answer in code, research, and a plan.
  • templates/verification.md, the check to fill in.
  • checklists/quick-gate.md, the 60-second version for medium-stakes calls.
  • benchmarks/, error-catch-rate method.

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.