trigger-dev: trigger.dev for claude code and codex
tl;dr: a claude code (and codex) plugin that makes the agent actually good at trigger.dev. that means background jobs, cron pipelines, long workflows with waits and approvals, realtime progress uis and ai chat agents. it's not the official skills with a new label. it fingerprints your project, figures out what you're building, picks the right primitive and says why, links the doc behind every call it makes, and checks the code while it's being written.
install
Every plugin of ours is installed once, globally, and off, then turned on per project. Nothing runs and no tokens are spent in chats that don't switch it on. It works the same in Claude Code and Codex.
1. install it globally
Claude Code
claude plugin marketplace add yigitkonur/plugin-trigger-dev
claude plugin install trigger-dev@plugin-trigger-dev -s user # stays off: defaultEnabled is false in the manifest
Codex (0.163+)
codex plugin marketplace add yigitkonur/plugin-trigger-dev
codex plugin add trigger-dev@plugin-trigger-dev
codex-plugin-project.sh global-off trigger-dev@plugin-trigger-dev # Codex has no enable/disable command; this keeps it off everywhere
All our plugins, both hosts, plus the plugin command and the 6-hourly update job, in one line:
curl -fsSL https://raw.githubusercontent.com/yigitkonur/plugin-kit/main/install.sh | sh -s -- --all
2. turn it on in a project
cd your-project
plugin on trigger-dev # Claude Code and Codex, this folder only
plugin off trigger-dev # undo
plugin # or pick from a list (TUI)
By hand, without the plugin command:
claude plugin enable trigger-dev@plugin-trigger-dev --scope project # undo: claude plugin disable trigger-dev@plugin-trigger-dev --scope project
codex-plugin-project.sh on trigger-dev@plugin-trigger-dev . --trust # undo: codex-plugin-project.sh off trigger-dev@plugin-trigger-dev
Restart claude / codex in that folder afterwards.
Codex reads a folder's .codex/config.toml only when the folder is trusted; --trust adds that, and it also enables the folder's hooks and rules, so use it for your own projects only. plugin and codex-plugin-project.sh come from plugin-kit (the one-line installer above).
3. updates
A plugin updates only when its version changes, and this repo's release workflow bumps it on every shipped change. Machines pick it up with plugin update, or by themselves with the 6-hourly job (plugin autoupdate install). By hand:
claude plugin marketplace update plugin-trigger-dev && claude plugin update trigger-dev@plugin-trigger-dev
codex plugin marketplace upgrade plugin-trigger-dev # then start a new session
No GitHub SSH key on the machine? export CLAUDE_CODE_PLUGIN_PREFER_HTTPS=1 (plugin install sets it in Claude's settings for you).
4. uninstall
claude plugin uninstall trigger-dev@plugin-trigger-dev -s user
claude plugin marketplace remove plugin-trigger-dev
codex plugin remove trigger-dev@plugin-trigger-dev
codex plugin marketplace remove plugin-trigger-dev
what you can expect
checked live through herdr on claude code 2.1.307: with it off a fresh session lists no trigger-dev: skills; after the project switch and /reload-plugins the session reloaded with the plugin's skills, hooks and mcp server (20 skills, 20 hooks, 1 mcp server vs 12 skills, 3 hooks, 0 mcp when off); switched off again, a fresh session lists none. the project switch only touches that folder's .claude/settings.json.
at user scope the four skill descriptions and the trigger.dev mcp tool names would load in every repo you open, about 1,000 tokens per claude plugin details trigger-dev. that is why it stays off globally and only the projects that use trigger.dev switch it on.
needs and steering
needs: claude code 2.1.295 or later, and node 18 or later. node runs the edit checks, the prod guard and audit; without it they skip quietly.
steering level (run /plugin configure trigger-dev@plugin-trigger-dev, or pass --config steering=quiet when installing by hand): full is the default and runs every hook, quiet keeps only the prod guard, off turns the hooks off.
staying in sync with trigger.dev itself
trigger.dev ships every few days, so a weekly job (github actions plus an optional local launchd job, scripts/maintenance/install-weekly.sh) compares the newest sdk, cli, mcp tools and release notes with what the plugin was last checked against (references/upstream.json) and says what changed and which files it touches. how that loop works is in AGENTS.md. the plugin itself always installs and recommends the latest version, never a pin.
in codex