Workflows for Claude Code agents — state machines, gates, a task queue, a shared thread pool and a live map
https://axgord.github.io/claude-workflow/ ↗// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 80/100 with only 7 stars
- Accepts sponsorship (patreon, buy me a coffee, paypal.me)
// how to help
// readme
Claude Workflow is an independent, open-source (MIT) plugin for Claude Code that drives agents through YAML-defined state machines. The engine tracks the state, enforces the guards and hands the agent one prompt at a time; a web dashboard shows everything that runs. It is a plugin you install, not a feature of Claude Code, and it is not affiliated with or endorsed by Anthropic. It has been public on GitHub and npm since 1 March 2026, before Claude Code’s built-in Workflow tool became available (v2.1.146, 20 May 2026) and was announced as “dynamic workflows” (v2.1.154, 28 May 2026). The two work differently and their files coexist; see [How this differs from Claude Code’s built-in Workflow][vs].
Why
- Agents lose their step. A long task drifts, a context is compacted, Claude Code restarts. The engine keeps the state, so the agent always gets the next prompt, not a guess.
- Parallel builds choke the machine. Four agents start a build each and the laptop stops answering. A machine-wide thread pool makes them queue.
- No picture of what runs. Sessions, branches and reviews are in flight and the only view is scrollback. A live map and a plan pane show them.