clawdbites
БесплатноБез исполняемых скриптовНе проверенExtract recipes from Instagram reels. Use when a user sends an Instagram reel link and wants to get the recipe from the caption. Parses ingredients…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
Instagram Recipe Extractor
Extract recipes from Instagram reels using a multi-layered approach:
- Caption parsing — Instant, check description first
- Audio transcription — Whisper (local, no API key)
- Frame analysis — Vision model for on-screen text
No Instagram login required. Works on public reels.
When to Use
- User sends an Instagram reel link
- User mentions "recipe from Instagram" or "save this reel"
- User wants to extract recipe details from a video post
How It Works (MANDATORY FLOW)
ALWAYS follow this complete flow — do not stop after caption if instructions are missing:
- User sends Instagram reel URL
- Extract metadata using yt-dlp (
--dump-json) - Parse the caption for recipe details
- Check completeness: Does caption have BOTH ingredients AND instructions?
- ✅ YES: Present the recipe
- ❌ NO (missing instructions or incomplete): Automatically proceed to audio transcription — do NOT stop or ask the user
- If audio transcription needed:
- Download video:
yt-dlp -o "/tmp/reel.mp4" "URL" - Extract audio:
ffmpeg -y -i /tmp/reel.mp4 -vn -acodec pcm_s16le -ar 16000 -ac 1 /tmp/reel.wav - Transcribe:
whisper /tmp/reel.wav --model base --output_format txt --output_dir /tmp - Merge caption ingredients with audio instructions
- Download video:
- Present clean, formatted recipe (combining caption + audio as needed)
- User decides what to do (save to notes, add to wishlist, etc.)
Completeness check heuristics:
- Has ingredients = contains 3+ quantity+item patterns (e.g., "1 cup flour", "2 lbs chicken")
- Has instructions = contains action verbs (blend, cook, bake, mix, pour, add) + sequence OR numbered steps
Extraction Command
yt-dlp --dump-json "https://www.instagram.com/reel/SHORTCODE/" 2>/dev/null
Key fields from JSON output:
description— The caption containing the recipeuploader— Creator's namechannel— Creator's handlewebpage_url— Original URLlike_count— Popularity indicator
Recipe Parsing
Look for these patterns in the caption:
Macros:
- "X Calories | Xg P | Xg C | Xg F"
- "Macros per serving"
- "Cal/Protein/Carbs/Fat"
Ingredients:
- Lines starting with quantities (1 cup, 2 tbsp, 24oz)
- Lines with measurement units
- Emoji bullet points (🥩 🌽 🧀 etc.)
Sections:
- "For the [component]:"
- "Ingredients:"
- "Instructions:"
- "Directions:"
Output Format
Present extracted recipe cleanly:
## [Recipe Name]
*From @[handle]*
**Macros (per serving):** X cal | Xg P | Xg C | Xg F
### Ingredients
- [ingredient 1]
- [ingredient 2]
...
### Instructions
1. [step 1]
2. [step 2]
...
---
Source: [original URL]
User Actions After Extraction
Let the user decide what to do:
- "Save to my recipes" → Save to Apple Notes (if meal-planner skill available)
- "Add to wishlist" → Save to
memory/recipe-wishlist.json - "Just show me" → Display only, no save
- "Plan this for next week" → Hand off to meal-planner skill
Wishlist Storage
Optional storage for recipes user wants to try later:
memory/recipe-wishlist.json:
{
"recipes": [
{
"name": "Recipe Name",
"source": "instagram",
"sourceUrl": "https://instagram.com/reel/...",
"handle": "@creator",
"addedDate": "2026-01-26",
"tried": false,
"macros": {
"calories": 585,
"protein": 56,
"carbs": 25,
"fat": 28,
"servings": 3
},
"ingredients": [...],
"instructions": [...]
}
]
}
Error Handling
If yt-dlp fails:
- Check if URL is valid Instagram reel format
- May be a private account — inform user
- Suggest user paste caption text manually as fallback
If no recipe found in caption (IMPORTANT):
After extracting, scan the caption for recipe indicators:
- Ingredient quantities (numbers + units like oz, cups, tbsp, lbs)
- Recipe sections ("For the...", "Ingredients:", "Instructions:")
- Cooking verbs (bake, cook, sauté, mix, combine)
- Macro information (calories, protein, carbs, fat)
If none found, tell the user clearly:
"I pulled the caption but it doesn't look like the recipe is there — it might just be a teaser or the recipe is only shown in the video itself. Here's what the caption says:
[show caption]
A few options:
- Check the comments — sometimes creators post recipes there
- Check their bio link — might lead to the full recipe
- Describe what you saw in the video and I can help find a similar recipe"
Recipe detection heuristics:
HAS_RECIPE if caption contains:
- 3+ ingredient-like patterns (quantity + food item)
- OR "recipe" + ingredient list
- OR macro breakdown + ingredients
- OR numbered/bulleted instructions
NO_RECIPE if caption is:
- Mostly hashtags
- Just a description/teaser
- Under 100 characters
- No quantities or measurements
Integration with meal-planner
The meal-planner skill can reference this skill:
- When planning meal
Установить clawdbites в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл clawdbites?
Extract recipes from Instagram reels. Use when a user sends an Instagram reel link and wants to get the recipe from the caption. Parses ingredients, instructions, and macros into a clean format.
Как установить скилл clawdbites?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл clawdbites запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic