All shelves / Mods / Safety
supabase-guard
By Szotasz
supabase-guard is a Claude Code safety mod by Szotasz.
Asks before a Supabase write aimed at another project, or a destructive call, and stops the call when you refuse.
DrawsHolds a command
Install
The marketplace name is claude-mods.
claude plugin marketplace add Szotasz/claude-mods claude plugin install supabase-guard@claude-mods
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.0
- Repo stars
- 6
- Last change
- 2026-10-07
What it can reach
- Draws in the session
- Holds a command
- Sees tool calls
The popup's words are Hungarian when the system language is Hungarian, and English otherwise. The plugin's own page is the Hungarian section of the root README. It stops a Supabase call that would write somewhere other than this folder's project, and asks in a popup. The folder's project comes from supabase/.temp/project-ref, from https://<ref>.supabase.co URLs in .env files, from CLAUDE.md when it names a single project id, and from a ref you confirm as this folder's project. A write aimed at another project asks, for MCP execute_sql, apply_migration, deploy_edge_function, branch operations, and supabase db push --project-ref. The choices are Deny, Allow, or This is the folder's project. A destructive call on the folder's own project also asks: DROP, TRUNCATE, DELETE FROM, an UPDATE without WHERE, REVOKE, turning RLS off, reset_branch, delete_branch, pause_project, and supabase db reset --linked. If the folder has no known project, a write asks, and one choice is Allow for this session. A read of another project still runs, and the model is warned not to draw a conclusion about the wrong project. If the check fails, the call does not run. /supaor turns it on or off, and the toolbox can too. The warning note is added to what the model reads.
The marketplace name is claude-mods. The marketplace also holds public-repo-guard, decision-popup, and project-pane. This one installs on its own. The question before a Supabase write is why this page files it under safety. blast-radius holds a shell command such as rm -rf, a force push, a hard reset, or a migration, shows what it would touch, then asks you to proceed or cancel. guard-pack holds file tools and shell moves that leave the project's roots, asks before a production deploy, and redacts secrets in a tool result before Claude reads it. Nothing else on the shelf checks which Supabase project a call is aimed at. The source starts it on until the stored choice says otherwise. Nothing in the plugin sends the call, the SQL, or the project id to Supabase or any other service.
Demo

What it hooks into
session.startWhen a session startscommand.runWhen you run its slash command/supaorstate.setA Claude Code eventtool.callAround a tool call, where it can hold oneBash
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/supaor
Files
The author's source, 3 files. They load when you open them.
Facts
- Author
- Szotasz
- Category
- Safety
- Marketplace
- claude-mods
- Folder
- plugins/supabase-guard
- Version
- 0.1.0
- Repo stars
- 6
- Last change
- 2026-10-07
- Language
- TypeScript
- Files
- 6