forge-docdrift

forge-docdrift is a skill for Claude Code, Codex from ForgeyClap/claude-forge. It costs 51 tokens per session (1,778 once invoked), scanned A, original, MIT.

A checking tool that compares claims in your skills with the external documentation they cite, such as Claude Code or n8n documentation. It looks for changes that make those claims outdated.

In plain words
What is it for?
Use it before major n8n work or when checking whether cited sources still support your skills and docs.
Why use it?
It helps prevent instructions from relying on documentation that has changed or no longer supports them.

Skill for Claude CodeCodex

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 skills/forgeyclap/claude-forge/forge-docdrift
Any agent
npx skills add ForgeyClap/claude-forge --skill forge-docdrift
Clone the repo
git clone --depth 1 https://github.com/ForgeyClap/claude-forge

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 forge-docdrift

README.md
[![agentmods](https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-docdrift.svg)](https://agentmods.dev/skills/forgeyclap/claude-forge/forge-docdrift)
Your own site
<a href="https://agentmods.dev/skills/forgeyclap/claude-forge/forge-docdrift"><img src="https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-docdrift.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,778 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 $0.00051 $0.01778
Opus 5 $0.00026 $0.00889
Sonnet 5 $0.00010 $0.00356
Haiku 4.5 $0.00005 $0.00178

Measured 4d ago against content hash f105c0f11876, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

forge-docdrift 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 4d 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/skills/forge-docdrift/SKILL.md · 105 lines

How it starts

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

Forge playbook — Docdrift (external-doc claim drift detection)

Do not duplicate existing tools — this is a NEW, narrow capability. It does not replace forge-scout (external-capability research/vetting) or forge-audit-loop (this project's own internal health) — it only watches whether an external page a skill/doc CITES still backs up the claim made about it.

Provenance (honesty)

This tool's IDEA came from researching shanraisshan/claude-code-best-practice (an external community repo) — the Lead approved adopting the underlying idea ("keep external docs and our own claims about them in sync") as one of 3 GH-research winners. No code was copied. forge-bin/forge-docdrift.cjs is a Forge-native reimplementation built from scratch around this project's own conventions (zero-dep, config/orchestration/*.json seed + .claude/forge-research/* state/ledger, log-event.cjs's existing audit_finding event type, the same injectable-fetcher hermetic-test seam every other network-touching forge-bin tool uses). Provenance: PATTERN_ADAPTED (see the global research-recovery policy's honesty vocabulary) — the pattern was adapted, not the implementation.

What it does

forge-bin/forge-docdrift.cjs check [--source <id>] [--json] [--run <run_id>] reads config/orchestration/docdrift-sources.json — a seeded list of REAL claims this project's own skills/docs make that depend on an external, changeable page (an official Claude Code doc page, an n8n node doc page). For each claim it fetches the real source_url (following redirects, timeout-bounded, zero-dependency node:https/node:http) and searches the raw response body for every one of that claim's check_tokens.

Every claim is classified against its own persisted history in .claude/forge-research/docdrift-state.json:

  • OK — tokens found, claim was not drifted last known check.
  • NEW-DRIFT — a token is missing, claim was NOT drifted before (first time this claim looks stale).
  • RECURRING — a token is missing again, same as last known check (a standing, already-reported gap).
  • RESOLVED — tokens found again after a prior drift (the doc caught back up, or the claim was fixed).
  • UNREACHABLE — the fetch failed/timed out/returned non-2xx. Never counts as drift — the last KNOWN drift state is left exactly as it was. A network hiccup is not proof the docs changed.

Read the full file on GitHub · 105 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. 4d ago First seen · 105 lines · 51 tokens per session scan A f105c0f11876

Subscribe to this mod's changes

forge-docdrift is a skill published in the GitHub repository ForgeyClap/claude-forge (2 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 1,778 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-08-31.