by dadbodgeoff
Codebase intelligence for AI. Detects patterns & conventions + remembers decisions across sessions. MCP server for any IDE. Offline CLI.
# Add to your Claude Code skills
git clone https://github.com/dadbodgeoff/driftGuides for using mcp servers skills like drift.
Last scanned: 5/6/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-06T06:32:11.452Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}See how drift compares with popular alternatives.
drift is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by dadbodgeoff. Codebase intelligence for AI. Detects patterns & conventions + remembers decisions across sessions. MCP server for any IDE. Offline CLI. It has 796 GitHub stars.
Yes. drift passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/dadbodgeoff/drift" and add it to your Claude Code skills directory (see the Installation section above).
drift is primarily written in Rust. It is open-source under dadbodgeoff on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh drift against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
The convention lockfile for AI agents: mined from your code, approved by you, checked in your agents and CI.
Drift is a command-line tool that reads a repository and learns the conventions
the code already follows, such as the wrapper every API route uses, the guard
every server action calls or the layout every page renders. You confirm them;
Drift then tells coding agents about the ones you accepted (a suggestion also
needs drift review --show-to-agents) and reports new code that breaks them, and blocks only the ones you set to block. It ships no
predefined rules, runs no AI in the check path, and never sends your source
code anywhere: it reads the working tree and writes under .drift/ and
drift.lock.
Status: beta. Drift learns the conventions of TypeScript, JavaScript and Python code, shows them to you first, tells coding agents only about the ones you accept, and plugs into Claude Code, pre-commit, GitHub code scanning and any MCP client.
- Agents see only what a person accepted, and chose to show. Default-tier proposals are block candidates: they reach agents once you accept them (decision D13). A suggestion (every Python convention is one) reaches agents only after
drift review --show-to-agents <id>, unless its rule family is admitted (none is today).- Nothing blocks unless a person sets it to block.
- Mined Python proposals are on by default, as suggestions only (
proposals: {python: off}turns them off). A blind check of 11 cards decided the default; it is not a held-out result.- Review every proposal. On repositories Drift was not tuned on, about half of the default-tier cards (7 of 15) and 6 of 7 shown suggestions were right: small samples, and below the ≥ 95% release gate. See How accurate is it? and Accuracy and limits.
Documentation. This page is the front door. The full guide is the wiki
pages under docs/wiki/: start at Home, or
go straight to Getting started,
Drift in CI, Team rollout,
the command reference or
Troubleshooting.
Drift does five things, all locally. It mines the conventions your code
follows and proposes them as rules for you to review (drift init,
drift census, drift review, drift check). It maps what the code does
per route for authentication, authorization, error handling, logging, validation
and more (drift practices). It inventories entry points with their guards
and where they are reachable from (drift security). It gives agents a
file's place and rules (drift card, drift mcp, the Claude Code hooks). And it
asks the few questions only a person can answer, such as whether a compose
file deploys anything (drift setup).
How sure are the answers? Not equally. Exposure (internet-facing, internal,
unknown) and error handling are in good shape. For authentication and
authorization, known is proven, but on code Drift was not tuned on a share of
none answers (and some known) are wrong: independent, unseen test suites
found 9% to 15% of soundness checks (about one in seven to one in eleven)
wrong on first contact. Read
none and internal as "nothing found in what Drift read": a finding to check,
not a fact. unknown means Drift could not tell and says why; it is common, and
it is the honest answer. Mined conventions are proposals, and about half of the
default-tier ones were wrong out of sample, which is why a person reviews every
one. Details: Accuracy and limits and
Accuracy and Limits.
Nothing is published yet: there is no npm package and no release archive. Until
the first release, use one of the two paths below. Both end at drift --version.
A binary a teammate gave you. It must be built for your operating system and
CPU. Put it in a directory on your PATH and make it executable:
mkdir -p ~/.local/bin
cp ./drift ~/.local/bin/drift && chmod +x ~/.local/bin/drift
drift --version
If drift is not found, add ~/.local/bin to your PATH. Install it as
drift on your PATH, not only in one directory: the Claude Code hooks and the
pre-commit hooks run drift from your PATH.
Build from source. From a checkout of this repository, with Rust 1.97
(rust-toolchain.toml pins it, and rustup fetches it the first time you run
cargo inside the checkout):
cargo install --locked --path crates/drift-cli # a release build: several minutes
This installs the drift binary into ~/.cargo/bin, which rustup puts on your
PATH.
drift --version
After the first release. Neither of these works today (the npm package returns 404 and no archive exists):
npm install -g @dadbodgeoff/drift # prebuilt binary, no install scripts
A beta (prerelease) version will be published under npm's next dist-tag, not
latest: npm install -g @dadbodgeoff/drift@next. For a one-off run without
installing, npx @dadbodgeoff/drift census. Plain npx drift runs a
project-local install only; without one, npm would fetch an unrelated package
named drift.
Each GitHub Release will have one archive per platform,
drift-vX.Y.Z-<target>.tar.gz (targets x86_64-unknown-linux-musl,
aarch64-unknown-linux-musl, x86_64-apple-darwin, aarch64-apple-darwin,
x86_64-pc-windows-msvc), each holding the one drift (or drift.exe)
binary, plus SHA256SUMS and SLSA build provenance. Verify, then put it on
your PATH:
sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify drift-vX.Y.Z-<target>.tar.gz --repo dadbodgeoff/drift
tar -xzf drift-vX.Y.Z-<target>.tar.gz && mv drift ~/.local/bin/ # any directory on PATH
The binaries are not code-signed or notarised; the checksums and provenance are what you can verify. See RELEASING.md.
Run these in the repository you want Drift to learn, on a clean working tree. Nothing leaves your machine, nothing reaches an agent until a person accepts it (a suggestion needs one more step, below), and nothing blocks until you say so.
drift census # preview: what Drift would propose; writes nothing
drift init # write the proposals to .drift/conventions.yaml, baseline drift.lock
On a small synthetic Next.js-style repository with 40 route handlers, 38 of them
wrapped in withAuth() (the one npm/dry-run.sh builds), drift init prints:
Drift read 71 files of TypeScript and JavaScript. Nothing left this machine.
What the code does (read from the code: facts, not rules)
40 http entry points
sign-in: wrapped in withAuth in 38; nothing found in 2 (of 40)
permissions: nothing found in 38 (of 38 where a caller is or may be signed in)
errors: left to the framework in 40 (of 40)
responses: built with Response.json in 40 (of 40)
Worth a look first
1. sign-in: no guard found in what Drift read, in 2 places (e.g. app/api/r38/route.ts:1 GET); make the usual way the rule for new code: drift practices promote P-0f0acb --in .
`drift security` lists every entry point with its guard and what it reaches. `drift practices promote --list` lists the practices you can make a rule for new code.
Conventions
1 proposed (1 default tier, 0 suggestions). Nothing is checked and no agent is told of one until you decide (`drift review`); an accepted convention advises unless you set it to block.
Default tier: block candidates, each reaches agents once you accept it, and may block once accepted (`drift review`, b)
1. [D-37416b] HTTP handlers in app/** (route files) are wrapped in withAuth()
evidence: 38/40 (lower bound 0.83, lift 1.8)
tier: default
agents: not shown to agents (block candidate: reaches agents once you accept it)
example: app/api/r00/route.ts#GET
outlier: app/api/r38/route.ts:1 GET
outlier: app/api/r39/route.ts:1 GET
Wrote .drift/conventions.yaml and drift.lock (2 existing violations recorded, so only new ones are reported).
Next
drift review accept or reject the 1 proposal
drift practices the whole map, with a file to copy for each way
drift security entry points, their guards and the risky operations they reach
Tip: add `drift.lock merge=union` to .gitattributes so branches never conflict on the lock.
The first part is what Drift read in the code, whether or not it has anything to
propose: each kind of entry point, how its members sign a caller in, check
permissions, handle errors and answer, and the few things most worth a look.
These are facts, not rules: nothing checks them until a person promotes one
(below). Conventions is what Drift
proposes to check from now on, and Next lists only the commands that have
something to do here. drift init --explain adds the long account: what the
show policy held back and why, package by package.
Everything starts as a proposal, and a proposal is not checked at all. Read each card's outliers: if the