Command Palette

Search for a command to run...

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

pp-trigger-dev

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

Every Trigger.dev management endpoint, plus offline FTS over runs, span-cost rollups, and zombie-schedule detection no other tool gives you. Trigger phrases…

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

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

Trigger.dev — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the trigger-dev-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 trigger-dev --cli-only
    
  2. Verify: trigger-dev-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/developer-tools/trigger-dev/cmd/trigger-dev-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

Reach for this CLI when an agent task needs to operate Trigger.dev programmatically: triaging failed runs, auditing schedule health, diffing env vars across environments, computing LLM costs across runs, or watching for new failures. It complements the official trigger.dev CLI (which focuses on dev-time deploy/init/dev) by exposing the management API surface as scriptable, agent-native commands with offline FTS and typed exit codes.

Unique Capabilities

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

Real-time terminal alerting

  • runs watch — Watches runs for new failures and interrupts your terminal the moment one happens — desktop notification, sound, and a non-zero exit so it composes with shell loops.

    Reach for this when an agent or oncall engineer needs to react to failures the second they appear, instead of polling the dashboard or waiting for an email.

    trigger-dev-pp-cli runs watch --task daily-digest --notify --sound
    

Local state that compounds

  • schedules stale — Lists schedules that stopped firing or whose recent runs have a low success rate — the zombie cron audit no other tool gives you.

    Reach for this after an env var rotation, a Postgres URL change, or any silent-config event that might have killed crons without anyone noticing.

    trigger-dev-pp-cli schedules stale --days 7 --min-success-rate 0.5 --agent
    
  • runs span-cost — Walks recent runs, surfaces the most expensive LLM spans grouped by model and task, with token totals and dollar cost — the report your finance lead actually wants.

    Reach for this when an AI-product engineer or agent needs to pinpoint which model + task pair is eating the LLM budget, before the next billing cycle closes.

    trigger-dev-pp-cli runs span-cost --since 7d --by model,task --top 20 --agent --select spans.model,spans.task_identifier,spans.total_cost_cents
    
  • failures top — Top recurring (task, error-signature) pairs over a time window — mechanical group-by, no LLM, no NLP.

    Reach for this in an incident loop when an agent needs to find the dominant failure signature instead of reading 200 stack traces by hand.

    trigger-dev-pp-cli failures top --since 7d --top 20 --agent --select patterns.task_identifier,patterns.error_signature,patterns.count,patterns.last_occurred_at
    
  • runs find — FTS5 grep over the synced runs table — error messages, tags, metadata, task identifiers — ranked by recency.

    Reach for this when an agent has a fragment of an error message and needs the matching runs without typing TRQL.

    trigger-dev-pp-cli runs find "payload too large" --status FAILED --since 30d --agent
    

Operator hygiene

  • envvars diff — Side-by-side diff of environment variables between two environments — keys missing, keys extra, values that differ (masked).

    Reach for this when an agent is debugging "works in staging, fails in prod" — the answer is almost always an env var, and diff makes the answer one command away.

    trigger-dev-pp-cli envvars diff --from prod --to staging --project proj_abc --agent
    

Agent ergonomics

  • runs get — runs get returns typed exit codes: 0=COMPLETED, 20=FAILED, 21=CRASHED, 22=SYSTEM_FAILURE, 23=CANCELED, 3=not-found, 4=auth-error. Cobra annotation pp:typed-exit-codes makes verify and agents read the contract directly.

    _Reach for this when an agent is writing a shell loop over many runs and

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

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

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

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

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

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

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

Read
Bash

FAQ

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

Every Trigger.dev management endpoint, plus offline FTS over runs, span-cost rollups, and zombie-schedule detection no other tool gives you. Trigger phrases: `trigger.dev failed runs`, `trigger.dev cost rollup`, `trigger.dev schedule health`, `audit trigger.dev env vars`, `watch trigger.dev failures`, `use trigger-dev`, `run trigger-dev`.

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

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

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

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

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

Сравнить pp-trigger-dev с