Drift Detector for Claude Code
3 skills that stop Claude Code from editing files you didn't ask it to touch.
Claude edits adjacent files. It refactors things while fixing a bug. It declares done before checking the original request. Drift Detector fixes this with a scope declaration system: you define what will change before work starts, audit mid-task, and verify before accepting done.
3 Claude Code skills:
/scope-declare - Lists every file Claude will touch and what will change in each. Run before any task. Creates the contract for the session.
/drift-check - Audits what actually changed vs what was declared. Flags unauthorized edits mid-task before they compound.
/self-verify - Re-reads your original request, checks every requirement was met, confirms no scope creep. Only then declares done.
Also includes:
Pre-edit hook: fires before every Write/Edit operation, warns when Claude is about to touch a file outside the declared scope. Non-blocking by default, change to hard-block with one line.
QUICKSTART.md with 5-minute install guide.
Setup: 3 skill files to ~/.claude/skills/, 1 hook script to .claude/hooks/. 5 minutes.
Works immediately in any Claude Code project.
$15 one-time. No subscription.