com um clique
export-recipe
Convert Cooklang recipes to Markdown, JSON, YAML, or other formats
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Convert Cooklang recipes to Markdown, JSON, YAML, or other formats
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Import recipes from URLs or plain text and convert to Cooklang format
Create a new Cooklang recipe interactively from a description or template
Track kitchen inventory, find expiring items, and discover recipes you can make now
Plan weekly meals interactively and generate combined shopping lists
Structure recipe folders, audit metadata consistency, and set up configuration files
Adjust recipe servings and display scaled ingredient quantities
Baseado na classificação ocupacional SOC
| name | export-recipe |
| description | Convert Cooklang recipes to Markdown, JSON, YAML, or other formats |
Convert .cook recipes to other formats for sharing or integration:
Use this skill when:
Ask: "Which recipe(s) do you want to export?"
Recipe.cookRecipe1.cook Recipe2.cookdinner/*.cookOptions:
Single recipe:
cook recipe "Recipe.cook" -f markdown
cook recipe "Recipe.cook" -f json
cook recipe "Recipe.cook" -f yaml
Save to file:
cook recipe "Recipe.cook" -f markdown -o recipe.md
cook recipe "Recipe.cook" -f json -o recipe.json
Batch export:
for f in *.cook; do
cook recipe "$f" -f markdown -o "${f%.cook}.md"
done
For markdown:
For JSON:
User: "Export pasta recipe as markdown for my blog"
Run:
cook recipe "Pasta Carbonara.cook" -f markdown
Output:
# Pasta Carbonara
**Servings:** 4
**Time:** 25 minutes
**Tags:** italian, pasta, dinner
## Ingredients
- 400g spaghetti
- 150g pancetta
- 4 eggs
- 100g parmesan (finely grated)
- Black pepper (freshly ground)
- Salt (1 pinch)
## Equipment
- Large pot
- Pan
- Bowl
## Instructions
1. Cook **400g spaghetti** in a **large pot** of salted boiling water until al dente.
2. While pasta cooks, cut **150g pancetta** into small cubes and fry in a **pan** until crispy.
3. In a **bowl**, whisk **4 eggs** with **100g parmesan** (finely grated) and **black pepper** (freshly ground).
4. Reserve ~1/2 cup pasta water, then drain the spaghetti.
5. Remove pan from heat. Add hot pasta to pancetta, then quickly pour in egg mixture, tossing constantly.
6. Add pasta water a splash at a time if needed to loosen the sauce.
7. Serve immediately with extra parmesan and black pepper.
User: "Export all dinner recipes as JSON"
Run:
for f in dinner/*.cook; do
cook recipe "$f" -f json -o "export/$(basename ${f%.cook}).json"
done
# Format options
cook recipe "Recipe.cook" -f markdown
cook recipe "Recipe.cook" -f json
cook recipe "Recipe.cook" -f yaml
cook recipe "Recipe.cook" -f latex
# Save to file
cook recipe "Recipe.cook" -f markdown -o output.md
# With scaling
cook recipe "Recipe.cook:2" -f markdown
| Format | Best For | Pros | Cons |
|---|---|---|---|
| Markdown | Sharing, blogs | Readable, universal | No structure |
| JSON | Apps, APIs | Structured, parseable | Not human-friendly |
| YAML | Config, readable data | Structured + readable | Whitespace sensitive |
| LaTeX | Print, PDF | Beautiful output | Complex setup |
{
"title": "Recipe Name",
"metadata": {
"servings": 4,
"time": "30 minutes",
"tags": ["dinner", "quick"]
},
"ingredients": [
{"name": "flour", "quantity": 500, "unit": "g"},
{"name": "eggs", "quantity": 2, "unit": null}
],
"cookware": ["bowl", "pan"],
"timers": [
{"name": null, "duration": 15, "unit": "minutes"}
],
"steps": [
"Step 1 text...",
"Step 2 text..."
]
}
#!/bin/bash
# Export all recipes to markdown
mkdir -p export
for recipe in **/*.cook; do
name=$(basename "${recipe%.cook}")
cook recipe "$recipe" -f markdown -o "export/$name.md"
echo "Exported: $name"
done