safe-sql-execution
A maintainer skill in the Supabase monorepo that the agent loads before writing Supabase Studio code that builds, fetches, stores or runs SQL.
What the skill teaches
A maintainer skill in the Supabase monorepo that the agent loads before writing Supabase Studio code that builds, fetches, stores or runs SQL. Its rule is that people may run SQL they wrote themselves, but SQL that outside input such as URL parameters or model output could shape must never run on its own. Fragments are typed as safe, untrusted or user-written; values go through identifier, literal and keyword helpers; saved snippets stay untrusted; and promotion of untrusted SQL is allowed only inside a click handler, never in queries, render code or effects. The execution function accepts only safe fragments, so the type checker enforces this, and analytics log queries use a separate type and lint rule.
Capabilities
- Sort SQL into safe, untrusted and user-written
- Escape identifiers and literals before interpolation
- Keep untrusted SQL out of automatic execution
- Apply the same rules to analytics log queries
About
- Publisher
- Supabase
- Tool
- Supabase
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tools | Supabase, Code review | |
| Publisher | Supabase | source |
| Official status | Officialin Supabase's own monorepo; a maintainer skill for Supabase's code, not for Supabase users | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026114,826 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from Supabase
1 server · 17 skills
- Supabase (MCP server)
- supabase-postgres-best-practices (Skill)
- supabase (Skill)
- supabase-server (Skill)
- clickhouse-logs-queries (Skill)
- edit-the-docs (Skill)
Also listed under: Code review
Sources
- Skill file (SKILL.md)github.com/supabase/supabase · Backs: Official status, Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/supabase/supabase · Backs: Licence, Publisher, ActivityNov 11, 2026
- Folder in the repository (safe-sql-execution)github.com/supabase/supabase · Backs: Includes scriptsNov 10, 2026