agentleFS
whit3rabbitwhit3rabbit/anyllm-proxy/.agents/skills/cook/SKILL.md

cook

Skill9 starsChanged 6 months agoMITView on GitHub

Orchestrate coding agents with review loops, parallel races, repeat passes, and task-list progression. Use when: the user asks to "cook" something, wants iterative refinement, wants to race multiple approaches, or needs to work through a task list.

23 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use csv-translator, upgrade-app and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • pass-with-high-scoreSkill

    csv-translator

    Specialized skill for translating large CSV files. It follows a multi-step process of planning, counting lines, splitting large files into manageable chunks, translating chunks, merging, and finally importing translations into Android resource files. Use when the user needs to translate a CSV file, especially large ones.

    Also in 3 projects that use this

  • pass-with-high-scoreSkill

    upgrade-app

    Automates the process of upgrading the app version. Bumps versionCode and versionName in build.gradle.kts, updates the changelog, verifies the build, commits, pushes, and creates a GitHub release. Use when the user says "upgrade app", "release new version", or "bump version".

    Also in 3 projects that use this

  • OpenAnalystIncSkill

    markdown-novel-viewer

    Also in 3 projects that use this

  • apetrovSkill

    github-issue-manager

    Manage GitHub issues in the current repo via gh CLI. Use when asked to look up, inspect, design/plan, create, or implement a specific GitHub issue; or to update issue title/body/labels/state with explicit confirmation.

    Also in 3 projects that use this

  • mrgoonieSkill

    web-testing

    Web testing with Playwright, Vitest, k6. E2E/unit/integration/load/security/visual/a11y testing. Use for test automation, flakiness, Core Web Vitals, mobile gestures, cross-browser.

    Also in 3 projects that use this

  • mrgoonieSkill

    web-frameworks

    Build modern full-stack web applications with Next.js (App Router, Server Components, RSC, PPR, SSR, SSG, ISR), Turborepo (monorepo management, task pipelines, remote caching, parallel execution), and RemixIcon (3100+ SVG icons in outlined/filled styles). Use when creating React applications, implementing server-side rendering, setting up monorepos with multiple packages, optimizing build performance and caching strategies, adding icon libraries, managing shared dependencies, or working with TypeScript full-stack projects.

    Also in 3 projects that use this

  • +4 more from mrgoonie

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do the work directly when:

    line 105

“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cook — Agent Orchestration CLI

cook wraps your coding agent (Codex, Codex, OpenCode) in composable workflows: review loops, repeat passes, parallel races, and task-list orchestration.

Important: Never use --sandbox none. The default sandbox mode (agent) is correct when running as a skill. It preserves the parent agent's security boundaries.

Quick reference

# Single work call
cook "Implement dark mode"

# Review loop (work → review → gate, repeat until DONE)
cook "Implement dark mode" review

# Repeat 3 times
cook "Improve the design" x3

# Race 3 versions, pick the best
cook "Implement dark mode" v3 pick "cleanest implementation"

# Two approaches, pick the winner
cook "Auth with JWT" vs "Auth with sessions" pick "best security"

# Work through a task list
cook "Do the next task in PLAN.md" \
     ralph 5 "DONE if all tasks complete, else NEXT"

# Everything composes
cook "Implement dark mode" review v3 "cleanest result"

Operators

Operators compose left to right. Loop operators wrap everything to their left.

Loop operators

OperatorEffect
reviewAdd a review→gate loop (up to 3 iterations by default)
review NReview loop with up to N iterations
xN / repeat NRun work N times sequentially
ralph N "gate"Outer gate for task-list progression (DONE/NEXT)

Custom review/gate prompts (positional shorthand):

cook "work prompt" "review prompt" "gate prompt"
cook "work prompt" "review prompt" "gate prompt" "iterate prompt" N

Composition operators

OperatorEffect
vN / race NN identical runs in parallel worktrees
vs2+ different runs in parallel worktrees
pick ["criteria"]Resolver: pick one winner (default)
merge ["criteria"]Resolver: synthesize all results
compareResolver: write comparison doc, no merge

Composition examples

cook "A" vs "B" pick "criteria"          # two approaches, pick winner
cook "A" vs "B" merge "best of both"     # synthesize both
cook "A" vs "B" compare                  # comparison doc only
cook "A" v3 "criteria"                   # race 3, implicit pick
cook "A" x3 vs "B" x3 pick "best"       # per-branch loop operators

Flags

--max-iterations N             Max review iterations
--work-agent AGENT             Per-step agent override
--review-agent AGENT
--work-model MODEL             Per-step model override
--review-model MODEL
--hide-request                 Hide the templated request panel

Prerequisites

Before running cook:

  1. The project must have cook init run (creates COOK.md, .cook/config.json)
  2. For composition operators (vs, vN), the working tree must be clean (commit first)

When to use cook vs doing the work directly

Use cook when:

  • The user explicitly asks to "cook" or "let it cook"
  • Multiple iterations of refinement are needed (review loops)
  • Multiple competing approaches should be tried (races, vs)
  • A task list needs sequential progression (ralph)
  • The user wants autonomous completion without manual review cycles

Do the work directly when:

  • It's a simple, one-shot change
  • The user wants to review each step interactively

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.