npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@let-it-cook/cli

v5.3.0

Published

A simple CLI for orchestrating Claude Code, Codex, and OpenCode.

Readme

cook

A simple CLI for orchestrating Claude Code, Codex, and OpenCode.

# review loop
cook "Implement dark mode" review

# 3 passes
cook "Implement dark mode" x3

# race 3, pick best
cook "Implement dark mode" v3 "least code"

# two approaches, pick one
cook "Auth with JWT" vs "Auth with sessions" pick "best security"

# task list
cook "Work on next task in plan.md" review ralph 5 "DONE if all tasks complete, else NEXT"

Two ways to get it:

Skill (no CLI) — your agent orchestrates subagents directly:

mkdir -p .claude/skills/cook && curl -fsSL https://raw.githubusercontent.com/rjcorwin/cook/main/no-code/SKILL.md -o .claude/skills/cook/SKILL.md

CLI — standalone tool for terminal or CI:

npm install -g @let-it-cook/cli
mkdir -p .claude/skills && cp -r $(npm root -g)/@let-it-cook/cli/skill .claude/skills/cook

Requires Node.js 20+ and Claude Code, Codex, or OpenCode.

Primitives

Work — a prompt string. One agent call.

Loop operators wrap work with iteration:

  • xN — N sequential passes
  • review — review → gate → iterate loop (up to 3 by default)
  • ralph N "<gate>" — repeat until a gate says DONE

Composition operators run parallel branches then resolve:

  • vN — N identical branches, pick the best
  • vs — two different branches, pick the best
  • pick, merge, compare — resolvers

Operators compose left to right. Each wraps everything to its left.

cook "work" x3 review       # 3 passes, then review loop
cook "work" review x3       # review loop, repeated 3 times
cook "work" review v3       # race 3, each with a review loop

Review loop

cook "Add dark mode" review                    # default prompts, up to 3 iterations
cook "Add dark mode" review 5                  # up to 5 iterations
cook "Add dark mode" "Review for accessibility" "DONE if WCAG AA, else ITERATE"
cook "Add dark mode" review --work-agent codex --review-agent claude --review-model opus

Rate-limit recovery

When an agent hits a token quota or rate limit, cook automatically waits and retries instead of bailing. A countdown is shown in the TUI. Enabled by default.

cook "Build the feature" review --no-wait   # disable: fail immediately on rate limit

Configure in .cook/config.json:

{
  "retry": {
    "enabled": true,
    "pollIntervalMinutes": 5,
    "maxWaitMinutes": 360
  }
}

Configuration

cook init

Creates COOK.md (project instructions + prompt template) and .cook/config.json:

{
  "agent": "claude",
  "sandbox": "agent",
  "steps": {
    "work":   { "agent": "codex", "model": "gpt-5-codex" },
    "review": { "agent": "claude", "model": "opus" }
  },
  "env": ["CLAUDE_CODE_OAUTH_TOKEN"]
}