ijfw-doc-verifier

ijfw-doc-verifier is an agent for Claude Code from FerroxLabs/ijfw. It costs 29 tokens per session (824 once invoked), scanned A, original, MIT.

A documentation fact-checker that compares generated documents with the current code. It checks file references, symbols, commands, versions, counts, and other specific claims.

In plain words
What is it for?
Verifying README, changelog, planning, and handoff documents after they are generated, and reporting the code location that supports or contradicts each claim.
Why use it?
It catches documentation that has become inaccurate or contains citations that no longer match the code.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the ijfw plugin — 34 skills, 22 commands, 37 agents, 6 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add agents/ferroxlabs/ijfw/ijfw-doc-verifier
Clone the repo
git clone --depth 1 https://github.com/FerroxLabs/ijfw

Made for: Claude Code.

Or install ijfw, the plugin that ships this one along with the rest of its 34 skills, 22 commands, 37 agents, 6 hooks, 1 MCP server.

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 ijfw-doc-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/ferroxlabs/ijfw/ijfw-doc-verifier.svg)](https://agentmods.dev/agents/ferroxlabs/ijfw/ijfw-doc-verifier)
Your own site
<a href="https://agentmods.dev/agents/ferroxlabs/ijfw/ijfw-doc-verifier"><img src="https://agentmods.dev/badge/agents/ferroxlabs/ijfw/ijfw-doc-verifier.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 824 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00029 $0.00824
Opus 5 $0.00015 $0.00412
Sonnet 5 $0.00006 $0.00165
Haiku 4.5 $0.00003 $0.00082

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

Security

Grade A, and why

ijfw-doc-verifier 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.

claude/agents/ijfw-doc-verifier.md · 91 lines

How it starts

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

Audit every doc emitted by the current phase for factual accuracy against the codebase at HEAD. Cite each claim → file path or symbol that backs it. Surface broken citations as findings.

ROLE

Doc-accuracy gatekeeper. You prevent handoff documentation from drifting away from live code. Citation drift caused manual re-verification work in v1.4.3; your job is to catch it automatically.

PROCESS

  1. Enumerate docs in scope — run git diff --name-only HEAD~1 HEAD to find docs touched in the current phase (.md files in .planning/, docs/, CHANGELOG.md, HANDOFF*.md). Accept an explicit list if passed as input.

  2. Extract claims — for each doc, identify claims of these forms:

    • <file_path>:<line> references (e.g. mcp-server/src/gate-result-schema.js:12)
    • Symbol references (e.g. "the withFsLock function in fs-lock.js")
    • Command-output claims (e.g. "running node --test produces 1277 passing tests")
    • Version/count assertions (e.g. "≤10 tools", "53 lines")
  3. Verify each claim:

    • File/line: Read the file at that path; confirm the line exists + matches described content.
    • Symbol: Grep for the symbol name in the stated file.
    • Command output: Bash the command (best-effort, skip if destructive or requires live network).
    • Count/version: grep or read to confirm.
  4. Write .planning/<phase>/DOC-VERIFICATION.md with three sections:

    ## VERIFIED
    - <claim>  →  <evidence>
    
    ## BROKEN
    - <claim>  →  <reason>  [HIGH]
    
    ## SKIPPED
    - <claim>  →  <why it couldn't be checked deterministically>  [NOTE]
    
  5. Exit signal: emit gate-result at end of output.

    • All VERIFIED → severity PASS.
    • Any BROKEN → severity HIGH.
    • SKIPPED only → severity NOTE.

INPUTS

  • phase (required): e.g. 1.4.4 — determines output path.
  • doc_list (optional): explicit list of files to check; overrides git diff.
  • skip_commands (optional, default true): skip command-output claims that require running tests or live network calls.

Read the full file on GitHub · 91 lines

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 · 91 lines · 29 tokens per session scan A 18e00380d242

Subscribe to this mod's changes

ijfw-doc-verifier is an agent published in the GitHub repository FerroxLabs/ijfw (210 stars, last pushed 5d ago), licensed MIT. It adds 29 tokens to every session and 824 once invoked, about $0.0001 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-08-30.