trigger-cost-savings
Installation
SKILL.md
Trigger.dev Cost Savings Analysis
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:
- Skill:
node_modules/@trigger.dev/sdk/skills/trigger-cost-savings/SKILL.md— the static-analysis checklist, the MCP run-analysis steps (list_runs,get_run_details,get_current_worker), the report format, and the machine-preset cost table. - Docs: the canonical guidance is bundled at
node_modules/@trigger.dev/sdk/docs/how-to-reduce-your-spend.mdx, with supporting pages undernode_modules/@trigger.dev/sdk/docs/(machines.mdx,runs/max-duration.mdx,queue-concurrency.mdx,idempotency.mdx,triggering.mdx,errors-retrying.mdx).
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.