claude-md-drift-check

claude-md-drift-check is a skill for Claude Code from Kanevry/session-orchestrator. It costs 196 tokens per session (422 once invoked), scanned A, original, MIT.

A consistency checker for project instructions such as CLAUDE.md or AGENTS.md and the repository's current state. It checks whether documented paths, counts, issue references, session files, commands, and configuration still match reality.

In plain words
What is it for?
Use it to audit repository instructions, refresh stale references, verify expected files and commands, and check that session configuration agrees with its required template.
Why use it?
Project instructions become unreliable when the codebase changes but the documentation does not. This helps find those mismatches before they mislead people or coding agents.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [`skills/claude-md-drift-check/SKILL.md`](../../../skills/claude-md-drift-check/SKILL.md); read that file for the full instructions..

Part of the session-orchestrator plugin — 53 skills, 31 commands, 17 agents, 10 hooks, 1 MCP server shipped together

Good fit Use it to audit repository instructions, refresh stale references, verify expected files and commands, and check that session configuration agrees with its required template.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Kanevry/session-orchestrator
agentmods
npx agentmods add skills/kanevry/session-orchestrator/claude-md-drift-check

Made for: Claude Code.

Or install session-orchestrator, the plugin that ships this one along with the rest of its 53 skills, 31 commands, 17 agents, 10 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 claude-md-drift-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanevry/session-orchestrator/claude-md-drift-check/github.svg)](https://agentmods.dev/skills/kanevry/session-orchestrator/claude-md-drift-check)
Your own site
<a href="https://agentmods.dev/skills/kanevry/session-orchestrator/claude-md-drift-check"><img src="https://agentmods.dev/badge/skills/kanevry/session-orchestrator/claude-md-drift-check/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 claude-md-drift-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanevry/session-orchestrator/claude-md-drift-check"><img src="https://agentmods.dev/badge/skills/kanevry/session-orchestrator/claude-md-drift-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 196 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 422 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 9
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 13
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00196 $0.00422
Opus 5.5 $0.00078 $0.00169
Sonnet 5.5 $0.00039 $0.00084
Haiku 4.5 $0.00020 $0.00042

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

Security

Grade A, and why

claude-md-drift-check 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 22d 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.

.agents/skills/claude-md-drift-check/SKILL.md · 19 lines

What it actually says

claude-md-drift-check

Portable mirror — generated, do not edit. The canonical workflow lives at skills/claude-md-drift-check/SKILL.md; read that file for the full instructions. This mirror carries only agentskills.io-spec-legal frontmatter so harnesses that discover skills under .agents/skills/ can find and route to the skill.

Regenerate with node scripts/generate-agents-skills.mjs.

Read the linked document in full and follow its complete workflow, including prechecks and stop conditions. Resolve its link relative to this SKILL.md, not the project working directory. The plugin root is three directories above this file. Resolve package paths such as skills/ and scripts/ from that root and relative links in the canonical document from its own directory. Keep the user’s project as the target of project operations.

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. 22d ago Changed · +1 lines c2048fe04887
  2. 26d ago Changed · +6 tokens per session 21afe134fccd
  3. 1mo ago Changed · +2 lines 1f02fefd41c2
  4. 1mo ago Changed · +2 lines 2f9cd9226dcd
  5. 1mo ago First seen · 14 lines · 190 tokens per session scan A 1b518c6816a6

Subscribe to this mod's changes

claude-md-drift-check is a skill published in the GitHub repository Kanevry/session-orchestrator (52 stars, last pushed today), licensed MIT. It adds 196 tokens to every session and 422 once invoked, about $0.0008 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-08-30.

Related

Other skills, from other repositories

postmortem

Auto-generates a structured postmortem from a completed campaign. Reads the campaign file, telemetry logs, and feature ledger. Produces a documented analysis of what broke, what the safety systems caught, and what patterns emerged. Can also be invoked manually for any incident.

SethGammon/Citadel · 58 tokens

systematic-debugging

4-phase root cause analysis: observe, hypothesize, verify, fix. Enforces investigation before any code changes. Emergency stop after 2 failed fixes. Prevents shotgun debugging and fix cascades.

SethGammon/Citadel · 45 tokens

root-cause

Find the mechanism behind a failure instead of patching its symptom - reproduce first, one variable per experiment with the prediction written before the run, exit by naming the mechanism and pinning it with a failing test. Use for a bug, an unexplained red test, or a failure that will not reproduce.

jjanczur/tyran · 61 tokens

defect-hunting

Use when reviewing code, auditing an app, writing a guard rule or test, or certifying any threshold/constant/formula. Finds the defects a diff review structurally cannot see — the second write path, the mis-calibrated constant, the rule that cannot fail. Triggers from code-reviewer, /app-audit, qa-engineer…

vmobifystudio/app-dev-team · 96 tokens

mutation-testing

Use when adding or reviewing a gate, guard rule, CI grep, or test assertion in this plugin's own scripts — and whenever a suite is green and you need to know whether that means anything. Runs scripts/mutate.sh, which breaks the code on purpose and reports which assertions failed to notice. Triggers from code-reviewer…

vmobifystudio/app-dev-team · 83 tokens

performance-review

Use as a review dimension on any diff that could cost startup time, frames, memory, battery, bandwidth or bundle size — by code-reviewer during review and by web-developer and test-automation-engineer before claiming a UI or harness ticket done. The studio's position is that this is a dimension with existing auditors…

vmobifystudio/app-dev-team · 75 tokens