recipe-md

An agent skill · free and open source

Turn a recipe in your head into a card you can print, share or bind into a family cookbook.

Tell your coding agent how Nani makes her dal. It writes it down, checks every amount, and gives you a card ready for the printer: a 4×6 index card, A5, A4 or Letter.

npx skills add isatimur/recipe-md

A cornbread recipe in the seventies theme: a fat orange serif title, harvest stripes and numbered dots An oyakodon recipe in the washoku theme: Mincho type on washi paper with a vermilion seal A Portuguese rice pudding recipe in the grandma theme: blue handwriting on a ruled card with tape and a coffee ring

You say the recipe. The agent writes it down, scales it with exact fractions, and lays it out like a cookbook page.

How it works

  1. Tell it the recipe

    In your own words, in any language. The agent asks only for what is missing: an amount, a time, how many it serves.

    “One cup of toor dal, three cups of water, half a teaspoon of turmeric. Make it for eight.”
  2. It checks every amount

    It writes a small JSON file and validates it. Scaling keeps fractions exact, and conversion never guesses a weight from a cup.

    ⅓ cup × 2 = ⅔ cup

  3. You pick a look and print

    It shows three themes side by side. Pick one, and it renders one HTML file you print or save as PDF.

    4×6 inA5A4LetterCookbook

Kitchen-honest by design

  • Exact fractions. ⅓ cup for 4 is ⅔ cup for 8. Never 0.67. Ranges scale too: 2–3 chillies become 4–6.
  • No guessed weights. Mass converts to mass and volume to volume, by a published table. A cup of flour stays a cup.
  • Times add up. Prep, cook and rest print with their total. Oven temperatures switch between °C and °F.
  • Nutrition only if you give it. The agent never estimates calories.
  • Any script. Arabic runs right to left. Japanese, Polish and Portuguese print as written, with labels in the recipe’s language.
  • No dependencies. One Node script. Playwright is optional, for PDF export.

Five themes, five kitchens

Each theme has its own type and layout. Every image here is real output from the engine. Open one to see the page itself.

Farmhouse theme: an Arabic maqluba recipe, right to left, in a double-rule letterpress frame with ochre labels
farmhouse Letterpress: wood-type title, Caslon text, ochre ink.
Minimal theme: a pierogi recipe with a heavy grotesk title, mono amounts and hairline rules
minimal Swiss grid: tight grotesk, mono amounts, one red accent.
Grandma theme: a Portuguese recipe in blue handwriting on a ruled index card
grandma Blue ballpoint on a ruled card, tape and a coffee ring.
Seventies theme: a cornbread recipe with an orange shadowed title, a gold time bar and a nutrition row
seventies A 1970s cookbook: soft fat serif, harvest stripes.
Washoku theme: an oyakodon recipe in Mincho type with a vermilion seal and a vertical category
washoku Mincho on washi, a vermilion seal, vertical type.

From one index card to a whole cookbook

The 4×6 in card

Ingredients on the front, method on the back. It fits the recipe box.

Front of a 4×6 card in the grandma theme: the dal title and ingredients in two columns of handwriting Back of the same 4×6 card: six numbered method steps and a tip

The family cookbook

List the recipe files. You get a cover, a contents page with page numbers, and notes pages up to a multiple of four, so it folds into a booklet.

Cookbook cover in the farmhouse theme: Around Our Table, by the Moreira-Haddad family Cookbook contents page: six recipes with dotted leaders and page numbers, one title in Arabic A cookbook recipe page in the farmhouse theme: the Portuguese rice pudding with a folio and page number 3 The same cookbook cover in the washoku theme, with a red seal holding the letter A

Install

Claude Code plugin

/plugin marketplace add isatimur/recipe-md
/plugin install recipe-md@recipe-md

Any agent, via skills.sh

npx skills add isatimur/recipe-md

Command line

npx github:isatimur/recipe-md render dal.json \
  --theme grandma --paper 4x6 \
  --servings 8 --out dal.html

Node 20 or newer. Nothing else to install.