supabase
Skill by stagewise-io
Gives an AI assistant access to the Supabase Management API to run SQL, list projects, and manage edge functions, secrets, and migrations. Built for developers who manage Supabase projects with a stored Personal Access Token.
Install supabase
Built from the published package, never by AI.
git clone --depth 1 https://github.com/stagewise-io/stagewise /tmp/stagewise && mkdir -p ~/.claude/skills && cp -r /tmp/stagewise/apps/browser/bundled/plugins/supabase ~/.claude/skills/supabaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/stagewise-io/stagewise /tmp/stagewise && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/stagewise/apps/browser/bundled/plugins/supabase ~/.gemini/antigravity-cli/skills/supabaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The Supabase skill gives an AI assistant access to the Supabase Management API using a stored Personal Access Token. It can list and inspect projects, run SQL against a project database, and generate TypeScript types from the database schema. It can also list, create and manage edge functions, manage project secrets, list and apply database migrations, and retrieve API keys and configuration.
The skill reads the token from the credential store and sends authenticated requests to api.supabase.com. Most calls need a project ref, which the assistant can find by listing projects. The guide also covers health checks, performance and security advisors, and common SQL patterns for exploring tables, columns, foreign keys, indexes and RLS policies. It is aimed at developers and operators who work with Supabase projects from an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- List and inspect projectsLists projects the token can access and returns details for a specific project.
- Run SQL queriesRuns arbitrary SQL against a project's Postgres database, with a read-only option for SELECT queries.
- Generate TypeScript typesGenerates TypeScript type definitions from the current database schema.
- Manage edge functionsLists, inspects and deletes edge functions for a project.
- Manage project secretsLists secret names, creates secrets and deletes secrets.
- Manage database migrationsLists migrations and creates new migrations from SQL statements.
- Check project healthRetrieves project health status, disk utilization and performance and security advisor lints.
- Retrieve API keys and configReturns project API keys and PostgREST and Postgres configuration.
What you need
- Supabase Personal Access Token
- Supabase account
- Stored credential named supabase-pat in Settings
Try asking
- List my Supabase projects and their regions
- Show the tables and columns in my public schema
- Run a read-only query for the 10 newest users
Good to know
- Run SQL uses full database privileges, so destructive queries should be confirmed first
- The Management API has no publicly documented rate limits, so requests should be kept reasonable
- SQL results can be large and should use LIMIT clauses
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: apps/browser/bundled/plugins/supabase/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
logo.svg972 B -
metadata.json255 B
Alternatives to supabase
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
supabase: common questions
Where do I get the Supabase token for this skill?
The guide says to create a Personal Access Token at supabase.com/dashboard/account/tokens and store it in Settings.
Can the assistant change data with this skill?
Yes. The standard query endpoint runs INSERT, UPDATE, DELETE and DDL statements, while the read-only endpoint is intended for SELECT queries.
How does the assistant find a project ref?
The ref appears in the dashboard URL, or the assistant can list projects through the Management API to find it.
How do I install supabase?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supabase free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is supabase safe to use?
It scores 86 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to supabase?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
