ethereumdegen/stark-bot/supabase-cli
Claude Code and agent skill by ethereumdegen/stark-bot
- community
Checking that the SKILL.md file is still in the repository.
Manage Supabase projects - databases, migrations, edge functions, storage, and secrets using the Supabase CLI.
Install
npx vskill@latest install ethereumdegen/stark-bot/supabase-cliSKILL.md
Supabase Integration
Manage your Supabase projects using the Supabase CLI. Run SQL queries, manage migrations, deploy edge functions, handle secrets, and more.
Authentication
First, check if SUPABASE_ACCESS_TOKEN is configured:
If not configured, ask the user to create a Personal Access Token at https://supabase.com/dashboard/account/tokens and add it in Settings > API Keys as SUPABASE_ACCESS_TOKEN.
The SUPABASE_ACCESS_TOKEN env var is automatically injected into all exec commands.
Prerequisites
Ensure the Supabase CLI is installed:
Supabase CLI is installed by the supabase_cli module. If missing, reinstall via manage_modules(action="install", name="supabase_cli").
Operations
1. List Projects
2. Link to Project
Link the current workspace to an existing Supabase project. The project ref is the unique ID found in your project's dashboard URL.
3. Database Status
Inspect the linked database:
4. Run SQL Query
Execute a SQL query against the linked project:
For queries against a specific project (without linking):
5. Pull Schema / Create Migration
Pull the current remote schema into a local migration file:
Generate a diff-based migration from local changes:
6. Push Migrations
IMPORTANT: Confirm with the user before pushing migrations.
Push local migrations to the remote database:
7. Generate TypeScript Types
Generate TypeScript types from the database schema:
8. Inspect Queries
View long-running queries:
View most frequently called queries:
View table sizes:
9. Deploy Edge Functions
IMPORTANT: Confirm with the user before deploying.
Deploy an edge function:
List deployed functions:
10. Manage Secrets
List all secrets:
Set a secret:
IMPORTANT: Confirm with the user before modifying secrets.
For multiple secrets:
11. Storage Operations
List files in a storage bucket:
Copy a file to storage:
12. Create New Project
Create a new Supabase project. This is a multi-step workflow.
IMPORTANT: Confirm the project name, organization, region, and database password with the user before proceeding.
Step 1: Define the tasks
Call define_tasks with all steps upfront so progress is tracked:
Step 2: List organizations
Step 3: Create the project
Common regions: us-east-1, us-west-1, eu-west-1, ap-southeast-1.
Step 4: Link to the new project
Step 5: Set secrets (if needed)
Use operation #10 to set any secrets the project needs.
Step 6: Verify project
Then inspect the database:
Error Handling
| Error | Cause | Solution | |
|---|---|---|---|
Unauthorized | Token is invalid/expired | Regenerate PAT at https://supabase.com/dashboard/account/tokens | |
Cannot find linked project | No project linked in current directory | Use supabase link --project-ref REF first | |
Permission denied | Token lacks access to the project | Verify token owner has access to the project/org | |
Migration conflict | Remote has changes not in local | Run supabase db pull first, then resolve conflicts | |
Function deploy failed | Build error in edge function | Check function code for syntax errors | |
supabase: command not found | CLI not installed | Report to admin — should be pre-installed in Docker |
Typical Workflow
- Verify auth —
supabase projects list - Link to project —
supabase link --project-ref REF - Check database —
supabase inspect db info - Take action — run queries, push migrations, deploy functions (confirm with user first)
Best Practices
- Always verify auth first before running other commands
- Link before acting — use
supabase linkso commands target the right project - Confirm mutations — always ask the user before pushing migrations, deploying functions, or modifying secrets
- Pull before push — run
supabase db pullbeforesupabase db pushto avoid conflicts - Be careful with secrets — they may contain sensitive values, don't log them unnecessarily
- Use `--project-ref` for one-off commands against a specific project without linking
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmodules/supabase_cli/skill.md
Popularity
- Repository stars
- 46
- Repository forks
- 20
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ethereumdegen/stark-bot/supabase-cli)