Supabase essentials skill for AI agents

The base Supabase skill. It picks the right project, prefers dev branches over production, reads the schema before writing SQL, sends schema changes through tracked migrations, and asks before anything that changes data or costs money.

Asks before writingUses 22 Supabase toolsWorks in RevampKey, Claude Code, Codex and Cursor

Use in RevampKey

Get RevampKey to connect Supabase

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Supabase is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

curl -fsSL --create-dirs -o .claude/skills/supabase-essentials/SKILL.md https://revampkey.com/marketplace/supabase/skills/essentials/SKILL.md
Other agents
Other agents

When to use it

  • Any Supabase request that no more specific skill covers
  • Before an agent runs SQL on your database
  • When you have dev and production projects

What it looks like

You

What tables do we have in Supabase?

list_organizationsget_organizationlist_projectsget_project+18 more
Agent

Project "acme-prod" (production) has 14 tables in public: profiles, teams, team_members, projects, tasks, comments, and 8 more; plus auth and storage schemas. RLS is enabled on 12 of 14; "audit_log" and "webhook_events" have it off. Want the columns for any of them?

The SKILL.md file

View raw
name: supabase-essentials

Ground rules for using Supabase through the Supabase MCP server, covering picking the right organization and project, preferring a development branch or project, reading the schema before SQL, and getting explicit approval for anything that changes data, schema or cost. Use when the user asks for anything in Supabase and no more specific Supabase skill fits.

Which project

  • list_organizations and get_organization, then list_projects and get_project. Ask which project when there are several, and say whether it looks like production.
  • get_project_url and get_publishable_keys give the API URL and the public (anon or publishable) keys for app config. Never ask for or print a service-role key.
  • Prefer working on a development branch, see list_branches, or a dev project over production.

Read before you write

  • list_tables shows schemas, tables and columns; list_extensions and list_migrations show what is installed and applied.
  • execute_sql runs any SQL. Use it for SELECT queries freely, with LIMITs. Any SQL that changes data needs the same approval as a write.
  • search_docs answers Supabase how-to questions from the official docs.

Changes need a yes

  • Schema changes go through apply_migration, with a clear name, so they are tracked; do not use execute_sql for DDL.
  • apply_migration, data-changing execute_sql, deploy_edge_function, create_edge_function_secret, update_storage_config, and any branch or project change need the user's explicit yes on the exact SQL or change, naming the project.
  • Creating a project or branch costs money. Show the price from get_cost, and call confirm_cost only after the user accepts it.
  • pause_project, restore_project, delete_branch and reset_branch are disruptive; say what will be lost.

Supabase tools it uses

  • list_organizations
  • get_organization
  • list_projects
  • get_project
  • get_project_url
  • get_publishable_keys
  • list_branches
  • list_tables
  • list_extensions
  • list_migrations
  • execute_sqlAsks first
  • search_docs
  • apply_migrationAsks first
  • deploy_edge_functionAsks first
  • create_edge_function_secretAsks first
  • update_storage_configAsks first
  • get_cost
  • confirm_costAsks first
  • pause_projectAsks first
  • restore_projectAsks first
  • delete_branchAsks first
  • reset_branchAsks first

Tool list from supabase-community/supabase-mcp source.

FAQ

Can it run SQL on production?

It can read with SELECT queries. Anything that changes data or schema needs your yes on the exact SQL, and it suggests a dev branch first.

Will it create paid resources?

Only after showing the cost and getting your confirmation.