Create a recipe file from a URL by fetching content, formatting it according to the project template, and saving it to the appropriate category directory. Use when asked to add, create, or save a recipe from a URL.
When creating a recipe from a URL, follow these steps:
Before creating a new recipe:
Try fetching in this order, stopping at the first success:
Step 2a — WebFetch (fast, no browser needed): Use WebFetch. If it returns a 403, bot-detection page ("Just a moment...", "Checking your browser..."), or clearly empty/truncated content, proceed to Step 2b.
Step 2b — claude-in-chrome (real browser, your existing session):
Invoke the claude-in-chrome skill, then:
tabs_create_mcp to open the URL in a new tab (your real Chrome session already passes bot/Cloudflare checks)get_page_text to extract the rendered page contentget_page_textIf claude-in-chrome tools are unavailable (no extension connected) or the user prefers not to use it, ask the user to paste the page content directly into the chat.
Analyze the recipe type and select the appropriate category directory:
If unsure between categories, use AskUserQuestion to confirm.
Convert title to snake_case (lowercase, no special chars): "Chocolate Chip Cookies" → chocolate_chip_cookies.dj
Use this template structure:
# [Recipe Title]
Based on [URL](URL)
{ rating=0 image="None" }
:::
:::
## Ingredients
- [ ] [first ingredient used - in preparation order]
- [ ] [second ingredient used]
- [ ] [third ingredient used]
(or with grouping for distinct components:)
### [Component 1]
- [ ] [ingredient]
- [ ] [ingredient]
### [Component 2]
- [ ] [ingredient]
- [ ] [ingredient]
## Recipe
1. [Step 1]
1. [Step 2]
## Notes
- [Optional notes, tips, variations]
Key Formatting Rules:
https://cooking.nytimes.com/recipes/...)rating=0 image="None"- [ ]½ → 1/2, ¼ → 1/4, ¾ → 3/4, ⅓ → 1/3, ⅔ → 2/3, ⅛ → 1/8, ⅜ → 3/8, ⅝ → 5/8, ⅞ → 7/81 ½ → 1.5, 2 ¼ → 2.25, 1 ⅓ → 1.33, 2 ⅔ → 2.67tspTbsp, "tablespoons" → Tbsps### [Label] subheaders or nested lists (2-space indent) only for distinct components1.), preserve details, minimal rewordingKyle's style: Direct, concise, minimal changes. Preserve measurements and technical precision. Only adapt formatting, not content.
content/[category]/[filename].djSimple Recipe:
pasta, Filename: simple_pasta.djcontent/pasta/simple_pasta.dj403/Bot-blocked Recipe:
claude-in-chrome skill, open the URL in a new tab, extract with get_page_textRecipe with Quantity Changes: If source has "4 ounces butter" but you convert to "1 stick butter", report: "Changed '4 ounces butter' to '1 stick butter'"
Category:lifestyle