supabase-setup

supabase-setup is a skill for Claude Code, Codex from chadixearth/graphyloop. It costs 62 tokens per session (957 once invoked), scanned A, original, MIT.

A guide for setting up and changing a Supabase project, a hosted service that provides a database and related application tools. It covers schemas, migrations, access rules, seed data, typed clients, and app connections.

In plain words
What is it for?
Use it when adding tables, changing schemas, configuring row-level security, connecting an application, or investigating permission and query problems.
Why use it?
It helps prevent public data exposure and keeps database changes in reviewable migration files instead of only in the hosted dashboard.

Skill for Claude CodeCodex

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

Good fit Use it when adding tables, changing schemas, configuring row-level security, connecting an application, or investigating permission and query problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chadixearth/graphyloop/supabase-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add chadixearth/graphyloop --skill supabase-setup
Clone the repo
git clone --depth 1 https://github.com/chadixearth/graphyloop

Made for: Claude Code, Codex.

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-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/chadixearth/graphyloop/supabase-setup/github.svg)](https://agentmods.dev/skills/chadixearth/graphyloop/supabase-setup)
Your own site
<a href="https://agentmods.dev/skills/chadixearth/graphyloop/supabase-setup"><img src="https://agentmods.dev/badge/skills/chadixearth/graphyloop/supabase-setup/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-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/chadixearth/graphyloop/supabase-setup"><img src="https://agentmods.dev/badge/skills/chadixearth/graphyloop/supabase-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 957 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.
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.00062 $0.00957
Opus 5 $0.00031 $0.00478
Sonnet 5 $0.00012 $0.00191
Haiku 4.5 $0.00006 $0.00096

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

Security

Grade A, and why

supabase-setup 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 5d 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.

skills/supabase-setup/SKILL.md · 78 lines

How it starts

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

Supabase setup and schema changes

Two failures dominate Supabase work: a table shipped with row-level security off (every row readable by anyone holding the anon key), and a schema change made in the dashboard so it exists in production and nowhere in the repo. The order below prevents both.

When to activate

  • Adding or changing tables, columns, constraints, indexes, policies.
  • Wiring an app to Supabase for the first time.
  • "the query returns nothing" / "permission denied for table" symptoms.

Order of operations

  1. Credentials first. secrets_status → store what is missing with secrets_setenv_sync. Never paste a key into the chat (see secrets-hygiene).
    • SUPABASE_URL, SUPABASE_ANON_KEY — client-side, public.
    • SUPABASE_SERVICE_ROLE_KEY — server-only, bypasses RLS.
    • SUPABASE_PROJECT_REF / SUPABASE_ACCESS_TOKEN / SUPABASE_DB_URL — CLI + migrations.
  2. preflight target=db. Clear every blocker before touching the database.
  3. Schema as migration files, never dashboard edits. supabase migration new <name>, or supabase db diff --file <name> to capture drift that already happened. A dashboard-only change cannot be reviewed, replayed on a teammate's machine, or rolled back.
  4. Table and its policies in the SAME migration. A table without a policy is either fully closed or fully open — never leave that to a follow-up.
  5. Dry-run, then apply. supabase db push --dry-run and read the SQL. Apply to a hosted database only with explicit user approval and a rollback note.
  6. Regenerate types. supabase gen types typescript --linked so the backend/frontend contract stays type-checked.
  7. Seed realistic data. Idempotent seed script (upsert), a few rows per table, so tests and manual checks have something to read.

Schema rules

  • Primary key on every table (id uuid primary key default gen_random_uuid() is a fine default). created_at / updated_at as timestamptz.
  • Foreign keys with an explicit on delete choice — cascade / restrict / set null is a product decision, not a default.
  • Index every column you filter, join or sort on. The referencing side of a foreign key is NOT indexed automatically.
  • numeric for money, never float. check constraints or a real enum type for fixed sets. Prefer not null with a default over a nullable column every reader must handle.

Read the full file on GitHub · 78 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. 5d ago First seen · 78 lines · 62 tokens per session scan A 6ba35141c80f

Subscribe to this mod's changes

supabase-setup is a skill published in the GitHub repository chadixearth/graphyloop (2 stars, last pushed 23d ago), licensed MIT. It adds 62 tokens to every session and 957 once invoked, about $0.0003 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

kirby-content-migration

Plans and applies safe Kirby content migrations using runtime content tools, update schemas, and explicit confirmation. Use when users need to rename/move/transform fields, clean up content, or bulk-update pages/files across languages.

bnomei/kirby-mcp · 49 tokens

ship-safe-scan

Quick scan for leaked secrets — API keys, passwords, tokens, database URLs. Use when the user wants to check for hardcoded secrets or exposed credentials.

asamassekou10/ship-safe · 36 tokens

backend-development

Backend API design, database architecture, microservices patterns, and test-driven development. Use for designing APIs, database schemas, or backend system architecture.

MoizIbnYousaf/Ai-Agent-Skills · 32 tokens

database-connections

Connect a Mendix app to an external database over JDBC with the External Database Connector, and define the queries microflows run against it. Use when the app must read or write Oracle, PostgreSQL, MySQL or SQL Server directly from a microflow.

mendixlabs/mxcli · 55 tokens

connect-rapidminer-graph

Fetch data from a RapidMiner graph mart or any SPARQL 1.1 HTTP endpoint (AnzoGraph and friends) and surface it as Mendix entities. Use when a graph database with a SPARQL endpoint has to feed a Mendix app read-only.

mendixlabs/mxcli · 62 tokens

mendix-odata-pushdown

Push OData query options into the SQL of a Mendix resource served by a read microflow, so $filter, $orderby, $top, $skip, $count and the key lookup reach the database instead of being silently dropped. Use when publishing an OData resource over data Mendix has no table for — a warehouse view, a legacy database, a…

mendixlabs/mxcli · 117 tokens