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.
npx agentmods add skills/ndisisnd/cook/supabasenpx skills add ndisisnd/cook --skill supabasegit clone --depth 1 https://github.com/ndisisnd/cookWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00071 | $0.02089 |
| Opus 5 | $0.00036 | $0.01045 |
| Sonnet 5 | $0.00014 | $0.00418 |
| Haiku 4.5 | $0.00007 | $0.00209 |
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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Supabase Standards
Supabase is Postgres underneath, so this domain co-loads with database (generic
Postgres) and the auth / security concerns. It owns only the platform
contract: RLS, the key boundary, Postgres/Edge function security, and the CLI
migration workflow. Generic Postgres rules (types, constraints, indexing-in-general,
expand-contract, N+1, transactions) live in database; auth flows (JWT verification,
OAuth, password reset) live in global/refs/auth.md — this domain links to them
rather than restating them.
Priority: P0 — Row-Level Security
- RLS is OFF by default. Every table reachable through the API/PostgREST must
ENABLE ROW LEVEL SECURITYin the same migration that creates it. A table left unguarded behind a publicanonkey is a full data leak. Signal: acreate tableinsupabase/migrationswith no matchingalter table … enable row level security. - RLS-on denies by default — write an explicit policy per operation
(
select/insert/update/delete). Don't rely on onefor allpolicy where operations need different predicates. Signal: a table with RLS enabled and no policy, or a blanketfor all using (true). - Pair every
UPDATE/DELETEpolicy with aSELECTpolicy. Postgres must read the existing row to evaluate theUSINGclause; withoutSELECTthe row is invisible and the write silently affects nothing. Signal: anupdate/deletepolicy on a table with noselectpolicy. - Use
WITH CHECKonINSERT/UPDATEso a user can't write a row they couldn't own or read (e.g. inserting someone else'suser_id). Signal: aninsert/updatepolicy withusingbut nowith check. - Wrap auth calls as
(select auth.uid())/(select auth.jwt())in policy predicates so the planner caches the result per-statement instead of re-evaluating per row. Signal: a bareauth.uid()in a policy on a table that gets scanned. - Never base a policy on
auth.jwt() -> 'user_metadata'—user_metadatais editable by the authenticated user. Useapp_metadata(server-controlled) or a roles table joined via asecurity definerhelper. Signal: a policy readinguser_metadatafor an authorization decision. - Index every column referenced in an RLS predicate (
user_id,tenant_id, …). RLS turns these into per-query filters; an unindexed predicate column is a full scan on every request. (Sharpens thedatabaseindexing rule.) Signal: an RLS predicate column absent from any index.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago First seen · 153 lines · 71 tokens per session scan A 2b0789465af2
supabase is a skill published in the GitHub repository ndisisnd/cook (2 stars, last pushed 22d ago), licensed MIT. It adds 71 tokens to every session and 2,089 once invoked, about $0.0004 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-08-31.
Other skills, from other repositories
moai-domain-database
Database specialist covering PostgreSQL, MongoDB, Redis, Oracle, and cloud database platforms (Neon, Supabase, Firestore). Use for schema design, query optimization, indexing strategies, data modeling, or cloud database selection. Cloud vendor guide absorbed from moai-platform-database-cloud.
db-migrate
Миграция схемы базы данных: SQLite → PostgreSQL/Supabase. Генерация SQL, проверка совместимости.
centia-provisioning
Provisioning and schema lifecycle guidance for Centia BaaS, including schema/table/column/index/constraint operations, migration structure, SQL API limits, and destructive-change safety.
centia-types-formats
PostgreSQL and PostGIS type guidance for Centia BaaS, including SQL parameter casts, typehints, typeformats, and supported output formats for SQL and JSON-RPC responses.
postgres-pro
Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JSONB operations, extension usage, VACUUM tuning, performance monitoring.
setup-timescaledb-hypertables
Use this skill when creating database schemas or tables for Timescale, TimescaleDB, TigerData, or Tiger Cloud, especially for time-series, IoT, metrics, events, or log data. Use this to improve the performance of any insert-heavy table. Trigger when user asks to: Create or design SQL schemas/tables AND…