lextoumbourou/lex-skills/food-log
Claude Code and agent skill by lextoumbourou/lex-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Log food the user reports (text or photo) to the daily note's Macros table. Always resolve macros via the common-foods note first, then recipes, then estimation.
Install
npx vskill@latest install lextoumbourou/lex-skills/food-logSKILL.md
Food Log
When the user reports something they ate (text description, food photo, or nutrition-label photo), resolve its macros and log it to today's daily note. Never skip the lookup order.
Configuration
Adapt these to the vault (defaults shown):
- Common foods note:
health/common-foods.md— foods the user eats regularly, per-serving macros in category tables - Recipes folder:
recipes/ - Daily notes:
daily/YYYY-MM-DD.mdwith a## Macrossection andcalories_consumedfrontmatter field - Daily targets: ask the user for their calorie and protein targets on first use and record them here
Resolving macros (in this order)
- The common-foods note — ALWAYS check first. Match loosely ("quest bar", "the choc protein shake") and scale by the serving reported. If it's there, use those numbers — don't re-estimate.
- Nutrition-label photo: read the panel directly; scale to the amount eaten. (Per-100g vs per-serving matters — check which column you're reading.)
- Home-cooked meal by name (e.g. "bolognese"): check the recipes folder for the recipe; estimate per-serve macros from its ingredients. If the user will eat it again, add the per-serve result to common-foods.
- Food photo: identify what's in it. If you can tell it's an exact known item (branded product, or something already in common-foods), use the common-foods entry — the photo then only confirms portion size. Otherwise estimate each component's portion from the photo and state your assumptions ("assuming ~150g rice").
- Neither: estimate from knowledge, say you estimated, and give the assumption that most affects the number.
Logging
- Add a row to today's
## Macrostable:| Item | Cal | Protein | Carbs | Fat |. Update the Total row. - Update
calories_consumedin today's frontmatter to the new total (andmodified, if the vault tracks it). - Reply with the item's cal + protein and the running day total vs the user's targets. Flag if a typical dinner would blow the budget.
Maintaining the common-foods note
- New packaged/branded item or anything the user is likely to eat again → append it to the right category table (same columns; note flavour/variant). Tell the user you added it.
- Don't add one-off restaurant meals or wild estimates — only entries with numbers worth reusing.
- Respect inline notes in the file (e.g. a default variant for a regular order).
Notes
- Food/label photos do NOT get embedded in the daily note — just log the macros.
- If an end-of-day rollover to a calorie log exists (see a morning-routine skill), that owns the rollover — this skill only logs items.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/health/food-log/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lextoumbourou/lex-skills/food-log)