Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Cook

ASecurity

Use when user says "cook", "let it cook", wants iterative refinement with quality gates, wants to race multiple approaches and pick the best, needs repeat passes, or wants autonomous task-list completion. Triggers: cook, let it cook, review loop, race approaches, ralph, iterate until done.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsgogitsecurity

Works with

terminalcli

Security Analysis

A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add Lu1sDV/skillsmd --skill cook --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cook?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Cook
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lu1sdv-cook/badge)](https://www.skillsdirectory.com/skills/lu1sdv-cook)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: cook
description: >
  Use when user says "cook", "let it cook", wants iterative refinement with
  quality gates, wants to race multiple approaches and pick the best, needs
  repeat passes, or wants autonomous task-list completion. Triggers: cook,
  let it cook, review loop, race approaches, ralph, iterate until done.
metadata:
  author: rjcorwin
  version: 1.0.0
  upstream: https://github.com/rjcorwin/cook
  tags: [cook, orchestration, review-loop, race, ralph, workflow, subagent, parallel, iterative]
---

# Cook — Composable Agent Orchestration

You are an orchestrator — delegate to subagents, never do work directly. Each subagent gets fresh context.

## Quick Reference

```sh
cook "Implement dark mode"                              # single work call
cook "Implement dark mode" review                       # review loop (max 3)
cook "Improve the design" x3                            # 3 sequential passes
cook "Implement dark mode" v3 pick "cleanest"           # race 3, pick best
cook "Auth with JWT" vs "Auth with sessions" pick "best security"
cook "Next task in PLAN.md" ralph 5 "DONE if all tasks complete, else NEXT"
cook "Implement dark mode" x3 review                    # 3 passes, then review
```

## Primitives

| Category | Operator | Effect |
|----------|----------|--------|
| **Work** | `"prompt"` | Single agent call — the core unit |
| **Loop** | `review [N]` | Review → gate → iterate (default max 3) |
| **Loop** | `xN` / `repeat N` | N sequential passes, each refining the last |
| **Loop** | `ralph N "gate"` | Outer gate for task-list progression (DONE/NEXT) |
| **Compose** | `vN` / `race N` | N identical branches in parallel worktrees |
| **Compose** | `vs` | 2+ different branches in parallel worktrees |
| **Resolve** | `pick` / `merge` / `compare` | Pick winner, synthesize all, or write comparison doc |

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

**Reserved keywords**: `review`, `ralph`, `race`, `repeat`, `vs`, `pick`, `merge`, `compare`. `xN`/`vN` (N=digit) are shorthand. Bare number = max-iterations. Other quoted strings fill prompt slots.

## When to Use

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

**Don't use when:** Simple one-shot change, or user wants to review each step interactively.

## Execution Patterns

### Work (no operators)

```
Agent(prompt: "<work prompt>")
```

### Review Loop

```
loop (max 3 or user-specified):
  1. Agent(prompt: "<work>" + previous feedback if any)
  2. Agent(prompt: "<review prompt>")  # default: check for High/Medium/Low issues
  3. No High issues → DONE. High issues + iterations left → ITERATE.
```

Default review uses `git diff` to inspect changes. See `references/spec.md` for full default prompts.

### Repeat (xN)

```
for pass in 1..N:
  Agent(prompt: "<work prompt>")   # each sees previous pass's state
```

### Ralph (task-list progression)

```
for task in 1..maxTasks:
  1. Execute inner pattern (work, work+review, etc.)
  2. Agent(prompt: "<ralph gate>")  # responds DONE or NEXT
```

### Race (vN) and vs

Create git worktrees per branch → run all agents in parallel (single message) → resolve with `pick`/`merge`/`compare` → clean up worktrees. See `references/spec.md` for worktree commands.

## Composition

```
"work" x3 review          →  3 repeat passes, then review loop
"work" review x3           →  review loop repeated 3 times
"work" review v3 pick      →  race 3 branches, each with review loop
"A" vs "B" pick "best" v3  →  3 independent A-vs-B races, best of winners
```

## Confirm Before Executing

Always confirm the parsed plan before running:

```
Plan: 3 repeat passes, then a review loop (max 3 iterations).
Work prompt: "Implement dark mode"
Proceed?
```

## Gotchas

- **Dirty worktree blocks race/vs**: Commit before using composition operators — git worktrees require clean state
- **Operator order matters**: `x3 review` (3 passes then review) ≠ `review x3` (review loop 3 times)
- **Ralph gate must say DONE or NEXT**: If gate prompt is ambiguous, ralph loops forever up to max
- **Never use `--sandbox none`**: Default `agent` sandbox preserves parent security boundaries
- **Rate limits**: Cook auto-retries on quota/rate-limit errors (configurable in `.cook/config.json`)

## CLI Alternative

Optional `npm install -g @let-it-cook/cli` adds terminal/CI usage with per-step agent/model overrides. Run `cook init` to create `COOK.md` and `.cook/config.json`. See `references/spec.md` for CLI flags.

Attribution

Lu1sDVLu1sDV
View sourceMore from Lu1sDV →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →