Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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:

  1. Install via the Printing Press installer:
    npx -y @mvanhorn/printing-press-library install supabase --cli-only
    
  2. Verify: supabase-pp-cli --version
  3. 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 --json
    
  • functions 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 --json
    
  • branches 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 --json
    
  • projects 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 --json
    
  • auth-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 --json
    
  • pgrst 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 --json
    
  • storage 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
Полный SKILL.md на GitHub

Установить pp-supabase в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл 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), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-supabase с