# Cook Menu

> Interactive menu for managing cook artifacts

- **Type:** Skill
- **Install:** `agentstack add skill-pjuniszewski-cook-cook-menu`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [PJuniszewski](https://agentstack.voostack.com/s/pjuniszewski)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [PJuniszewski](https://github.com/PJuniszewski)
- **Source:** https://github.com/PJuniszewski/cook/tree/main/skills/cook-menu

## Install

```sh
agentstack add skill-pjuniszewski-cook-cook-menu
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# cook-menu Skill

Interactive menu for managing cook artifacts using native Claude Code UI.

## Execution Flow

When `/cook-menu` is invoked, follow this flow:

### Step 1: Scan Artifacts

Run this command to get artifact list with metadata:

```bash
for f in cook/*.cook.md; do
  if [ -f "$f" ]; then
    name=$(basename "$f" .cook.md)
    status=$(grep -m1 "^## Status" -A1 "$f" | tail -1 | tr -d '[:space:]')
    mode=$(grep -m1 "^## Cooking Mode" -A1 "$f" | tail -1 | tr -d '[:space:]')
    echo "$name|$status|$mode"
  fi
done
```

### Step 2: Select Artifact

Use `AskUserQuestion` tool to present artifacts:

```
Question: "Which artifact do you want to manage?"
Header: "Artifact"
Options: [list of artifacts with status as description]
```

If user selects "Exit" or cancels, end the skill.

### Step 3: Select Action

Use `AskUserQuestion` tool to present actions:

```
Question: "What do you want to do with ?"
Header: "Action"
Options:
  - "Validate" - "Run validation checks on this artifact"
  - "Compare" - "Diff with another artifact"
  - "Status" - "View artifact metadata summary"
  - "Back" - "Return to artifact selection"
```

### Step 4: Execute Action

Based on selection:

**Validate:**
```bash
./scripts/cook-validate "cook/.cook.md" --verbose
```

**Compare:**
1. Use AskUserQuestion to select second artifact
2. Run: `./scripts/cook-diff "cook/.cook.md" "cook/.cook.md"`

**Status:**
```bash
./scripts/cook-validate "cook/.cook.md" --quiet
```
Then display: filename, status, mode, owner, date, section count.

**Back:**
Return to Step 2.

### Step 5: Loop

After action completes, return to Step 3 (action selection) for same artifact.
User can select "Back" to return to artifact selection.

## Example Flow

```
/cook-menu
  │
  ▼
[AskUserQuestion: Select artifact]
  - dry-run-validation.2026-01-10 (well-done)
  - artifact-versioning.2026-01-10 (ready-for-merge)
  │
  ▼ user selects "dry-run-validation"
  │
[AskUserQuestion: Select action]
  - Validate
  - Compare
  - Status
  - Back
  │
  ▼ user selects "Validate"
  │
[Runs cook-validate, shows results]
  │
  ▼
[AskUserQuestion: Select action] (loop)
```

## Requirements

- Artifacts in `cook/*.cook.md`
- `scripts/cook-validate` for validation
- `scripts/cook-diff` for comparisons

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [PJuniszewski](https://github.com/PJuniszewski)
- **Source:** [PJuniszewski/cook](https://github.com/PJuniszewski/cook)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-pjuniszewski-cook-cook-menu
- Seller: https://agentstack.voostack.com/s/pjuniszewski
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
