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 skills add textura-agency/next16-claude-starter --skill supabase-dbgit clone --depth 1 https://github.com/textura-agency/next16-claude-starterWrote 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.
[](https://agentmods.dev/skills/textura-agency/next16-claude-starter/supabase-db)<a href="https://agentmods.dev/skills/textura-agency/next16-claude-starter/supabase-db"><img src="https://agentmods.dev/badge/skills/textura-agency/next16-claude-starter/supabase-db/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.
<a href="https://agentmods.dev/skills/textura-agency/next16-claude-starter/supabase-db"><img src="https://agentmods.dev/badge/skills/textura-agency/next16-claude-starter/supabase-db.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
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 MCP Rug Pull · line 50 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00089 | $0.01308 |
| Opus 5 | $0.00044 | $0.00654 |
| Sonnet 5 | $0.00018 | $0.00262 |
| Haiku 4.5 | $0.00009 | $0.00131 |
Grade A, and why
supabase-db 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 12d 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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Supabase Postgres
Supabase is the database for this project. In a Payload build it is Payload's Postgres; in a bespoke build it is queried directly. Either way the connection rules below are what break first.
Verified 2026-08 against @supabase/supabase-js 2.112, @supabase/ssr 0.12.
1. Connection strings — pick per job, not per project
Supabase hands you several strings. They are not interchangeable.
| Job | Connection | Port | Why |
|---|---|---|---|
| App runtime on serverless / Fluid Compute | Supavisor transaction | 6543 | many short-lived connections |
Migrations, payload migrate, psql, pg_dump |
Direct | 5432 | needs session state + DDL |
| Long-lived Node server, IPv4-only network | Supavisor session | 5432 | pooled but session-safe |
Two traps:
- Transaction mode (6543) does not support prepared statements. Symptoms:
prepared statement "s0" already exists, or intermittent failures under load. Disable prepared statements in the client for that URL. - Direct connections are IPv6 by default. On an IPv4-only network (many CI runners) they fail to resolve — use the session pooler, or add the IPv4 add-on.
Store both: DATABASE_URL (6543, runtime) and DATABASE_URL_DIRECT (5432,
migrations). Wire both into src/env.ts as server-only zod-validated vars.
2. Keys — use the new ones
Legacy anon / service_role JWTs are being retired (end of 2026). Use:
- Publishable
sb_publishable_…→NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY. Browser-safe only because RLS is enforced. It is not a secret, but it is also not protection. - Secret
sb_secret_…→ server-only, viagetServerEnv(). Bypasses RLS entirely. NeverNEXT_PUBLIC_, never import into a client component, never log it. Supabase now 401s a secret key sent from a browser user-agent, but do not rely on that as your control.
3. Local workflow
brew install supabase/tap/supabase # or npx supabase
supabase init # creates supabase/
supabase link --project-ref <ref>
supabase start # local Postgres + Studio in Docker
supabase db pull # snapshot remote schema into a migration
supabase migration new <name> # hand-written SQL migration
supabase db push # apply migrations to the linked project
supabase gen types typescript --linked > src/types/database.ts
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.
- 12d ago First seen · 116 lines · 89 tokens per session scan A 051c7427ea94
supabase-db is a skill published in the GitHub repository textura-agency/next16-claude-starter (117 stars, last pushed 3d ago), licensed Unlicense. It adds 89 tokens to every session and 1,308 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-30.
Other skills, from other repositories
azure-postgres-ts
Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL…
butterbase
AI-native, open-source backend-as-a-service with a built-in Model Context Protocol server. Postgres, auth, storage, functions, AI gateway.
supabase
Use 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…
supabase-cli
This skill should be used when user asks to "use supabase CLI", "supabase init", "supabase start", "run migrations", "deploy edge functions", "manage Supabase project", or works with the supabase command-line tool for local development and project management.
supabase-js
This skill should be used when user asks to "use supabase-js", "query Supabase database", "supabase auth", "supabase storage", "supabase realtime", "supabase edge functions", or works with the @supabase/supabase-js JavaScript/TypeScript SDK.
supabase-node
Express/Hono with Supabase and Drizzle ORM.