Getting Started

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:

1
npx skills add supabase/agent-skills

To install a specific skill from the repository:

1
npx skills add supabase/agent-skills --skill SKILL_NAME

Skills 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#

SkillDescriptionInstall command
supabaseUse 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-practicesPostgres 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:

1
npx skills find QUERY

Learn more#