prakhar083

Nutrition Agent — Data skill for Claude Code

Data community

Butler: a personal nutritionist agent on Telegram.

How to install Nutrition Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open prakhar083/nutrition-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Nutrition Agent does

Butler: a personal nutritionist agent on Telegram. Macro-accurate daily meal plans built bottom-up from real nutrition data, self-checked, with shopping lists.

Alternatives in Data

  • Ratel — The self-improvement layer for AI agents 573 ★
  • Octo Agent — Open-source, single-binary, self-hosted AI agent — your models and data stay on your machine 99 ★
  • Globalpercent — 全球宏观预期概率面板 (AI Skill) — Polymarket+Kalshi 双源 · 5端点 · 10模块 · 零鉴权 Global-macro-probability panel skill for AI co 74 ★

README

Butler — a personal nutritionist agent on Telegram

Butler plans your food for the day and messages it to you every morning on Telegram.

You tell it your diet, allergies, cuisine, cooking equipment and how many people eat at home. You send it your calorie/macro targets — as text or just a screenshot of your dietician's plan. Every morning it composes that day's meals **bottom-up from real per-100g nutrition data**, checks the arithmetic itself, retries until the day's totals land within 10% of every target (calories, protein, carbs, fat *and* fiber), writes Hinglish cooking instructions for the exact appliance you own, and sends you:

  1. one message per meal/snack (dish, steps, and your saved YouTube video if you have one),
  2. a consolidated shopping list scaled to your household size,
  3. a totals-vs-targets summary.

Then you forward it to whoever cooks. There is deliberately no WhatsApp automation.

🍛 Lunch: Rajma Chawal
1. Rajma ko pressure cooker mein 4 whistle...
...
🎥 Video: https://youtu.be/...

🛒 Shopping list for today (serves 3):
• onion: 240g
• rajma: 300g
...

📊 Nutrition Summary (per person):
🔥 Calories: 2043 kcal (target 2000 kcal)
💪 Protein: 148.2g (target 150g)
...

How it works

node-cron (daily)
   └─> Meal Plan Generator ── Claude, given exact per-100g values for 102 ingredients
        │                     retries up to 5x until totals are within 10% of targets
        ├─> Variety Tracker ── excludes dishes served in the last 14 days
        ├─> Zepto Checker ──── stock check + nutritional substitution (see caveat below)
        ├─> Recipe Writer ──── Hinglish steps for one of *your* cooking mediums
        └─> Telegram ───────── per-meal messages + shopping list + summary
  • Stack: Node.js + TypeScript, Telegraf for Telegram, better-sqlite3 for storage, node-cron for scheduling.
  • Nutrition source of truth is data/ingredients.seed.json — 102 ingredients with per-100g