Claude Code mod
migration-guard
Makes Claude ask before it touches your database migrations or runs destructive SQL, with the risk and what it found.
Install
git clone https://github.com/balen-abd/claude-migration-guard.git
claude --plugin-dir ./claude-migration-guard/.The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.
What it can access
- Reach
- L0Draws and remembers: persists state, draws
- Sees
- AskUserQuestion calls, Write calls, Edit calls, /"^(Bash|PowerShell|Monitor)$"/ calls, /"^mcp__"/ calls
- Hooks
session.starttool.callcommand.run
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- balen-abd/claude-migration-guard
- Folder
.- Author
- Balen
- License
- MIT
- Last updated
- 5 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is migration-guard?
Makes Claude ask before it touches your database migrations or runs destructive SQL, with the risk and what it found. It is a mod for Claude Code, from balen-abd/claude-migration-guard on GitHub.
What can the migration-guard mod access?
Its widest reach is "draws and remembers" (persists state, draws). It sees AskUserQuestion calls, Write calls, Edit calls, /"^(Bash|PowerShell|Monitor)$"/ calls, /"^mcp__"/ calls. Like any mod, it runs with your permissions.
How do I install migration-guard?
Clone balen-abd/claude-migration-guard and start Claude Code with --plugin-dir pointing at the mod's folder (.).
More guard & safety mods
mermaid-render
maxp-riot/mermaid-render
Draws the ```mermaid blocks of Claude's replies as images in the terminal, in light or dark, and opens them in Excalidraw
mode-gate
MarcusJellinghaus/claude-mode-gate
A Claude Code mod with switchable permission profiles: a safe baseline and named profiles you switch on and off. Bash that no active rule allows asks. For other tools the mod adds only its own rules and guards; Claude Code's own verdict applies to the rest.
mermaid-inline
Conte777/claude-mermaid
Mermaid diagrams in Claude Code: every ```mermaid block Claude writes is drawn as a picture right where the fence was in the transcript, with an open-SVG button, and as box art where the terminal cannot show pictures. Fork of galElmalah/claude-mods claude-mermaid. Needs function hooks (early access), node and resvg.
model-guard
Recokioshi/claude-kit
Choose the model versions Claude and its subagents may use: /models lists the newest of each family from Anthropic's Models API (older versions one key away); block a version, or a family's new ones, and subagents, workflows and /model asking for it are refused or moved to an allowed version. One list shared by every Claude Code window on the machine; a repo can keep its own.
merge-watch
b00y0h/merge-watch
A panel that groups every open merge request or pull request by whether it can merge, shows failing jobs, and can retry or merge after you confirm. Refreshed once a minute.
nvda-status
lbk2907/nvda-status
Claude Code for NVDA users on Windows: spoken announcements (finished, question, permission, background task), /time, /read and /quiet, a status line with working time and tokens, and a popup to answer Claude's questions from any app
Browse the most popular Claude Code mods, all guard & safety mods, or the skills and MCP server directories.