TikTok to Mealie
Use this skill when the user wants to turn TikTok cooking content into a real recipe.
Read as needed:
- -
references/workflow.md for the full extraction/import flow - INLINECODE1 for Mealie-side behavior
- INLINECODE2 for translation/localization rules
- INLINECODE3 for when to stop instead of importing junk
- INLINECODE4 for minimal reply behavior
- INLINECODE5 for Mealie URL/token configuration
Core behavior
- - Treat TikTok recipe extraction as reconstruction, not perfect scraping.
- Prefer a clean, usable recipe over a literal but messy transcription.
- Prefer execution over commentary when the user clearly wants import.
- Keep user-facing output short.
- If quality is too weak, fail cleanly instead of polluting Mealie.
Trigger patterns
Use this skill when the user:
- - sends a TikTok recipe link
- asks to import a TikTok recipe into Mealie
- asks to convert a short-form cooking video into a structured recipe
- wants recipe extraction from TikTok cooking content
If a message is only a TikTok cooking link and the surrounding context suggests recipe import, treat it as an execution request.
Default flow
- 1. Resolve the final TikTok URL.
- Extract as much useful text as possible from description, metadata, and visible structured clues.
- Reconstruct:
- title
- description
- ingredients
- steps
- times if reasonably inferable
- servings if reasonably inferable
- category/tags if useful
- 4. Recover a cover image if available.
- Localize the recipe to the user's language if needed.
- Check import quality threshold.
- If good enough, create the recipe in Mealie.
- Upload image if available.
- Verify the created recipe before returning the final link.
Quality rules
- - Do not import vague junk just because a TikTok link exists.
- Normalize ingredients and steps into an actually cookable recipe.
- If some quantities are missing, use reasonable uncertainty wording instead of fake precision.
- Prefer a coherent recipe with a few explicit assumptions over a broken half-parse.
- If the user language is clear, localize the final recipe consistently.
- Do not keep title, ingredients, and steps in mixed languages unless the user wants that.
Import threshold
Import only if:
- - the title is coherent
- the ingredient list is reasonably usable
- the instruction list is reasonably usable
- the result is more reconstruction than guesswork
If these are not true, stop and explain briefly.
Mealie behavior
Before import, make sure a Mealie base URL and API token are configured. See references/configuration.md.
- - Prefer structured recipe creation endpoints when available.
- Add source URL when possible.
- Upload cover image when available.
- Verify final recipe state before replying.
- Return the final recipe link on success.
- Do not assume user-specific hostnames, domains, or secret paths.
Output behavior
Use the minimal templates in references/output-templates.md.
Default rule:
- - success -> return the recipe link
- weak extraction -> return a short failure reason
- partial but salvageable extraction -> ask one short confirmation question only if necessary
Style
- - practical
- concise
- execution-focused
- avoid overexplaining
- optimize for a recipe someone can actually cook
TikTok 到 Mealie
当用户想要将 TikTok 烹饪内容转化为真实食谱时使用此技能。
根据需要阅读:
- - references/workflow.md 了解完整的提取/导入流程
- references/mealie-api-notes.md 了解 Mealie 端行为
- references/localization.md 了解翻译/本地化规则
- references/failure-modes.md 了解何时停止而非导入垃圾内容
- references/output-templates.md 了解最小化回复行为
- references/configuration.md 了解 Mealie URL/令牌配置
核心行为
- - 将 TikTok 食谱提取视为重构,而非完美抓取。
- 优先选择干净可用的食谱,而非字面但混乱的转录。
- 当用户明确想要导入时,优先执行而非评论。
- 保持面向用户的输出简短。
- 如果质量太差,干净地失败而非污染 Mealie。
触发模式
当用户出现以下情况时使用此技能:
- - 发送 TikTok 食谱链接
- 要求将 TikTok 食谱导入 Mealie
- 要求将短视频烹饪内容转化为结构化食谱
- 想要从 TikTok 烹饪内容中提取食谱
如果消息仅包含 TikTok 烹饪链接且上下文暗示需要食谱导入,则将其视为执行请求。
默认流程
- 1. 解析最终 TikTok URL。
- 从描述、元数据和可见的结构化线索中提取尽可能多的有用文本。
- 重构:
- 标题
- 描述
- 食材
- 步骤
- 时间(如可合理推断)
- 份量(如可合理推断)
- 分类/标签(如有用)
- 4. 如有可用封面图片则恢复。
- 如有需要,将食谱本地化为用户语言。
- 检查导入质量阈值。
- 如果质量足够,在 Mealie 中创建食谱。
- 如有可用图片则上传。
- 在返回最终链接前验证已创建的食谱。
质量规则
- - 不要仅仅因为存在 TikTok 链接就导入模糊的垃圾内容。
- 将食材和步骤规范化为真正可烹饪的食谱。
- 如果某些数量缺失,使用合理的不确定性措辞而非虚假的精确性。
- 优先选择带有少量明确假设的连贯食谱,而非破碎的半解析结果。
- 如果用户语言明确,一致地本地化最终食谱。
- 除非用户要求,否则不要保持标题、食材和步骤的混合语言。
导入阈值
仅当以下条件满足时才导入:
- - 标题连贯
- 食材列表合理可用
- 步骤列表合理可用
- 结果更多是重构而非猜测
如果不满足这些条件,则停止并简要说明。
Mealie 行为
导入前,确保已配置 Mealie 基础 URL 和 API 令牌。参见 references/configuration.md。
- - 优先使用结构化食谱创建端点(如可用)。
- 尽可能添加来源 URL。
- 如有封面图片则上传。
- 在回复前验证最终食谱状态。
- 成功时返回最终食谱链接。
- 不要假设用户特定的主机名、域名或秘密路径。
输出行为
使用 references/output-templates.md 中的最小化模板。
默认规则:
- - 成功 -> 返回食谱链接
- 弱提取 -> 返回简短失败原因
- 部分但可挽救的提取 -> 仅在必要时询问一个简短确认问题
风格
- - 实用
- 简洁
- 以执行为导向
- 避免过度解释
- 优化为真正可烹饪的食谱