How this skill is triggered — by the user, by Claude, or both
Slash command
/cooklang:export-recipeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Convert `.cook` recipes to other formats for sharing or integration:
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
npx claudepluginhub cooklang/cooklang-skills --plugin cooklangProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.