Agent Skills
Agent Skills are folders of instructions, scripts, and resources that agents can discover and use to do things more accurately and efficiently. Agents are increasingly capable, but often don't have the context they need to do real work reliably. Skills solve this by giving agents access to procedural knowledge and company-, team-, and user-specific context they can load on demand. Agents with access to a set of skills can extend their capabilities based on the task they're working on.
Installing skills#
Install all Supabase skills using the skills CLI:
1npx skills add supabase/agent-skillsTo install a specific skill from the repository:
1npx skills add supabase/agent-skills --skill SKILL_NAMESkills are installed at project scope by default, placing them in your repository so contributors and cloud agents all share the same setup. Pass --global to install across all your projects instead.
Add skills for all detected agents at the same time by passing --all. See the skills package for more options.
You can also install the agent skills together with the Supabase MCP server using the Supabase Plugin for AI Coding Agents for a combined one-step setup.
Available skills#
| Skill | Description | Install command |
|---|---|---|
| supabase | Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js, @supabase/ssr) in Next.js, React, SvelteKit, Astro, Remix; auth issues (login, logout, sessions, JWT, cookies, getSession, getUser, getClaims, RLS); Supabase CLI or MCP server; schema changes, migrations, security audits, Postgres extensions (pg_graphql, pg_cron, pg_vector). | npx skills add supabase/agent-skills --skill supabase |
| supabase-postgres-best-practices | Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations. | npx skills add supabase/agent-skills --skill supabase-postgres-best-practices |
Finding more skills#
Browse the skills.sh directory to discover skills from the community. You can also search for skills using the CLI:
1npx skills find QUERY