Kipt

Supabase skill: the official agent skill for every Supabase task

The official Supabase skill gives your coding agent a security checklist, CLI and MCP gotchas, and a schema change workflow for Supabase. Install and use it.

By the Kipt team · Updated 24 October 2026

Source: supabase/agent-skills · Maintainer: Supabase · License: MIT · Checked: 24 October 2026

What is the Supabase skill?

The Supabase skill is the official supabase Agent Skill from Supabase: one skill that your coding agent loads for any Supabase work, from Auth and Row Level Security to migrations, Edge Functions and debugging. Install it with npx skills add https://github.com/supabase/agent-skills --skill supabase.

Its SKILL.md description opens: "Use when doing ANY task involving Supabase." It then lists triggers across Supabase products, client libraries such as supabase-js and @supabase/ssr, auth issues, the CLI and MCP server, schema changes, Postgres extensions, and errors such as "RLS surprises" and "schema cache issues."

It is the second skill in the repo, next to Postgres best practices. As of 24 October 2026, its skills.sh page listed 340.9K installs (snapshot, 24 October 2026).

What does it do?

The SKILL.md is built around six core principles, then sections on the CLI, the MCP server, docs, schema changes and debugging.

Core principles.

  1. Check what changed. "Do not rely on training data for Supabase features." The agent fetches https://supabase.com/changelog.md, scans for breaking-change tags, then reads the relevant docs.
  2. Verify your work. "A fix without verification is incomplete."
  3. Don't loop. If an approach fails after two or three attempts, stop and try a different method.
  4. Exposing tables to the Data API. New tables may not be exposed automatically, so anon and authenticated may need explicit grants. That is separate from RLS.
  5. RLS in exposed schemas. Enable RLS on every table in any exposed schema, including public, with policies that match the real access model.
  6. Security checklist. Run it for anything touching auth, RLS, views, storage or user data.

The security checklist is the part most worth reading. Examples:

Trap What the skill says
user_metadata in authorization User-editable; use app_metadata instead
Deleting a user Does not invalidate existing access tokens
service_role key in a client Never; prefer publishable keys, and remember any NEXT_PUBLIC_ variable reaches the browser
Views Bypass RLS by default; use security_invoker = true on Postgres 15 and above
UPDATE with no SELECT policy Silently updates 0 rows
auth.role() Deprecated; use TO authenticated or TO anon
TO authenticated alone Authentication without authorization; add an ownership check in USING
UPDATE policies Need both USING and WITH CHECK
SECURITY DEFINER functions Bypass RLS; never add one to fix a permission error
Storage upsert Needs INSERT, SELECT and UPDATE

CLI and MCP. The CLI rule is "Always discover commands via --help" and never guess, because the command structure changes between versions. It notes that supabase db query needs CLI v2.79.0 or later and supabase db advisors needs v2.81.3 or later, with MCP fallbacks. For the MCP server it gives four troubleshooting steps, ending with scoped personal access token permissions.

Schema changes. The agent first checks whether the project uses declarative schemas (supabase/schemas/) or imperative migrations. For migrations it iterates with execute_sql or supabase db query, avoids apply_migration on a local database, runs advisors, then generates the file with supabase db pull <descriptive-name> --local --yes.

Debugging. On any Supabase error, the agent "must" read Supabase's Monitoring and Debugging docs before proposing a fix.

The folder also has references/skill-feedback.md and assets/feedback-issue-template.md, which let the agent, with your permission, draft a GitHub issue to the maintainers when the skill gives wrong guidance, plus a CHANGELOG.md.

How do you install it?

The repo README and Supabase's AI skills docs list these routes.

Just this skill. The command on skills.sh:

npx skills add https://github.com/supabase/agent-skills --skill supabase

The README's shorter form, npx skills add supabase/agent-skills --skill supabase, does the same. Drop --skill to install both Supabase skills. Add -g (or --global) to install for all projects; the folder then lands in ~/.claude/skills/supabase/ instead of .claude/skills/supabase/, the standard Claude Code skill locations.

Claude Code plugin.

claude plugin marketplace add supabase/agent-skills
claude plugin install supabase@supabase-agent-skills

Updates. Supabase's docs say the skills are updated frequently and give npx skills update to pull new versions.

Codex and Cursor read the same SKILL.md format; see Codex skills and Cursor skills. For the MCP server itself, follow Supabase's MCP setup guide.

How do you use it?

The skill loads on its own for Supabase work. Example prompts (suggestions, not quotes from the repo):

  • Help me set up Supabase Auth with Next.js (one of the README's own examples)
  • Add a profiles table with RLS so users can only read and edit their own row.
  • My update query returns no error but changes nothing. Check the RLS policies.
  • Review our views and functions against the Supabase security checklist.
  • Turn the schema changes I made locally into a migration file.

Requirements: a Supabase project, and either the Supabase CLI (recent enough for db query and db advisors) or the Supabase MCP server. For CI and agents, the skill recommends a scoped personal access token over the classic token that supabase login creates in the browser, because a classic token carries full account access.

Tips and limits

  • It acts on your database. No scripts ship with the skill, but it tells the agent to run SQL and CLI commands. Point it at a local or branch database first.
  • Docs access matters. The skill expects the agent to fetch the changelog and docs pages. Without network access you still get the checklist and workflows.
  • Frontmatter version lags. The SKILL.md metadata says 0.1.2 while the folder's changelog reaches 0.1.9 (28 September 2026), so go by the changelog.
  • Audits. On 24 October 2026, skills.sh showed Pass from Gen Agent Trust Hub and Socket, and Warn from Snyk (audited 2 October 2026) for third-party content exposure, scored low risk because it reads Supabase's own docs.
  • License. MIT: copy and change it, keeping the copyright notice.

Save it in your Kipt library

In Kipt, open Skills and paste the skill's GitHub folder link into the import box. Kipt reads the SKILL.md with its references and assets; paste the repo link instead and it shows both Supabase skills to pick from. Your skills stay in a private GitHub repo you own and install into Claude Code or Codex with one command:

npx skills add https://github.com/<you>/<repo>.git --all -g

Kipt is not affiliated with Supabase.

Similar skills

Questions

What is the Supabase skill?

It is the supabase skill in Supabase's official supabase/agent-skills repo. It covers any Supabase task: Database, Auth, Edge Functions, Realtime, Storage, the CLI, the MCP server, migrations and debugging. It tells the agent to check the changelog and current docs first and includes a Supabase-specific security checklist.

How do I install the Supabase skill?

Run npx skills add https://github.com/supabase/agent-skills --skill supabase, or npx skills add supabase/agent-skills to get both Supabase skills. In Claude Code you can add the marketplace with claude plugin marketplace add supabase/agent-skills and run claude plugin install supabase@supabase-agent-skills.

What is the difference between the supabase skill and supabase-postgres-best-practices?

The supabase skill covers working with Supabase products, the CLI, the MCP server, auth and debugging. supabase-postgres-best-practices is a set of Postgres performance guidelines from Supabase, with references across eight categories such as query performance, connection management and RLS. You can install both.

Does the Supabase skill need the Supabase MCP server?

No, but it uses it when available. For documentation the skill prefers the MCP search_docs tool, then fetching docs pages as Markdown. For database work it accepts either MCP tools such as execute_sql and get_advisors or the matching Supabase CLI commands.

Is the Supabase skill safe to install?

On 24 October 2026, skills.sh showed Pass from Gen Agent Trust Hub and Socket and Warn from Snyk for third-party content exposure, rated low risk because it fetches Supabase's own docs. The skill ships no scripts, but it does tell the agent to run Supabase CLI commands and SQL against your database.

More in Skill directory

All guides

Keep your prompts and skills in one place, in your own GitHub. Install every skill with one command.

Get started

Kipt is an independent product, not affiliated with or endorsed by Anthropic, OpenAI, Cursor or GitHub. Claude, ChatGPT, Codex, Cursor and GitHub are trademarks of their owners.