RMF-Block: Skill for Claude Code

.agents/skills/doc-drift-audit/SKILL.md

doc-drift-audit is a skill for Claude Code, Codex from CBNU-TeamH/RMF-Block. It costs 99 tokens per session (3,193 once invoked), scanned A, original, MIT.

A repository audit for finding disagreements between design documents and the code, repeated facts, and outdated project history. It uses a GitHub checklist for a person to approve corrections before applying them in separate workspaces.

In plain words
What is it for?
Use it to review design documents against the current code, track proposed corrections in GitHub, and apply approved updates safely.
Why use it?
It helps keep documentation accurate as software changes, while leaving a human in control of edits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; installed under .agents/ (shared by several agents).

This is CBNU-TeamH/RMF-Block's own configuration. It tells Claude Code and Codex how to work on RMF-Block itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything RMF-Block configures →

Reuse

Borrowing it

Nothing to install: this file belongs to CBNU-TeamH/RMF-Block. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/CBNU-TeamH/RMF-Block/main/.agents/skills/doc-drift-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/CBNU-TeamH/RMF-Block

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 doc-drift-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/cbnu-teamh/rmf-block/doc-drift-audit/github.svg)](https://agentmods.dev/skills/cbnu-teamh/rmf-block/doc-drift-audit)
Your own site
<a href="https://agentmods.dev/skills/cbnu-teamh/rmf-block/doc-drift-audit"><img src="https://agentmods.dev/badge/skills/cbnu-teamh/rmf-block/doc-drift-audit/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 doc-drift-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/cbnu-teamh/rmf-block/doc-drift-audit"><img src="https://agentmods.dev/badge/skills/cbnu-teamh/rmf-block/doc-drift-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,193 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.00099 $0.03193
Opus 5.5 $0.00040 $0.01277
Sonnet 5.5 $0.00020 $0.00639
Haiku 4.5 $0.00010 $0.00319

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

Security

Grade A, and why

doc-drift-audit 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 10d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/baseline.mjs, scripts/derive-parts.mjs, scripts/extract-facts.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/doc-drift-audit/SKILL.md · 118 lines

How it starts

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

Doc drift audit

A procedure, not a tool. It needs git, gh and node, nothing specific to one agent. Steps that say fan out run one sub-agent per part in parallel if your tool has sub-agents; otherwise run the same parts one after another in a single session — the instructions and outputs are identical.

The coordinator (you) plans, verifies, decides and integrates. Sub-agents find and edit. Never delegate a judgement call (what to fix, which doc owns a fact).

Run every command from the repo root; $SKILL is this skill's directory — .claude/skills/doc-drift-audit (canonical) or its copy .agents/skills/doc-drift-audit; both work. <scratch> is any working directory outside the repo (a session scratchpad, /tmp/…); keep all audit files there, not in the repo.

Single-session mode (no sub-agents): run each fan-out step part by part yourself, still writing every result to its file and keeping only counts in mind before moving on. Do the A/F verification (step 5) as a separate pass that re-reads the files from disk and doubts the findings — ideally in a fresh session, since the same context that wrote a finding is the worst judge of it.

Progress

Copy this into your notes and tick as you go:

- [ ] 0 base commit + issue(s) to close
- [ ] 1 baseline posted on the issue
- [ ] 2 parts.json
- [ ] 3 facts (optional)
- [ ] 4 audit JSON per part
- [ ] 5 verify-AF.json
- [ ] 6 checklist posted, human approval read back
- [ ] 7 edits committed per group, handoffs collected
- [ ] 8 integrated, verified, after-numbers, audit task archived, PR open

Two rules for every step:

  • Precision over recall. A false finding costs a human's attention; a missed one costs nothing until the next audit. An auditor that finds nothing has done a good run.
  • A step that didn't run is not a clean step. If a check, review or verifier couldn't run, say so — never report it as passed.

0. Before you start

  • There is an issue to close: the open drift-audit issue. If that issue's body names another issue as the audit's definition (here it names this skill; older ones named #129), close that too; otherwise there is just the one.
  • Find the issue: gh issue list --label drift-audit --state open — call its number $ISSUE.
  • Record the base commit on an up-to-date main: git fetch && git switch -c docs/drift-audit origin/main && BASE=$(git rev-parse HEAD). Every measurement, sub-agent prompt and worktree uses it.
  • Register the task the repo's way (here: copy tasks/templates/todo.md and tasks/templates/lessons.md to tasks/active/YYYYMMDD-drift-audit-{todo,lessons}.md, then pnpm tasks:index).
  • Name the audit's task doc slug exactly YYYYMMDD-drift-audit (in this repo, scripts/post-merge-reminders.mjs treats that slug as "an audit happened" and resets its count from its archive date).
  • Every prompt you give a sub-agent starts with: check git log --oneline -1 is <sha>; stop and report if not. Worktrees and checkouts drift; this check is what stops an agent from working on a stale base.

Read the full file on GitHub · 118 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. 10d ago Changed · +1 lines 2759c2a69094
  2. 1mo ago First seen · 117 lines · 99 tokens per session scan A bda7c8e6cd2a

Subscribe to this mod's changes

doc-drift-audit is a skill published in the GitHub repository CBNU-TeamH/RMF-Block (3 stars, last pushed 9d ago), licensed MIT. It adds 99 tokens to every session and 3,193 once invoked, about $0.0004 per session on Opus 5.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-10-03.

Related

doc-drift-audit compared with skills from other repositories

doc-drift-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-drift-auditCBNU-TeamH/RMF-BlockSkill39d agoMITA99Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill83k6d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6kyesterdayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA51Claude Code
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
release-helperSahir619/fable-methodSkill2.3k1mo agoMITA43Claude Code