drizzle
Use this skill when writing or modifying Drizzle ORM schemas, queries, or migrations in this repo — specifically the…
Analyze Trigger.dev tasks, schedules, and runs for cost optimization opportunities. Use when asked to reduce spend, optimize costs, audit usage, right-size machines, or review task efficiency. Combines static source analysis with live run analysis via the Trigger.dev MCP tools
Claude Code
$ npx -y skills add triggerdotdev/trigger.dev --skill trigger-cost-savings --agent claude-code
Codex
$ npx skills add triggerdotdev/trigger.dev --skill trigger-cost-savings -a codex -y
Cursor
$ npx skills add triggerdotdev/trigger.dev --skill trigger-cost-savings -a cursor -y
Gemini CLI
$ npx skills add triggerdotdev/trigger.dev --skill trigger-cost-savings -a gemini-cli -y
GitHub Copilot
$ npx skills add triggerdotdev/trigger.dev --skill trigger-cost-savings -a github-copilot -y
OpenCode
$ npx skills add triggerdotdev/trigger.dev --skill trigger-cost-savings -a opencode -y
Windsurf
$ npx skills add triggerdotdev/trigger.dev --skill trigger-cost-savings -a windsurf -y
name: trigger-cost-savings description: > Analyze Trigger.dev tasks, schedules, and runs for cost optimization opportunities. Use when asked to reduce spend, optimize costs, audit usage, right-size machines, or review task efficiency. Combines static source analysis with live run analysis via the Trigger.dev MCP tools (list_runs, get_run_details, get_current_worker). type: core library: trigger.dev
The full, version-pinned cost-audit workflow ships **inside your installed `@trigger.dev/sdk`**. Read it before giving recommendations so they match the SDK version in this project:
If those paths don't exist, `@trigger.dev/sdk` isn't installed yet — install it first. In a non-hoisted layout, resolve the package with `node -p "require.resolve('@trigger.dev/sdk/package.json')"` and read `skills/` + `docs/` beside it.
Live run analysis needs the Trigger.dev MCP server (`npx trigger.dev@latest install-mcp`). Without it, do the static source analysis only — never fabricate run data.
Sibling skills: **trigger-authoring-tasks** (the task options these levers tune: `machine`, `maxDuration`, `retry`, `queue`, idempotency), **trigger-realtime-and-frontend**, **trigger-authoring-chat-agent** and **trigger-chat-agent-advanced** (AI agents).
The quickest way to get started is to create an account and project in our web app, and follow the instructions in the onboarding. Build and deploy your first task in minutes.
Use this skill when writing or modifying Drizzle ORM schemas, queries, or migrations in this repo — specifically the…
End-to-end smoke test for the public Errors HTTP API (error groups). Seeds failed runs into ClickHouse so the error materialized…
Use when adding, modifying, or debugging OTel span timeline events in the trace view. Covers event structure, ClickHouse storage…
Use this skill when writing, designing, or optimizing Trigger.dev background tasks and workflows. This includes creating reliable…
Author and run a durable AI chat agent with chat.agent from @trigger.dev/sdk/ai: the per-turn run loop, why you MUST take…
Covers writing backend Trigger.dev tasks with @trigger.dev/sdk: defining task() and schemaTask(), the run function and its ctx,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.