supabase-postgres

supabase-postgres is a skill for Claude Code, Codex from wpank/ai. It costs 54 tokens per session (2,402 once invoked), scanned A, original, no licence file.

A guide to improving PostgreSQL, the database system, through better indexes, connections, schemas, queries, locking, security, and monitoring. It is based on practices used with Supabase, a hosted PostgreSQL platform.

In plain words
What is it for?
Use it when writing SQL, designing database schemas, adding indexes, configuring row-level security, managing connections, optimizing queries, or monitoring PostgreSQL.
Why use it?
It helps databases respond faster, handle connections safely, and restrict access correctly. It also addresses design and locking choices that can cause slow or unsafe data access.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: model in frontmatter.

Good fit Use it when writing SQL, designing database schemas, adding indexes, configuring row-level security, managing connections, optimizing queries, or monitoring PostgreSQL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wpank/ai/supabase-postgres
View source ↗ wpank/ai
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 wpank/ai --skill supabase-postgres
Clone the repo
git clone --depth 1 https://github.com/wpank/ai

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wpank/ai/supabase-postgres"><img src="https://agentmods.dev/badge/skills/wpank/ai/supabase-postgres.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,402 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 unknown 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.00054 $0.02402
Opus 5.5 $0.00022 $0.00961
Sonnet 5.5 $0.00011 $0.00480
Haiku 4.5 $0.00005 $0.00240

Measured 1mo ago against content hash d206c84d6ef4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

supabase-postgres 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 1mo 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/backend/supabase-postgres/SKILL.md · 285 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 1mo ago First seen · 285 lines · 54 tokens per session scan A d206c84d6ef4

Subscribe to this mod's changes

supabase-postgres is a skill published in the GitHub repository wpank/ai (12 stars, last pushed 8mo ago), with no licence file. It adds 54 tokens to every session and 2,402 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

pytest-databases

Auto-activate for pytestdatabases, Docker DB fixtures, PostgreSQL/pgvector/ParadeDB, MySQL/MariaDB, Oracle/SQL Server, CockroachDB, MongoDB, Redis/Valkey, BigQuery/Spanner, MinIO, or RustFS. Not for mocked DBs.

litestar-org/litestar-skills · 69 tokens

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens

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…

microsoft/skills · 94 tokens

dsql

Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, diagnose cluster performance, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, foreign key…

awslabs/agent-plugins · 246 tokens

ecto-patterns

Use when a task touches Ecto, even a how-to question: schemas, changesets, validations, queries, preloads, Multi, migrations, constraints, money fields. Load it before writing Ecto code. Skip for Ash.

oliver-kriska/claude-elixir-phoenix · 51 tokens

clickhouse-managed-postgres-rca

MUST USE when investigating performance issues on a ClickHouse-managed Postgres instance. Provides an evidence-based RCA workflow that scrapes the Prometheus endpoint for system signal, pulls per-digest evidence from the Slow Query Patterns API, and recommends (does not apply) a fix.

ClickHouse/agent-skills · 64 tokens