
Intent drift
Checks whether pending code changes still match the original request before more edits
Intent drift is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 41.7K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Intent drift
This skill has the agent compare the working-tree and staged changes in a git repository against the request it was given, and flag edits that the acceptance check does not need. It starts by writing down the request and the test or behavior that decides completion, then confirms the test suite passes before judging anything.
The review reads every pending source, including staged-only changes and new untracked files, and splits each hunk into smaller logical changes. Each change is labeled required or out of scope, with security and input-validation constraints treated as required and flagged for human review. The output is a fixed report ending in a verdict such as on track, drifted, or inconclusive.
The skill uses only git and the project's existing test command, and it does not install or run external scoring packages. It expects a git repository and a runnable acceptance check. When drift is found, it reverts only the out-of-scope changes and reruns the tests, and it avoids deleting untracked files without asking.
When your agent uses it
Use when the user asks whether current work still matches the original request, or when an agent has made several edits and is about to continue. Compares the working-tree diff against the stated request and lists out-of-scope changes before more edits are made.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (18 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/intent-drift to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/intent-drift &&
cp -R "$tmp/skills/intent-drift" ~/.claude/skills/intent-drift &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/intent-drift inside it instead.
Copy the skill folder to ~/.agents/skills/intent-drift to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/intent-drift &&
cp -R "$tmp/skills/intent-drift" ~/.agents/skills/intent-drift &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/intent-drift inside it instead.
Copy the skill folder to ~/.cursor/skills/intent-drift to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/intent-drift &&
cp -R "$tmp/skills/intent-drift" ~/.cursor/skills/intent-drift &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/intent-drift inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/github/awesome-copilot.git --path skills/intent-driftOr copy the folder to ~/.gemini/skills/intent-drift yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/intent-drift:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/intent-drift &&
cp -R "$tmp/skills/intent-drift" ~/.copilot/skills/intent-drift &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/intent-drift inside it instead.
Get the folder:
git clone --depth 1 https://github.com/github/awesome-copilot.gitThen copy awesome-copilot/skills/intent-drift into your agent's skills folder as intent-drift. Agents that support SKILL.md read one folder per skill.
What it does
- Request and acceptance check
- Records the original request in one sentence and names the test or behavior that decides whether it is done.
- Complete change inventory
- Reviews unstaged, staged and untracked files so no pending edit is missed.
- Hunk-level classification
- Splits hunks into smaller changes and labels each as required or out of scope.
- Test integrity guard
- Treats weakened, skipped or deleted tests as drift unless the user asked for that change.
- Security constraint protection
- Keeps authorization, validation and secret handling changes and flags them for review.
- Guided correction
- Reverts only out-of-scope changes from the index and working tree, then reruns the acceptance check.
Good for
- Check whether my current changes still match what I originally asked for
- Review the diff before continuing after several agent edits
- Find unrelated refactors or comment changes mixed into a bug fix
- Revert out-of-scope edits while keeping the changes the tests need
Intent drift FAQ
What does the skill need to run?
It uses git and the repository's existing acceptance command, such as its test suite. It does not install or run external scoring packages.
When does Intent drift trigger?
When the user asks whether the work still matches the original request, or when an agent has made several edits and is about to continue.
What happens if the tests already fail?
The skill reports an inconclusive verdict, shows what is failing, and pauses before reverting anything, since there is no passing baseline.
Will Intent drift delete untracked files?
Not by default. It removes an untracked file only if the task created it and it is clearly not user-authored work; otherwise it keeps the file and asks first.
How do I install Intent drift in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/intent-drift to use it in all your projects, or to .claude/skills/intent-drift in one project.
Does Intent drift run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Intent drift?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Intent drift?
The closest alternatives to Intent drift are Project review, Code review expert, Harness review, Review and Safe change.
Where this comes from
- Description: from the skill's own SKILL.md.
More from github/awesome-copilot

A DevOps checklist for deploys, Docker, Kubernetes, CI/CD, rollback and mobile releases
- Open source
- 41.7K GitHub stars
- Cloud and infrastructure

Guides Qdrant scaling when data outgrows a node: tenants, time windows or sharding
- Open source
- 41.7K GitHub stars
- Knowledge and memory

Explains Qdrant's per-shard query subsampling for large limits across many auto-shards
- Open source
- 41.7K GitHub stars
- Knowledge and memory

Lets an agent build and edit Power Apps canvas apps through FlowStudio MCP
- Open source
- 41.7K GitHub stars
- Developer tools

Ground rules for an agent editing Power Apps canvas apps through FlowStudio MCP
- Open source
- 41.7K GitHub stars
- Developer tools

Lets an agent inspect, audit and diagnose Power Apps canvas apps via FlowStudio MCP
- Open source
- 41.7K GitHub stars
- Developer tools





