supabase-automation
Skill by benjaminasterA
Automate Supabase database queries, schema inspection, SQL execution, project administration, storage buckets and edge function listing through Rube MCP. Intended for developers who manage Supabase projects with an AI assistant.
Install supabase-automation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills /tmp/antigravity-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/antigravity-awesome-skills/skills/supabase-automation ~/.claude/skills/supabase-automationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills /tmp/antigravity-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/antigravity-awesome-skills/skills/supabase-automation ~/.gemini/antigravity-cli/skills/supabase-automationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install supabase-automation in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an AI assistant a set of workflows for Supabase. It covers querying and managing database tables, inspecting table schemas, running SQL, listing organizations and projects, checking service health, and listing edge functions and storage buckets. The skill works through Composio's Supabase toolkit, accessed via the Rube MCP server. It tells the assistant to call RUBE_SEARCH_TOOLS first to get current tool schemas.
The skill includes prerequisites, setup steps, tool sequences, parameter notes and a list of known pitfalls. Examples cover project reference formats, PostgreSQL array syntax, case-sensitive identifiers and handling of API keys. It is written for developers and database administrators who use Supabase and want an assistant to help with routine queries and inspections.
Written from the project's SKILL.md and checked against it.
What it can do
- SUPABASE_LIST_ALL_PROJECTSLists projects to find the target project reference.
- SUPABASE_LIST_TABLESLists tables and views in the database, with optional metadata.
- SUPABASE_GET_TABLE_SCHEMASReturns column types, constraints, relationships and indexes for tables.
- SUPABASE_SELECT_FROM_TABLEQueries rows with filtering, sorting and pagination.
- SUPABASE_BETA_RUN_SQL_QUERYExecutes SQL statements, with an option to force read-only mode.
- SUPABASE_LIST_ALL_ORGANIZATIONSLists organizations with their IDs and slugs.
- SUPABASE_GETS_PROJECT_S_SERVICE_HEALTH_STATUSChecks the health of selected Supabase services.
- SUPABASE_LIST_ALL_FUNCTIONSLists edge functions with metadata. Read-only, no code or logs.
- SUPABASE_LISTS_ALL_BUCKETSLists storage buckets. Does not return bucket contents.
- SUPABASE_GENERATE_TYPE_SCRIPT_TYPESGenerates TypeScript types from the schema of selected schemas.
What you need
- Rube MCP server added as an MCP server at https://rube.app/mcp
- An active Supabase connection through RUBE_MANAGE_CONNECTIONS
- Supabase authentication completed through the link Rube returns
- Supabase organization or project access rights for admin tools
Try asking
- List my Supabase projects and show the tables in the production one
- Get the schema for the users and orders tables in my project
- Run a read-only SQL query that counts rows in each public table
Good to know
- SELECT_FROM_TABLE is read-only; writes need RUN_SQL_QUERY.
- Complex DDL operations may time out after about 60 seconds.
- Edge function tools are read-only and cannot create or deploy functions.
- The source marks the skill's risk level as unknown.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/supabase-automation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to supabase-automation
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-automation: common questions
Does this skill need a Supabase API key?
The source says the Rube MCP endpoint needs no API keys. It requires an active Supabase connection through RUBE_MANAGE_CONNECTIONS, which uses the Supabase authentication link.
Can it deploy edge functions?
No. The source says the edge function tools only list and inspect functions, and cannot create or deploy them.
Are API keys shown in full?
The source says GET_PROJECT_API_KEYS returns live secrets and that full key values should never be logged, displayed or persisted. It advises masking or truncating keys in output.
How do I install supabase-automation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supabase-automation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is supabase-automation safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, 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-automation?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
