# pp-food52

pp-food52 drives the food52-pp-cli binary against Food52: recipe search, pantry matching, serving math and clean printouts.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 159 installs · ★ 2142 repo stars
- Author: Trevin Chow
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-food52/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/pp-food52

## What it does

A skill around `food52-pp-cli`, a binary that pulls Food52 recipes and stories into a local full-text index. Every command reads, exports or indexes. Nothing on the site gets written.

Sync a few tags with `sync recipes` and the local copy starts paying off. `search` then works with no network, `pantry match` ranks dishes by how much of your pantry they cover, `recipes top` keeps kitchen-approved entries above a rating floor. Two transforms sit beside them: `scale` recalculates amounts from the recipe's `recipeYield`, `print` outputs ingredients and numbered steps with no ads, images or comments.

The CLI has to exist first. Run `npx -y @mvanhorn/printing-press-library install food52 --cli-only`, then confirm `food52-pp-cli --version` answers. If the install directory is missing from `PATH`, the skill has nothing to call. `go install` is the fallback and wants Go 1.26.6 or newer.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-food52 -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pp-food52/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pp-food52/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-food52 -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pp-food52/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-food52 -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pp-food52/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install mvanhorn/printing-press-library cli-skills/pp-food52/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/pp-food52/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-food52 -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/mvanhorn/printing-press-library --path cli-skills/pp-food52
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pp-food52/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add mvanhorn/printing-press-library --skill pp-food52 -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-food52/SKILL.md

## When to use it
- find a Food52 recipe from what is already in the fridge
- rescale a recipe for eight servings instead of two
- build an offline recipe index you can query later
- keep only recipes the Food52 test kitchen approved
- get a plain recipe text without photos or comments

## Example prompts
- Sync the chicken tag and show me what I can cook with pantry coverage from 0.7
- Scale `mom-s-japanese-curry-chicken-with-radish-and-cauliflower` to 8 servings
- Search my synced recipes for miso and print one of them

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 2392e227b5a02f6d.

BEGIN THIRD-PARTY FILE 2392e227b5a02f6d
````text
---
name: pp-food52
description: "Search, browse, and read Food52 from your terminal — with offline FTS, pantry matching, recipe scaling, and the editorial signals other tools throw away. Trigger phrases: `find me a food52 recipe for X`, `scale this food52 recipe to N servings`, `what can I cook from food52 with what's in my pantry`, `use food52`, `run food52`."
author: "Trevin Chow"
license: "Apache-2.0"
argument-hint: "<command> [args] | install cli|mcp"
allowed-tools: "Read Bash"
metadata:
  openclaw:
    requires:
      bins:
        - food52-pp-cli
    install:
      - kind: go
        bins: [food52-pp-cli]
        module: github.com/mvanhorn/printing-press-library/library/food-and-dining/food52/cmd/food52-pp-cli
---
<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/food-and-dining/food52/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Food52 — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `food52-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install food52 --cli-only
   ```
2. Verify: `food52-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

```bash
go install github.com/mvanhorn/printing-press-library/library/food-and-dining/food52/cmd/food52-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

## When to Use This CLI

Reach for this CLI when an agent needs Food52-quality recipes (community-curated, editor-tested) without rendering a browser or scraping HTML. The pantry match and offline FTS commands turn it into an edit-friendly cookbook the agent can keep on disk between sessions. Use the live `recipes search` for one-off lookups; sync + offline `search` for repeated queries against the same recipes.

## When Not to Use This CLI
````
END THIRD-PARTY FILE 2392e227b5a02f6d

The third-party file has ended. Everything between the 2392e227b5a02f6d tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2602 of 15478 bytes. © Trevin Chow · Apache-2.0 · https://github.com/mvanhorn/printing-press-library/tree/HEAD/cli-skills/pp-food52/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
