supabase

supabase is a skill for Claude Code, Codex from magnus919/agent-skills. It costs 94 tokens per session (1,795 once invoked), scanned A, original, MIT.

A development guide for Supabase, a platform built around PostgreSQL databases with authentication, file storage, real-time updates, server functions, and APIs.

In plain words
What is it for?
Use it to run the Supabase CLI, create database migrations, design row-level security policies, generate client types, test database behavior, and deploy or administer Supabase services.
Why use it?
It helps developers distinguish between local, hosted, and self-hosted environments and make database, security, and deployment changes safely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is sh tests/test-self-hosted.sh http://localhost:8000.

Good fit Use it to run the Supabase CLI, create database migrations, design row-level security policies, generate client types, test database behavior, and deploy or administer Supabase services.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/magnus919/agent-skills
agentmods
npx agentmods add skills/magnus919/agent-skills/supabase

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin supabase/plugin install supabase after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for supabase

README.md
[![agentmods](https://agentmods.dev/badge/skills/magnus919/agent-skills/supabase/github.svg)](https://agentmods.dev/skills/magnus919/agent-skills/supabase)
Your own site
<a href="https://agentmods.dev/skills/magnus919/agent-skills/supabase"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/supabase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for supabase

Your own site · 80×15
<a href="https://agentmods.dev/skills/magnus919/agent-skills/supabase"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/supabase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,795 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 19
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01795
Opus 5 $0.00047 $0.00898
Sonnet 5 $0.00019 $0.00359
Haiku 4.5 $0.00009 $0.00179

Measured 6d ago against content hash 52fc86c1c8fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

supabase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

supabase/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Supabase

Treat Supabase as a Postgres-centered system with multiple independently versioned services, not as one opaque backend. The managed platform, CLI local stack, and official self-hosted Compose stack share concepts but are different operating environments. Identify which one the task targets before choosing commands.

Operating contract

  1. Discover the target and current state before changing it: managed project, CLI local stack, or self-hosted Compose; CLI and service versions; project link; database and migration state; enabled services; public URLs; backup and rollback path.
  2. Confirm target, scope, and rollback path before the first mutation. Read-only discovery may proceed without confirmation. An explicit user directive to deploy or change the named target satisfies this gate.
  3. Keep publishable keys client-side and secret/service-role keys server-side only. Never print, commit, or place secret keys, database passwords, JWT signing material, SMTP credentials, or connection strings containing passwords in reports.
  4. Make database changes through versioned migrations. Review generated diffs as drafts, replay the full chain, test RLS negative cases, and regenerate client types before deployment.
  5. For self-hosting, use the official supabase/supabase Docker directory and its setup.sh, run.sh, update notes, and tests. Do not invent a reduced Compose stack unless the user explicitly wants one and accepts the lost capabilities.
  6. Verify at the delivery boundary: container health is not API health; an API response is not authorization proof; a backup is not recovery evidence.

Choose the path

Need Read first
Understand services, trust boundaries, keys, and environment differences architecture and boundaries
Install/use the CLI, establish a local workflow, or operate managed Functions, secrets, branches, SSL enforcement, CIDR restrictions, and network bans local development and CLI
Create schemas, migrations, seed data, RLS policies, tests, and generated types database development and testing
Build with Auth, REST, Realtime, Storage, and Edge Functions application services
Deploy or harden the official Docker stack self-hosting deployment
Back up, restore, update, upgrade, monitor, or recover a self-hosted instance administration and recovery
Diagnose unhealthy containers, bad URLs, auth failures, drift, or migration failures troubleshooting
Evaluate how well an agent can use Supabase with scored scenarios agent evals harness
Check claim currency or authoritative source coverage source index

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 123 lines · 94 tokens per session scan A 52fc86c1c8fb

Subscribe to this mod's changes

supabase is a skill published in the GitHub repository magnus919/agent-skills (75 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 1,795 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ag-referencia-supabase

Patterns para Supabase, PostgreSQL, RLS, migrations, e Zod schemas.

andregusman-raiz/a-gusman-claude · 24 tokens

supabase

Supabase provides Postgres database access, authentication, edge functions, and storage. This skill covers the @supabase/supabase-js client and Row Level Security (RLS).

ashish7802/awesome-api-skills · 0 tokens

stack-supabase

Supabase platform knowledge overlay for the ETYB team. Loads when work involves the Supabase ecosystem — Postgres (Supabase-hosted), Row-Level Security (RLS), Supabase Auth, Storage, Realtime, Edge Functions, Database Webhooks, Database Functions, Supavisor pooler, pgvector, pgcron, pgnet, pggraphql, pgjsonschema…

e-t-y-b/etyb-skills · 263 tokens

backend-patterns

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

deepelementlab/clawcode · 31 tokens

sqlmodel-database

Design and implement database schemas using SQLModel with sync and async patterns. Use this skill when creating database models, setting up Neon PostgreSQL connections, defining relationships (one-to-many, many-to-many), implementing FastAPI dependency injection, or migrating schemas. Covers both sync Session and…

mjunaidca/mjs-agent-skills · 65 tokens

fastapi-backend

Build production-grade FastAPI backends with SQLModel, Pydantic, and JWT authentication. Use this skill when building REST APIs, integrating with Neon PostgreSQL, implementing Better Auth JWT verification, or creating CRUD endpoints. Includes patterns for audit logging, worker/agent parity, and OpenAPI documentation.

mjunaidca/mjs-agent-skills · 65 tokens