Trigger.dev CLI
Inspect, debug, and manage Trigger.dev background jobs from the terminal.
A Go CLI for the Trigger.dev Management REST API — 48 endpoints across runs, queues, deployments, schedules, batches, waitpoints, and environment variables, plus TRQL queries and dashboards. Built for Claude Code agents that run background jobs for enrichment, sequencing, and signal monitoring. When a run stalls, list the failures, pull the trace, and replay it — without opening a browser. Agent mode emits clean JSON for piping straight into a pipeline.
2 things you can do right now.
No UI. No clicking. Just commands that execute.
Every capability, ready to script.
End to end. Zero manual steps.
Stop guessing why a job stalled. List → trace → replay traces any failure to its source and recovers it. 48 Management API endpoints, all scriptable.
Snapshot queue depth.
List every run queue with its concurrency limit and current depth. Spot a backing-up consumer before it delays a campaign send — no dashboard required.
Find the failing runs.
Filter runs by status with pagination and field selection built in. Get exactly the runs you care about as clean JSON, ready to pipe downstream.
Trace the root cause.
Pull the full span tree and event log for any run. The exact failing step, the error, and the upstream cause — no dashboard archaeology.
Replay once it's fixed.
Push the corrected run back through. Replay a single failure or filter and batch them. The pipeline recovers without a redeploy.
What teams actually use it for.
Not theoretical. These are the pipelines running at LeadGrow and client stacks today.
Pre-built automations. Ready to run.
These aren't demos. They're the Claude Code skills we run inside LeadGrow, shipped open source so you don't have to build them yourself.
run-forensicsRun Forensics
Lists failed runs, then pulls the trace and events for each. Surfaces the exact step, error, and upstream cause as a structured report. Built on runs list + runs retrieve-trace.
queue-healthQueue Health Monitor
Lists every run queue with depth and concurrency limit. Flags queues above a configurable stall threshold. Built on queues list — designed to run before campaign sends.
batch-statusBatch Status Scanner
Pulls results for active batches: completed, pending, and errored items. Built on batches retrieve-results. Surfaces batches that need intervention without dashboard access.
env-auditEnv Audit
Lists environment variables across environments and diffs them. Catches missing keys and stale values before they silently break a pipeline. Built on envvars list.
schedule-overviewSchedule Overview
Lists every cron schedule with its state, next fire time, and timezone. Surfaces deactivated jobs, gaps, and conflicts across your Trigger.dev environment. Built on schedules list.
Want us to build yours?
Custom CLIs, MCP servers, and Claude Code skills wired to your exact GTM stack.
We build these for clients. Then we ship them open.
Book a Strategy Call →