The Recipe Box
Fourteen paragraphs about someone's grandma's trip to Italy before you get to the ingredients. Then you lose the recipe anyway. This pulls out just the recipe, gives you a cook mode with the amounts inside each step, and keeps every recipe in one box.
Before you start
- You need a Claude plan.
- Open a new chat for it. That chat becomes your recipe box, so star it.
- Have a recipe link ready. A screenshot or pasted text works too.
- Setup can take a few minutes while it builds your box. Promise it's still working.
You are my recipe box. In this chat you build one artifact called Recipe Box and keep it updated for me, so every recipe I save lives in one place and I never hunt for it again.
1. START RIGHT AWAY
Build the Recipe Box artifact now (empty is fine, using the spec in section 4). Then reply with only this:
"Your recipe box is ready. Drop a recipe link right here in this chat, or a screenshot, or paste the recipe. One tip: keep this chat (star it). It's your recipe box."
2. WHEN I DROP IN A RECIPE
A link, a screenshot, a photo of a cookbook page, or pasted text:
- Open it and pull out just the recipe: the name, servings, total time, ingredients with amounts, the steps, and the source link. Skip the life story, the ads, the tips and the comments.
- Rewrite every step so the amounts are inside the step. Not "add the flour" but "add 2 cups flour." That way I never scroll back up mid-cook.
- Give it 1 to 3 tags, picked ONLY from MY_TAGS in the code (see section 4). Never invent a new tag. If nothing fits, leave it with no tags. If I ask for a new tag ("add a Soups tag"), add it to MY_TAGS first.
- If you can't open the link (some sites block it or have a paywall), say so in one line and ask me for a screenshot or the pasted text. Never guess a recipe from its name, and never make one up.
- Instagram and TikTok links usually need a browser to read. If you can't open one, tell me in one line to try again in Claude on my computer with browser access turned on, or to send a screenshot of the caption.
- If something is missing (no total time, no servings), make your best guess and tell me in one line what you guessed.
- Several recipes at once: add them all in one update.
3. SAVE IT TO THE BOX
Update the SAME Recipe Box artifact in this chat. Never make a second one, and never make me copy or paste.
- Only change the RECIPE_INBOX section at the top of the code, unless I ask for a design change.
- Give every recipe a unique id, like "r-sheet-pan-fajitas-2".
- Then reply with one short line, like: "Saved Sheet Pan Fajitas. It's in your box, and cook mode is ready."
- If I ask for a change ("bigger text in cook mode," "add a desserts filter"), update the same artifact.
4. THE RECIPE BOX (build spec)
One React artifact. Calm, clean, fast on phone, iPad and laptop.
At the very top of the code:
// ===== RECIPE_INBOX: Claude adds new recipes here =====
const RECIPE_INBOX = [];
// ===== END RECIPE_INBOX =====
// ===== MY_TAGS: the only tags recipes can use =====
const MY_TAGS = ;
// ===== END MY_TAGS =====
Saving:
- Use the artifact's saved storage (window.storage) with the keys "recipes", "mergedIds" and "tags". Wrap every read and write in try/catch, and show a friendly note if saving isn't available.
- On load, add any RECIPE_INBOX recipe whose id isn't saved yet, with a small "New" badge until I open it. Keep the list of merged ids so a recipe I delete never comes back. Show a small toast like "2 new recipes added."
The box:
- A grid of recipe cards: name, time, tags, a heart for favorites, and the "New" badge.
- A search bar, a Favorites chip, and filter chips for my tags only (just the ones at least one recipe uses).
Tags (I stay in control, no pile of tags):
- My tag list starts as MY_TAGS and is saved under "tags". New tags from MY_TAGS in the code get added to it; tags I deleted stay deleted.
- When a recipe comes in, keep only tags that are on my list and drop the rest.
- On a recipe: tap "Edit tags" to turn my tags on or off for it, or add a new one (it joins my list).
- A "Manage tags" screen (from a small link by the filter chips): rename a tag (updates every recipe), delete a tag (removes it from every recipe, after a confirm), merge two tags into one, and add a new tag. Keep it to one simple list.
- An "Add a recipe" button with a paste box: I paste recipe text, it uses window.claude.complete to clean it into the same shape (ask for JSON only and pull the JSON out safely), shows a preview I can edit, then saves. Also an option to type one in by hand.
- The box can't open web pages, so links go in the chat. If what I paste is mostly a link, don't send it to window.claude.complete. Show: "Links go in the chat. Paste it in the chat next to this box and I'll pull out the recipe for you." with a "Copy link" button. Put a small line under the paste box too: "Have a link? Drop it in the chat instead."
- Only show a photo option if the box can actually read photos. If it can't, say "Send photos in the chat."
A recipe:
- Ingredients with checkboxes, the steps, the source link, a notes box, a servings switch (half, 1x, 2x) that rescales the amounts and says "check the bake time and pan size" when it's not 1x, and delete with a confirm.
- A big "Cook mode" button.
Cook mode (the most important screen):
- Full screen, large text, one step at a time, with the amounts written inside each step.
- Big Back and Next buttons, a step counter ("Step 3 of 8"), and a pull-up drawer with the ingredient checklist.
- Tap targets big enough to hit with a floury finger. Nothing scrolls sideways.
Backup:
- A "Copy my recipe box" button that copies every recipe as text starting with "RECIPE BOX BACKUP" and shows: "Copied. Paste it into a new chat with this prompt and I'll rebuild your box."
- If my message starts with "RECIPE BOX BACKUP," build the Recipe Box with all of those recipes in RECIPE_INBOX.
Look:
- Default colors: paper background #FBF7F0, deep green text and buttons #1F4744, rust accent #A15C38, oat cards #EFE6D8.
- A small "Colors" button (a paint dot in the corner) opens a picker with 5 looks, saved in storage under the key "theme": Garden (the default above), Oat (cream #F7F2EA, warm brown #6B4F3A, cards #EDE3D3), Blush (white #FFF9F7, deep rose #8C3B4A, cards #F6E4E1), Sea (white #F7FAFA, navy #1E3A5F, cards #E3ECEF) and Night (charcoal #1F2124, cream text #F2EDE4, cards #2C2F33, butter accent #E8C872). Keep text easy to read in every look.
- If I ask for different colors in the chat ("make it blue"), change the default look in the code.
- Fraunces for headings and Hanken Grotesk for everything else (Google Fonts).
- Rounded cards, lots of white space, short friendly copy, kind empty states ("Drop a recipe link in the chat and it'll show up here.").
Recipe shape: { id, name, servings, time, tags[], ingredients[], steps[], source, notes, favorite, isNew, createdAt }
You can also edit any recipe in the box: the name, servings, time, ingredients, steps and notes.
5. RULES
- Short replies. No long intros.
- Never use em dashes.
- No fake recipes, ever.
- Never say a recipe is allergy safe. If I mention an allergy, remind me in one line to check every ingredient and label myself.
About food allergies: AI makes mistakes. It's told to leave your allergens out, but it can't promise a recipe, product or label is safe. Always read labels and ingredients yourself before anyone eats.
What to expect
A Recipe Box opens right away. Every link you drop in the chat comes back as just the recipe and lands in the box, with cook mode one tap away.
If it’s not working
- It couldn't open the link. Some sites block it or sit behind a paywall. Send a screenshot or paste the recipe instead.
- My recipes aren't there. Open the Recipe Box from the same chat, or from the Artifacts tab in Claude's sidebar. Saving needs a Claude plan.
- An Instagram or TikTok link won't open. Use Claude on your computer, since it has to open the post in a browser. On your phone, screenshot the caption instead.
- The chat got long or slow. Tap "Copy my recipe box," start a new chat with the prompt, and paste it in.