Cook: Workflow Loop CLI for Orchestrating Claude Code, Codex, and OpenCode
Cook is a template-driven CLI tool that brings structured workflow loops to AI coding agents. Instead of running a single prompt, Cook orchestrates composable work-review-gate cycles where a worker produces code, a reviewer checks quality, and a gate decides whether to iterate or ship.
The tool provides two families of operators: iteration operators (xN for multiple passes, review for quality checks, ralph for outer task-list progression) and composition operators (vN for parallel branches, vs for comparison, pick for selecting the best result). This lets developers build sophisticated multi-pass, multi-branch workflows without manual intervention.
Cook works as both a standalone CLI (npm install -g @let-it-cook/cli) and as a Claude Code skill. It supports rate-limit recovery with exponential backoff and flexible configuration for different agents and models per step. Built with TypeScript, it requires Node.js 20+.
The project hit 239 points on Hacker News today and was created on March 1, 2026.
GitHub: https://github.com/rjcorwin/cook
Docs: https://rjcorwin.github.io/cook/
← Back to all articles
The tool provides two families of operators: iteration operators (xN for multiple passes, review for quality checks, ralph for outer task-list progression) and composition operators (vN for parallel branches, vs for comparison, pick for selecting the best result). This lets developers build sophisticated multi-pass, multi-branch workflows without manual intervention.
Cook works as both a standalone CLI (npm install -g @let-it-cook/cli) and as a Claude Code skill. It supports rate-limit recovery with exponential backoff and flexible configuration for different agents and models per step. Built with TypeScript, it requires Node.js 20+.
The project hit 239 points on Hacker News today and was created on March 1, 2026.
GitHub: https://github.com/rjcorwin/cook
Docs: https://rjcorwin.github.io/cook/