meal-logging
Analyze food images, calculate macros, log via Gemini in Sheets, verify entries, and send SMS confirmations.
Skill by Mohit5Upadhyay
Chalk Labs
Need help deploying meal-logging?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mohit5upadhyay-meal-logging
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: spreadsheets
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/meal-logging
What's inside
- Skill name
meal-logging- Description
- Analyze food images, calculate macros, log via Gemini in Sheets, verify entries, and send SMS confirmations.
- License
- MIT
- Instructions
- 146 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- log_meal.py · scripts/
SKILL.md (first lines)
# Meal Logging via Gemini Analyze food photos, calculate nutritional data, log to Google Sheets using Gemini, and confirm via SMS. ## Vision Analysis Workflow When user sends food photo: 1. **Analyze Image**: Identify food items, estimate portions using visual cues (hand size, plate size, common containers) 2. **Calculate Macros**: For each identified food: - Calories (kcal) - Protein (g) - Carbohydrates (g) - Fat (g) - Sum totals for the meal 3. **Assess Metabolic Impact**: - Thermic effect: High for protein, moderate for carbs, low for fat - Glycemic load: Estimate based on carb type and quantity - Satiety index: Predict fullness duration ## Gemini-Based Logging (PRIMARY METHOD) **CRITICAL**: Use Gemini for ALL sheet operations. Do NOT manually navigate cells. ### Step 1: Log to Local Database ```sh python3 "$HERMES_HOME/skills/meal-logging/scripts/log_meal.py" add \ --meal "Grilled Chicken Salad" \ --meal-type lunch \ --calories 450 --protein 42 --carbs 28 --fat 16 \ --insight "High protein, low glycemic, excellent thermic effect" ``` Returns meal_id for verification later. ### Step 2: Open Sheet and Activate Gemini 1. Get sheet URL from profile: ```sh python3 "$HERMES_HOME/skills/metabolix-profile/scripts/profile.py" get-sheet ``` 2. Use Latch browser to navigate to sheet URL 3. Click Gemini icon (sparkle ✨) in sidebar or top-right 4. If Gemini not visible: - Try "Help me organize" button - Or Extensions menu → Gemini - Wait 2-3 seconds for panel to load ### Step 3: Send Data to Gemini Use this EXACT format: ``` Add to Log sheet: Meal: Grilled Chicken Salad Calories: 450 Protein: 42g Carbs: 28g Fat: 16g Insight: High protein, low glycemic, excellent thermic effect ``` ### Step 4: Let Gemini Work Gemini will automatically: - Add new row with current timestamp - Input all data in correct columns - Update Dashboard charts (calories line chart, macro pie chart) - Apply conditional formatting (green/yellow/red based on targets) - Recalculate summary cards Wait 3-5 seconds for completion. ### Step 5: Verify Entry 1. Navigate to "Dashboard" tab 2. Check that: - Total Meals count increased - Avg Calories updated - Line chart has new data point - Pie chart reflects new macros 3. Note the row number from "Log" sheet ### Step 6: Mark as Verified ```sh python3 "$HERMES_HOME/skills/meal-logging/scripts/log_meal.py" mark-verified \ --id [meal_id_from_step1] --row [row_number_from_sheet] ``` ### Step 7: Send SMS Confirmation Format: ``` Grilled Chicken Salad Logged. 🔥 450 kcal | 🍗 42g Pro | 🍞 28g Carb | 🥑 16g Fat Remaining Budget: 1250 kcal | 58g Protein needed. Insight: High protein meal, excellent thermic effect. On track for daily target. ``` Attach screenshot of updated Dashboard tab showing new data point. ## Manual Fallback (ONLY IF GEMINI COMPLETELY FAILS) If Gemini is unavailable after 2-3 attempts: 1. Navigate to "Log" sheet manually 2. Scroll to last row 3. Click next empty row 4. Manually enter: Timestamp | Meal | Calories | Protein | Carbs | Fat | Insight 5. Charts should auto-update via formulas 6. Verify and mark verified 7. Report to user: "Gemini unavailable, used manual logging" ## Daily Summary ```sh # Get today's summary python3 "$HERMES_HOME/skills/meal-logging/scripts/log_meal.py" summary-today ``` Returns:
From Mohit5Upadhyay/metabolix, MIT.
More from Mohit5Upadhyay/metabolix
- 0.523score
metabolix-profile
Mohit5Upadhyay
Store user profile, fitness goals, TDEE calculation, Google Sheets config, and nutritional targets.
SkillBFreshness: BClaude Code +9 - 0.523score
meal-reminders
Mohit5Upadhyay
Proactively remind users to log meals at breakfast (10am), lunch (1pm), dinner (7pm) if not yet logged.
SkillBFreshness: BClaude Code +9 - 0.518score
grocery-staging
Mohit5Upadhyay
Detect protein deficits and stage high-protein groceries with mandatory approval before checkout.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Sep 16, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Mohit5Upadhyay/metabolix
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Mohit5Upadhyay
- 0.523score
metabolix-profile
Mohit5Upadhyay
Store user profile, fitness goals, TDEE calculation, Google Sheets config, and nutritional targets.
SkillBFreshness: BClaude Code +9 - 0.523score
meal-reminders
Mohit5Upadhyay
Proactively remind users to log meals at breakfast (10am), lunch (1pm), dinner (7pm) if not yet logged.
SkillBFreshness: BClaude Code +9 - 0.518score
grocery-staging
Mohit5Upadhyay
Detect protein deficits and stage high-protein groceries with mandatory approval before checkout.
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get meal-logging running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
meal-logging skill. Agent Mart. https://agentmart.dev/skills/mohit5upadhyay-meal-logging (last updated 2026-10-24)