Keystone Check Drift

Run the drift hook on the current diff — fast pre-verify check that loaded charter rules still match what the code is doing. Triggers: keystone check-drift; keystone:check-drift; /keystone:check-drift; check drift; run drift hook; drift check.

44 stars 3 forksData & Analytics

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add tacoda/keystone --skill keystone-check-drift
Manual install
git clone --depth 1 https://github.com/tacoda/keystone.git /tmp/keystone
mkdir -p ~/.claude/skills
cp -r /tmp/keystone/.agents/skills/keystone-check-drift ~/.claude/skills/keystone-check-drift

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# keystone:check-drift — fast pre-verify drift check

Compares the in-progress diff against loaded charter rules. Fires
before the full computational hook suite. It catches the obvious case
where the agent is implementing something the rules explicitly
disallow.

Hook
contract at `.agents/hooks/drift.md`. Full discipline at
`.agents/rules/process/implementation.md`.

## Run

**Run the drift hook on the current diff.** Compare the in-progress changes against loaded charter rules. Fast pre-verify check. Read [`.agents/hooks/drift.md`](../../hooks/drift.md) and [`.agents/rules/process/implementation.md`](../../rules/process/implementation.md).

## Activities

1. **Identify the diff** — `git diff`, the staged changes, or the in-progress edits. The list of changed files is the **touched-files set** for this command.
2. **List which rules apply** — load `.agents/rules/idioms/<stack>/*.md` for each touched stack, plus `.agents/rules/process/implementation.md` and any rules from installed policies (`.keystone/policies/*/rules/`). If a candidate declares `paths:` in frontmatter, keep it only when at least one touched file matches. Rules without `paths:` always apply.
3. **Compare diff to rules** — line by line, surface violations or hot drift signals. Report a rule's findings only against files matching its `paths:`, or against all touched files when it has no `paths:`.
4. **Report findings** — one bullet per drift. Cite the rule that was violated.

## When to invoke
Read the full skill on GitHub

Details

Skill name
keystone-check-drift
Path
.agents/skills/keystone-check-drift/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Keystone Check Drift skill do?

Run the drift hook on the current diff — fast pre-verify check that loaded charter rules still match what the code is doing. Triggers: keystone check-drift; keystone:check-drift; /keystone:check-drift; check drift; run drift hook; drift check.

How do I install the Keystone Check Drift skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add tacoda/keystone --skill keystone-check-drift. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Keystone Check Drift popular?

It lives in tacoda/keystone, which has 44 GitHub stars and 3 forks.

Related skills

Keystone Allocate

44

tacoda/keystone

Move an existing agent setup into the charter and cut always-loaded context: run keystone allocate, review its classifications, then apply. Triggers: keystone allocate; keystone:allocate; /keystone:allocate; convert my .claude setup; migrate .cursorrules; trim CLAUDE.md; reduce context bloat.

AI, LLMs & Agents

Keystone Audit

44

tacoda/keystone

Full dual-flywheel audit — Learning (capture from review) + Pruning (remove dead rules). Periodic charter hygiene. Triggers: keystone audit; keystone:audit; /keystone:audit; run audit; audit the charter; dual flywheel audit.

Data & Analytics

Keystone Bootstrap

44

tacoda/keystone

One-time initial charter scaffold — detect stack, seed state, scaffold idioms, classify hooks, build the globs index. Triggers: keystone bootstrap; keystone:bootstrap; /keystone:bootstrap; run bootstrap; bootstrap the charter; bootstrap the keystone charter; first-time setup.

Data & Analytics

Scrapegraph AI

57

javimosch/supercli

Use this skill when the user wants to use Scrapegraph-ai for Python scraper based on AI.

Data & AnalyticsIn 1 list

Calcium Imaging Analysis Guide

43

NeuroAIHub/awesome_cognitive_and_neuroscience_skills

Domain-validated pipeline guidance for calcium imaging data analysis: motion correction, ROI extraction, neuropil correction, spike inference, and quality control

Data & Analytics

Cogsci Power Analysis

43

NeuroAIHub/awesome_cognitive_and_neuroscience_skills

Domain-specific statistical power analysis guidance for cognitive and neuroscience research, encoding effect size priors and sample size recommendations by modality

Data & Analytics

Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.