pp-supabase
БесплатноБез исполняемых скриптовНе проверенThe full Supabase Management API (108 endpoints) plus a local SQLite cache of orgs, projects, functions, branches, and secret names — powering cross-project…
от mvanhorn★ 2 170 звёзд на GitHubОб этом скилле
Supabase — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the supabase-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer:
npx -y @mvanhorn/printing-press-library install supabase --cli-only - Verify:
supabase-pp-cli --version - Ensure
$GOPATH/bin(or$HOME/go/bin) is on$PATH.
If the npx install fails before this CLI has a public-library category, install Node or use the category-specific Go fallback after publish.
If --version reports "command not found" after install, the install step did not put the binary on $PATH. Do not proceed with skill commands until verification succeeds.
When to Use This CLI
Use this CLI when an agent needs to sweep Management API entities across orgs, run cross-project queries from a local SQLite cache (secrets where-name, functions inventory, branches drift, projects estate), look up Auth users by email (auth-admin lookup), aggregate Storage bucket usage (storage usage), or fetch a per-project PostgREST schema for typed query planning (pgrst schema).
For local Docker + migration workflows (supabase start, supabase db push, supabase gen types), use the official Supabase CLI. For PostgREST row CRUD, Storage object lifecycle (upload/download/sign), Auth Admin user mutations, and Edge Function runtime invocation, use supabase-js — these are documented Known Gaps in this CLI's first release (see README's ## Known Gaps).
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Cross-project rollups
secrets where-name— Find every project (across orgs) holding a secret with a given name, plus when each was last synced.Use when an agent needs cross-project security posture answers ('which clients have STRIPE_KEY', 'is this secret name leaked anywhere'). The supabase-community MCP cannot answer this without per-project iteration.
supabase-pp-cli secrets where-name STRIPE_KEY --jsonfunctions inventory— Per-project, per-org rollup of every edge function with slug, version, status, and last-deployed timestamp.Use during deploy review ('which projects deployed stripe-webhook?') or stale-function audits ('which functions haven't redeployed in 90 days?').
supabase-pp-cli functions inventory --org acme --jsonbranches drift— List preview branches older than N days that haven't been merged or deleted, grouped by parent project.Use during weekly cleanup to prevent preview-branch sprawl that costs DB resources.
supabase-pp-cli branches drift --older-than 7d --jsonprojects estate— One-row-per-project rollup of function count, branch count, api-key count, secret-name count, and last-synced-at.Use for the Monday morning estate review; one screen replaces 12 dashboard tabs.
supabase-pp-cli projects estate --jsonauth-admin recent— Iterate synced projects, call Auth Admin per project, aggregate users created within the window into one table.Use for weekly user-growth review across an entire org portfolio.
supabase-pp-cli auth-admin recent --since 7d --json
Service-specific patterns
auth-admin lookup— Traverse the documented Auth Admin user pages and return only one exact normalized email match, optionally joined to a user-named PostgREST context table on user_id.The lookup fails closed on zero or duplicate matches, malformed or repeated pages, incomplete traversal, and provider errors; unrelated user records are never printed.
supabase-pp-cli auth-admin lookup [email protected] --context-table profiles --context-key user_id --jsonpgrst schema— Fetch the per-project PostgREST OpenAPI from the Management API and list tables, columns, types, and detected indexes for typed query planning.Use before authoring a typed query so an agent knows the table's column types and constraints without trial-and-error.
supabase-pp-cli pgrst schema --table profiles --jsonstorage usage— For each bucket, list objects and aggregate file count, total bytes, and largest object.Use when an agent needs to answer 'how close are we to the storage ceiling' or 'which bucket is biggest'.
supabase-pp-cli storage usage --bucket avatars --json
Command Reference
branches — Manage branches
- `supabase-pp-cli branches delet
Установить pp-supabase в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashFAQ
Что делает скилл pp-supabase?
The full Supabase Management API (108 endpoints) plus a local SQLite cache of orgs, projects, functions, branches, and secret names — powering cross-project queries no live API answers in one call, with Auth Admin lookup, PostgREST schema introspection, and Storage usage rollup on top. Trigger phrases: `supabase auth admin lookup`, `supabase secret name audit`, `supabase branches drift`, `supabase project estate rollup`, `supabase storage usage`, `supabase pgrst schema`, `use supabase`, `run supabase`. Anti-triggers: `supabase start` (use the official supabase CLI), `supabase db push` (official CLI), `supabase gen types` (official CLI), supabase realtime subscribe (WebSocket — out of scope).
Как установить скилл pp-supabase?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pp-supabase запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic