Supabase Sql
Provides Supabase guidance and assistance for working with databases and data persistence.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add supabase-sql npx -- -y @trustedskills/supabase-sql
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"supabase-sql": {
"command": "npx",
"args": [
"-y",
"@trustedskills/supabase-sql"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to interact with and query Supabase databases using SQL. It enables agents to retrieve, insert, update, and delete data within a Supabase environment. The agent can execute complex queries and manage database operations programmatically.
When to use it
- Data Retrieval: An agent needs to fetch customer order history from a Supabase database for analysis.
- Content Management: An agent is tasked with updating product descriptions in a content management system powered by Supabase.
- Automated Reporting: Generate daily sales reports directly from the data stored within a Supabase database.
- Inventory Management: An agent needs to update inventory levels after processing new orders received through an application connected to Supabase.
Key capabilities
- SQL Query Execution: Executes SQL queries against a Supabase database.
- Data Manipulation: Performs insert, update, and delete operations on data within the database.
- Database Interaction: Provides programmatic access to Supabase databases.
Example prompts
- "Retrieve all users from the 'users' table where their email address contains '@example.com'."
- "Insert a new record into the 'orders' table with order details like customer ID, product name, and quantity."
- “Update the price of item ‘XYZ’ in the products table to $19.99.”
Tips & gotchas
- Requires proper Supabase API keys and database credentials for authentication.
- Be mindful of SQL injection vulnerabilities when constructing queries dynamically; sanitize user inputs appropriately.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.