drift-check
Skill3 starsChanged 3 months agoMITView on GitHub
Report-only health check that mechanically detects spec-vs-reality drift in the skills estate: merged-but-unreleased plugin content, dangling file references in skill docs, and registry mismatches between skills/ dirs and marketplace.json. Operator-invoked via /drift-check. Findings only — never edits anything it finds. Use to audit the skills estate for drift between what's merged/on-disk and what's released/documented/registered.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- scoobydrew83/skillstheir own version, first seen Nov 3, 2026
- nadavnaveh/skillstheir own version, first seen Oct 25, 2026
- majiayu000/test-looptheir own version, first seen Oct 13, 2026
- aribajahan/claude-skillstheir own version, first seen Sep 23, 2026
- DarynaRodriguez/seo-skillstheir own version, first seen Aug 27, 2026
- ngreenwall/claude-skillstheir own version, first seen Jul 9, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- sparkline-ventures/product-eval★ 15same name
- HaipingShi/coderail★ 8same name
- broomva/skills★ 4same name
- nadavnaveh/skills★ 2same name
- ngreenwall/claude-skills★ 2same name
- DarynaRodriguez/seo-skills★ 1same name
- marky291/claude-drift★ 1same name
- aribajahan/claude-skills★ 0same name
- majiayu000/test-loop★ 0same name
- scoobydrew83/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- cadence-goalsSkill
- ci-feedback-loopSkill
- compoundSkill
- decision-rights-doctrineSkill
- diataxisSkill
- dispatch-gateSkill
- family-checkSkill
- fix-then-re-review-ladderSkill
- github-projectsSkill
- gitSkill
- goal-treeSkill
- handoffSkill
- improvement-loopSkill
- kb-captureSkill
- kb-compileSkill
- kb-coreSkill
- kb-lessons-bridgeSkill
- kb-lintSkill
- l1-supervisorSkill
- l2-supervisorSkill
- lessons-learnedSkill
- lN-lifecycle-doctrineSkill
- lN-review-doctrineSkill
- medical-recordsSkill
- operator-interview-doctrineSkill
- operator-interviewSkill
- operator-reviewSkill
- planning-workflowSkill
- pr-review-fanoutSkill
- pull-taskSkill
- ralph-wiggumSkill
- reviewSkill
- root-cause-depthSkill
- scan-documentSkill
- self-improvementSkill
- self-verifySkill
- skillifySkill
- task-workflowSkill
- testing-without-mocksSkill
- vault-cloudSkill
- verify-inherited-premiseSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 65
Check 2 (dangling references) is deliberately high-precision, not high-recall: it only matches backtick-quoted or …
- Distinctive: line 79
Check 1 assumes a roughly linear (rebase-merged) history on the checked-out branch, matching this repo's convention.
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Drift Check
On-demand, report-only health check over the skills estate itself — the plugin repo's own
spec-vs-reality drift, not the KB (contrast with kb-lint, which audits KB notes). Mechanically
detects three classes of drift the plugin can silently accumulate between releases and
between doc edits:
- Unreleased plugin content — commits touching
skills/**or.claude-plugin/**merged after the last version-bump commit to.claude-plugin/plugin.json. A non-empty result means.claude-plugin/plugin.json's version understates what's actually on the branch. - Dangling file references — a
SKILL.mdoroperations/*.mddoc referencing a repo-relative or${CLAUDE_PLUGIN_ROOT}-relative path that no longer exists (renamed, moved, or deleted without updating the doc that pointed at it). - Registry mismatches — a directory under
skills/absent from.claude-plugin/marketplace.json'sskillsarray, or a registry entry pointing at a directory that doesn't exist.
This skill is report-only: it never edits or fixes anything it finds. It exists to make drift visible; the operator (or a follow-up PR) decides what to do about it.
Billing posture
/drift-check is operator-invoked and interactive → subscription billing pool. No
scheduled pass (same billing-guard rationale as /kb-lint).
Invocation
/drift-check # check the whole skills estateExecution
- Load the operation:
Read(${CLAUDE_PLUGIN_ROOT}/skills/drift-check/operations/check.md) - Execute it (runs the deterministic script, emits the findings report).
- Emit the findings report. Do not edit anything the checks find — report only.
Integration Points
drift-check's own script —${CLAUDE_PLUGIN_ROOT}/skills/drift-check/scripts/drift_check.py(all three checks; stdlib-only, zero-dependency, matcheskb-core's convention).
Tests
cd skills/drift-check/scripts && python3 -m unittest test_drift_checkStdlib unittest (zero-dependency), exercising the real git binary against real fixture
repos — no mocks (matches kb-lint/scripts/test_kb_lint_git.py's convention).
Known limitations
- Check 2 (dangling references) is deliberately high-precision, not high-recall: it only
matches backtick-quoted or
${CLAUDE_PLUGIN_ROOT}-relative paths that contain a/and end in a real file extension. References inside fenced code blocks, prose without backticks, or paths without an extension are not scanned. This trades missed edge cases for avoiding false positives across the corpus (same trade-off documented incheck-allowed-tools.py's R4). - Bare backtick
`scripts/...`references are ambiguous between a skill's ownscripts/subdirectory and the repo's top-levelscripts/maintainer tooling — both conventions exist in this repo. Both candidates are tried before flagging dangling, so this doesn't false-positive, but a reference could in principle resolve to the "wrong" one of two files that both happen to exist. - Illustrative example paths in doc prose (e.g. a placeholder skill name in a shell snippet) can false-positive as dangling references — this check has no way to distinguish a template placeholder from a real reference.
- Check 1 assumes a roughly linear (rebase-merged) history on the checked-out branch, matching this repo's convention; it does not attempt merge-commit-specific traversal.
See Also
skills/kb-lint— the closest sibling (report-only checker, deterministic scripts + agent-orchestrated operation doc); audits KB notes rather than the plugin repo itself.skills/kb-core— the zero-dependency stdlib-only script convention this skill follows.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

