anti-confabulation

anti-confabulation is a skill for Claude Code, Codex from 0ryant/engineering-doctrine. It costs 68 tokens per session (992 once invoked), scanned A, original, Apache-2.0.

A checklist for agents that produce software or other build artefacts. It separates intended work from what was actually created, rechecked, independently verified, and left unverified.

In plain words
What is it for?
It is for code generation, implementation work, evidence-pack creation, and other tasks where the final artefact must be checked before completion is reported.
Why use it?
It reduces false completion reports by requiring inspection, repeatable checks, and clear disclosure of failures or unknowns. It also challenges the result with tests meant to expose problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for code generation, implementation work, evidence-pack creation, and other tasks where the final artefact must be checked before completion is reported.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0ryant/engineering-doctrine/anti-confabulation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 0ryant/engineering-doctrine --skill anti-confabulation
Clone the repo
git clone --depth 1 https://github.com/0ryant/engineering-doctrine

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for anti-confabulation

README.md
[![agentmods](https://agentmods.dev/badge/skills/0ryant/engineering-doctrine/anti-confabulation/github.svg)](https://agentmods.dev/skills/0ryant/engineering-doctrine/anti-confabulation)
Your own site
<a href="https://agentmods.dev/skills/0ryant/engineering-doctrine/anti-confabulation"><img src="https://agentmods.dev/badge/skills/0ryant/engineering-doctrine/anti-confabulation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for anti-confabulation

Your own site · 80×15
<a href="https://agentmods.dev/skills/0ryant/engineering-doctrine/anti-confabulation"><img src="https://agentmods.dev/badge/skills/0ryant/engineering-doctrine/anti-confabulation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 992 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.00992
Opus 5 $0.00034 $0.00496
Sonnet 5 $0.00014 $0.00198
Haiku 4.5 $0.00007 $0.00099

Measured 6d ago against content hash a4fa59fc9a88, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

anti-confabulation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

doctrine/skills/anti-confabulation/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Anti-Confabulation Skill

Kind: optional, estate-evaluated build-class support Authority: advisory; never approval or verification authority

Purpose

Help an artefact-producing agent distinguish what it intended, what it actually materialised, what it re-checked, and what remains unverified.

Instructions

The fenced block below is the priming block. Its SHA-256 is pinned in the front matter and checked by the sibling verifier pack's priming_active assertion.

Before reporting completion:
1. Inspect every required output at its declared path.
2. Re-run reproducible checks against the materialised output.
3. State missing evidence, failed checks, and untested boundaries plainly.
4. Attempt the strongest safe challenge likely to falsify the result.
5. Separate self-assessment from independent verifier, reviewer, and policy decisions.
6. Never translate absent, untrusted, or inconclusive evidence into pass.

Run-Contract Use

context:
  skills:
    - [email protected]
verifiers:
  - [email protected]

An estate may inject this skill automatically only through a versioned policy whose supporting evaluation, model/task scope, owner, and review date are addressable. The expanded run contract must show the injection.

Required Independent Checks

  • required artefacts exist and are non-empty where appropriate;
  • declared validation commands execute with recorded inputs and versions;
  • changed outputs are bound to the candidate being reviewed;
  • limitations and unresolved findings are retained; and
  • a verifier or reviewer independent of the producing execution evaluates the material claims.

Failure Handling

  • Missing or altered priming context: mark_untrusted or fail_loud according to estate materiality.
  • No executable priming_active verifier: inconclusive.
  • Output missing or behavioural check failed: use the underlying verifier's failure verdict; the prompt block cannot waive it.

Read the full file on GitHub · 103 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 103 lines · 68 tokens per session scan A a4fa59fc9a88

Subscribe to this mod's changes

anti-confabulation is a skill published in the GitHub repository 0ryant/engineering-doctrine (5 stars, last pushed 3d ago), licensed Apache-2.0. It adds 68 tokens to every session and 992 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories