Skip to content

Use fixlock with your AI assistant ​

fixlock plugs into AI coding assistants in up to three ways:

What it doesWorks in
MCP serverThe assistant asks fixlock before editing: "may I change these lines?" and gets a verdict (ok, warn, ask, block) with the reason and owner.Claude Code, Cursor, GitHub Copilot (VS Code), Codex, Gemini CLI, Windsurf, any MCP client
Rules fileThe assistant's own instructions file tells it to check before rewriting working code, and lists the current locks.12 assistants (see AI tools)
Pre-edit hookThe edit is intercepted before it happens, even if the assistant forgets to check.Claude Code

Behind all of them, the git hooks warn at commit time and CI blocks reverting PRs until the owner approves, whatever tool wrote the code.

Set up ​

bash
npx fixlock setup claude-code   # or: cursor, copilot, codex, gemini, windsurf, all

Prefer clicks? The VS Code extension shows locks in the editor, warns as you type, and connects Copilot agent mode automatically.

AssistantGuide
Claude CodeClaude Code
CursorCursor
GitHub CopilotGitHub Copilot
OpenAI CodexCodex
Anything else with MCPMCP server reference

MIT licensed · A product of Algotricz