pp-neon
БесплатноБез исполняемых скриптовНе проверенNeon API commands in one static binary, plus a local fleet mirror for stale-branch cleanup, usage trends and compute audits. Trigger phrases: `find stale neon…
от mvanhorn★ 2 170 звёзд на GitHubОб этом скилле
Neon — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the neon-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. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install neon --cli-only - Verify:
neon-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.9 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:
go install github.com/mvanhorn/printing-press-library/library/cloud/neon/cmd/neon-pp-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
Manage Neon projects, branches, computes, roles and databases from the terminal with agent-native JSON and no Node runtime. Sync your account locally to get stale, tree, usage trend and compute audit, and use preview up and wait for per-PR branch workflows.
When to Use This CLI
Use this CLI to manage Neon control-plane resources: projects, branches, computes, roles, databases, operations and consumption. It suits per-PR branch automation, fleet audits and cost questions across many projects.
Anti-triggers
Do not use this CLI for:
- Running SQL queries against a database; use psql with the connection string
- Schema migrations; use your migration tool
- Billing invoices and payment methods; use the Neon console
Unique Capabilities
Fleet hygiene
stale— Find idle or expired branches across every project from the local mirror (run sync first), with delete commands for non-default branches.Reach for this before cleanup to see which preview branches are safe to remove.
neon-pp-cli stale --idle 14d --agenttree— See every org, project, branch and compute in one hierarchy from the local mirror (run sync first).Use it to orient in an unfamiliar Neon account in one call.
neon-pp-cli tree --jsonprune— Preview idle or expired branches to delete (from the local mirror); --yes actually deletes them, always skipping default and protected branches.Use after stale to actually clean up.
neon-pp-cli prune --idle 14d
Cost visibility
usage trend— Track compute, storage and transfer per project with period-over-period deltas; on plans without consumption history (below Launch/Scale) it uses per-sync snapshots (basis: sync-snapshots).Use for questions about how usage changed over time.
neon-pp-cli usage trend --since 30d --agentusage top— Rank projects by compute, storage, transfer or written data; on plans without consumption history it ranks period-to-date totals from sync snapshots (basis: sync-snapshots).Use to find which project drove a bill spike.
neon-pp-cli usage top --metric compute --since 7d --agentcompute audit— Flag computes that never scale to zero, have fixed autoscaling, or are oversized on non-default branches, from the local mirror (run sync first).Use to find the cheapest cost wins in a Neon fleet.
neon-pp-cli compute audit --agent
Preview branch workflow
wait— Block until a branch's async operations finish; exits 0 when done, 6 if an operation failed, 8 on timeout.Use in CI or agent flows before connecting to a freshly created branch.
neon-pp-cli wait --branch pr-123 --project-id lucky-sun-123456 --timeout 5mpreview up— Create a real branch (or reuse an existing one by name), wait until ready and print its connection string; --expires applies only to newly created branches.Use for per-PR databases; safe to re-run.
neon-pp-cli preview up pr-123 --project-id lucky-sun-123456 --expires 7d --agent
Command Reference
connection-string — Print a Postgres connection string for a branch, by name or ID.
neon-pp-cli connection-string --project-id lucky-sun-123456 pr-123— infers the database and owner role when the branch has one database;--pooled,--database,--role,--format uri|env|psql.
context — Save a default project/org (like `neo
Установить pp-neon в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashFAQ
Что делает скилл pp-neon?
Neon API commands in one static binary, plus a local fleet mirror for stale-branch cleanup, usage trends and compute audits. Trigger phrases: `find stale neon branches`, `clean up old neon branches`, `neon usage this week`, `create a neon preview branch`, `get a neon connection string`, `use neon`, `run neon`.
Как установить скилл pp-neon?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pp-neon запускает скрипты?
Нет, скилл состоит только из инструкций (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