Supabasepedro_rodriguesAnnouncement
AI Agents Know About Supabase. They Don't Always Use It Right.
Summary
Supabase is releasing Supabase Agent Skills, an open-source instruction set for AI coding agents working with Supabase through Claude Code, Codex, GitHub Copilot, Cursor, and compatible Agent Skills implementations. The skill addresses recurring errors such as omitted RLS policies, hallucinated CLI commands, views missing security_invoker = true, and reliance on outdated training data by requiring documentation checks and embedding critical security guidance in SKILL.md. It also guides CLI and MCP workflows and recommends direct schema changes on local or staging databases, followed by database advisors and a migration after the schema stabilizes. Early evaluations across six scenarios found MCP + Skill scores of 67% for Claude Opus 4.6, 71% for Claude Sonnet 4.6, 88% for Codex GPT-5.4, and 71% for GPT-5.4 Mini, though the sample was small.
Context
AI agents often know Supabase concepts but use them incorrectly: they may skip RLS policies, invent unavailable CLI commands, create views without security_invoker = true, or rely on training data instead of current documentation. The post also notes that agents may ignore reference files and fail to discover available documentation tools.
Approach / What changed
Supabase Agent Skills places critical guidance in an approximately 100-line SKILL.md file. It directs agents to verify current documentation, discover CLI commands through --help, troubleshoot MCP connections, follow an opinionated local or staging schema workflow, and apply an inline security checklist. Agents can modify schemas directly, run database advisors after stabilization, and then commit a migration.
Takeaways
The skill requires agents to check current Supabase documentation through MCP search_docs, markdown documentation fetches, or web search, rather than relying on potentially outdated training data.
Its inline security checklist covers user_metadata authorization, service_role exposure, security_invoker for views, SELECT policies for UPDATE, Storage upsert permissions, and JWT revocation when deleting users.
In early tests, MCP + Skill outperformed both the baseline and MCP-only conditions for every listed model, reaching 88% for Codex GPT-5.4; the results came from a small sample.
Source and freshness
- Source
- supabase.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.