Structured workflows, parallel grok sub-agents, and closed-loop pipelines for Claude Code
A lean, dependency-free enhancement kit for Claude Code: structured workflows, chapter-based plans, closed-loop pipelines, persistent memory, lifecycle hooks — and parallel grok CLI sub-agents that do the expensive work so Claude doesn’t.
No MCP servers. No npm packages. No Node.js. Markdown and bash.
# once, after download (scripts ship as text so ZIPs stay firewall-friendly)
claude "Read start-here.md and follow the setup instructions"
# then, from your project root
bash /path/to/drom-flow/init.sh.txt
Update later with init.sh --update ., remove with init.sh --uninstall .. Your CLAUDE.md,
context/*, plans, and reports are never overwritten.
| Without | With drom-flow | |
|---|---|---|
| Planning | Lives in the conversation | Chapter-based plans in drom-plans/, resumable across sessions |
| Parallelism | Occasional | Enforced — plus fan-out to grok workers, 8 concurrent verified |
| Failure loops | Manual retry | Closed loop: check → fix in parallel → re-check, with regression revert |
| Memory | Gone at session end | context/MEMORY.md, capped so it doesn’t tax every turn |
| Token cost | Every file read burns Claude | Delegate: −64% turns, −65% output, −97% context |
| Hitting the usage limit | Session dies, work stranded | Checkpoint, grok keeps working detached, resume from ~230 bytes |
Every project that installs drom-flow gets .claude/docs/runbook.md — the terse, copy-pasteable
version of the above. It is deliberately host-only: this site is for reading, the runbook is for
working.
drom-flow is opinionated and young. Three things worth knowing before you rely on it:
--sandbox does not confine grok’s writes. The working directory is a convention, not a
security boundary. Don’t point a fleet at a tree you can’t afford to have modified./mnt/<drive> in WSL.Repository intelligence — drom-flow keeps a deterministic structural map of your repository up to date automatically, so planning, debugging, review and refactoring start from the right files instead of finding them again every session. No setup, no commands.