Command Palette

Search for a command to run...

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

pp-render

БесплатноБез исполняемых скриптовНе проверен

Every Render endpoint, plus diff, drift, cost, audit, and orphan analytics no other Render tool ships. Trigger phrases: `diff render env vars`, `promote env…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Render — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the render-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. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install render --cli-only
    
  2. Verify: render-pp-cli --version
  3. Ensure the reported install directory is on $PATH for 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.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/cloud/render/cmd/render-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.

When to Use This CLI

Use render-pp-cli when you need to reason about your Render footprint as a whole, not one resource at a time. It shines for env-var promotion across environments, blueprint drift checks in CI, monthly cost rollups, preview cleanup, and audit-log forensics. For one-off interactive workflows like render psql or render ssh, the official CLI is fine — render-pp-cli covers those too but its real value is the analytical commands the dashboard hides.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Local state that compounds

  • env diff — Compare env vars between any two services, env-groups, or a service vs an env-group, three-way diff style.

    Reach for this when promoting config across environments — it's the cheapest way to see what's actually different without click-through.

    render-pp-cli env diff srv-staging-api srv-prod-api --json
    
  • env promote — Copy env vars from a source service or env-group to a target with --only/--exclude/--dry-run.

    Use when shipping a known-good staging config to prod without dragging dev-only keys along.

    render-pp-cli env promote --from srv-staging-api --to srv-prod-api --exclude DEBUG_TOKEN --dry-run
    
  • drift — Compare a checked-in render.yaml against live workspace state and report added/removed/modified entities by name.

    Run this in CI to fail builds when someone edits prod through the dashboard instead of the blueprint.

    render-pp-cli drift --blueprint render.yaml --json
    
  • cost — Sum monthly cost across services, postgres, key-value, redis, and disks; group by project, environment, or owner.

    Reach for this on the Friday cost-review or when finance asks 'what would happen if we downsized these three services?'

    render-pp-cli cost --group-by project --json
    
  • rightsize — For each service, fetch last --since 7d of CPU and memory; compute p95 utilization; flag services breaching --high or --low thresholds against plan capacity.

    Run this before the cost rollup to find quick downsizing wins or services about to throttle.

    render-pp-cli rightsize --since 7d --high 80 --low 20 --json
    

Lifecycle hygiene

  • preview-cleanup — List preview services older than --stale-days N; delete in bulk on --confirm.

    Use when the monthly bill spikes and you suspect orphaned preview envs.

    render-pp-cli preview-cleanup --stale-days 14 --confirm
    
  • orphans — Find unattached disks, empty env-groups, custom-domains pointing at deleted services, registry credentials referenced by no service, and disk snapshots beyond retention.

    Audit cleanup, billing review, and SOC 2 evidence-gathering all start here.

    render-pp-cli orphans --json
    

Agent-native plumbing

  • env where — For a given env-var key, list every service and env-group that defines it with hash, length, and last-modified timestamp (never raw value).

    First call during a credential rotation or a 'who uses this secret' audit.

    render-pp-cli env where STRIPE_KEY --json
    
  • incident-timeline — Merge deploys, events, and audit-logs for one service into one chronological table for a given window.

    First command on-call should run during a 2am page after a deploy.

    render-pp-cli incident-timeline srv-checkout-api --since 2h --json
    
  • audit search — FTS5 search across cached audit logs by actor, target, action, and time window.

    _Use during SOC 2 evid

Полный SKILL.md на GitHub

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

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

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

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

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

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

Read
Bash

FAQ

Что делает скилл pp-render?

Every Render endpoint, plus diff, drift, cost, audit, and orphan analytics no other Render tool ships. Trigger phrases: `diff render env vars`, `promote env vars between render services`, `check render blueprint drift`, `render monthly cost`, `clean up stale render preview environments`, `where is this render env var used`, `render incident timeline`, `render audit log search`, `use render`, `run render-pp-cli`.

Как установить скилл pp-render?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-render запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

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