Harness Drift — Git skill for Claude Code
Continuous-drift sweep — arch warnings, dead code, and Sonar drift outside the PR lifecycle.
How to install Harness Drift
Installs to ~/.claude/commands/2anki-2anki.net-harness-drift.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/2anki/2anki.net/HEAD/.claude/commands/harness-drift.md -o ~/.claude/commands/2anki-2anki.net-harness-drift.md Restart Claude Code, or start a new session, for it to be picked up.
What Harness Drift does
description: Continuous-drift sweep — arch warnings, dead code, and Sonar drift outside the PR lifecycle allowed-tools: Bash, Read, Grep, Glob, Task
The change-lifecycle sensors (`/check`, pre-push hooks, the PR Sonar gate) only see a diff. Some kinds of decay accumulate *between* diffs and no single PR is responsible for them: dead code, slow growth of circular dependencies, dropping test coverage, dependency rot. This command is the health sensor for that drift — run it on a schedule
Alternatives in Git
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Dashclaw Postcommit — Post-commit verification wave — dispatch gate-runner, drift-auditor, and 297 ★
- GitHub Release V0.1.0 — v0.1.0: First Portable CC Harness Skills 233 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Open Contribute
Agent Skills that take you from "I want to contribute to open source" to a submitted pull request — and measur
Claude Rules Doctor
by nulone - CLI that detects dead .claude/rules/ files by checking if paths: globs actually match files in you
Clean Branches
Safely prune merged and stale Git branches: drop dead remote-tracking refs, list merged candidates for review,
Mise Clean
Sweep the project for hygiene cruft — junk tracked in git, backup/scratch files, stale branches and orphaned w
Review All Day
Time-window diff review sweep — scan every commit in a configurable merge-window-aligned span, classify each d
Sweep For Archive
Close-out sweep over a recent window — verify what closed was really delivered, complete anything whose PR mer
Related Agents
Harness Generator
Use this agent when the harness orchestrator dispatches implementation work. The generator builds the applicat
Metago Evolution Expert
Continuous Evolution Expert - specializes in tech debt assessment, iteration planning, optimization suggestion
Pipeline Clerk
Caretake the delivery pipeline: sweep its open pull requests for dead fires and repair them, straighten a stuc