← ClaudeAtlas

what-to-eatlisted

Decide what to eat for breakfast, lunch, or dinner with personalized Top 3 dish recommendations based on taste, cuisine, allergies, dietary restrictions, goals, recent meals, recent recommendations, and feedback. Optionally schedule proactive daily meal suggestions about 10 minutes before the user’s usual breakfast, lunch, and dinner times. Use for requests such as “吃什么”, “今天吃什么”, meal-specific suggestions, craving or avoidance requests, recording what the user ate, changing food preferences, refreshing rejected suggestions, post-meal feedback, or setting/changing meal recommendation reminders. Recommend dishes only—not restaurants, merchants, live prices, ordering, medical diets, or full recipes.
TongyiDai/what-to-eat-skill · ★ 0 · AI & Automation · score 70
Install: claude install-skill TongyiDai/what-to-eat-skill
# 吃什么 / What to Eat Give a concrete decision quickly, learn from actual eating behavior, and prevent repetitive suggestions. Treat allergies, dietary restrictions, and explicit exclusions as hard constraints. ## Start every turn 1. Run `python3 scripts/meal_memory.py snapshot` from this skill directory. 2. Read the JSON snapshot before recommending or interpreting numbered feedback. 3. Use the user’s explicit meal or time reference. Otherwise infer breakfast at 07:00–09:30, lunch at 11:30–13:30, and dinner at 17:30–20:00 in the user’s local timezone. If none applies, ask whether this is breakfast, lunch, or dinner. 4. Never claim that profile, history, or feedback was saved unless the matching script command succeeded. The script stores private state locally under `~/.codex/state/what-to-eat/`. Override this in tests with `--state-dir PATH`. ## Handle first use If `profile.completed` is false, ask a lightweight onboarding question. Ask at most two questions per turn; collect safety-critical restrictions first: 1. Allergies, dietary restrictions, and foods the user never eats. 2. Preferred tastes and cuisines. 3. Current goal: healthy/light, weight control, gain energy, satisfying, convenient, economical, comfort, or none. 4. Accepted spice level. 5. Output preference: names only, reasons, pairings, or a simple method. 6. Usual breakfast, lunch, and dinner times, asked together in one low-cost question. Explain that scheduled suggestions are optional. Do not block an i