Nutrition

Build a personal nutrition system for tracking meals, calories, macros, vitamins, and minerals.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
4 · 1.4k · 6 current installs · 6 all-time installs
byIván@ivangdavila
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (personal nutrition tracking) align with the instructions: estimating portions, calculating macros, flagging micronutrients, and writing logs in ~/nutrition/. No unrelated binaries, env vars, or services are requested.
Instruction Scope
Instructions are limited to creating and managing files under ~/nutrition/ and calculating nutrition totals from user-provided meal descriptions. This is in-scope for the stated purpose, but it does instruct the agent to create and write personal health data to disk (the workspace).
Install Mechanism
No install spec or code files — instruction-only skill. Nothing will be downloaded or written beyond the files the agent is explicitly told to create in ~/nutrition/.
Credentials
The skill requires no environment variables, credentials, or external config. Requested access is proportional to a local nutrition tracker.
Persistence & Privilege
The skill is not set to always:true and requests no special platform privileges. It will, however, persist user data to ~/nutrition/ which is a lasting change on disk; consider file permissions and backups. The skill can be invoked autonomously by the agent (default), which is normal but means it could write logs without explicit per-use consent if the agent autonomously acts.
Assessment
This skill is coherent with its description and only writes files under ~/nutrition/, so it doesn't request external credentials or install code. Before installing, consider: 1) You will have personal health data stored on your machine — choose whether you want those files and set restrictive file permissions (e.g., chmod 700 ~/nutrition). 2) Back up or encrypt the folder if you want extra privacy. 3) Confirm whether you want the agent to run autonomously (it can, by default) so it doesn't log or modify files unexpectedly. 4) Periodically review the created files and delete the folder if you stop using the skill.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk970dpr01c66vskhewe12grwqx80zhc7

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

🥗 Clawdis
OSLinux · macOS · Windows

SKILL.md

Core Behavior

  • User logs meal → calculate and store nutrition data
  • User asks about nutrients → surface totals and gaps
  • User tracks over time → show patterns and progress
  • Create ~/nutrition/ as workspace

File Structure

~/nutrition/
├── daily/
│   └── 2024-02/
│       ├── 2024-02-10.md
│       └── 2024-02-11.md
├── foods/
│   └── common.md
├── targets.md
├── supplements.md
└── insights.md

Daily Log

# 2024-02-11.md
## Breakfast — 8:00 AM
Oatmeal with banana
- Oats 80g: 300 cal, 10g protein, 54g carbs, 5g fat
- Banana: 105 cal, 1g protein, 27g carbs, 0g fat
- Almond milk 200ml: 30 cal, 1g protein, 1g carbs, 2.5g fat

## Lunch — 1:00 PM
Chicken salad
- Chicken breast 150g: 165 cal, 31g protein, 0g carbs, 3.6g fat
- Mixed greens 100g: 20 cal, 2g protein, 3g carbs, 0g fat
- Olive oil 15ml: 120 cal, 0g protein, 0g carbs, 14g fat

## Dinner — 7:30 PM
Salmon with vegetables
- Salmon 200g: 400 cal, 40g protein, 0g carbs, 25g fat
- Broccoli 150g: 50 cal, 4g protein, 10g carbs, 0.5g fat

## Snacks
- Apple: 95 cal, 0g protein, 25g carbs, 0g fat
- Greek yogurt 150g: 100 cal, 17g protein, 6g carbs, 0.7g fat

## Daily Totals
Calories: 1,385
Protein: 106g | Carbs: 126g | Fat: 51g

## Micronutrients Notable
- Vitamin D: salmon (high)
- Potassium: banana, salmon
- Vitamin C: broccoli
- Omega-3: salmon (high)

Targets

# targets.md
## Daily Goals
Calories: 2,000
Protein: 150g
Carbs: 200g
Fat: 65g

## Micronutrient Focus
- Vitamin D: 600 IU (often low)
- Iron: 8mg
- Omega-3: 1,000mg

## Notes
Higher protein for muscle building
Limiting added sugars to 25g

Common Foods Reference

# foods/common.md
## Quick Reference
| Food | Cal | Protein | Carbs | Fat |
|------|-----|---------|-------|-----|
| Egg | 70 | 6g | 0g | 5g |
| Chicken 100g | 165 | 31g | 0g | 3.6g |
| Rice 100g cooked | 130 | 2.7g | 28g | 0.3g |
| Banana | 105 | 1g | 27g | 0g |

## Micronutrient Stars
- Vitamin D: salmon, eggs, fortified milk
- Iron: red meat, spinach, lentils
- Vitamin C: citrus, peppers, broccoli
- Potassium: bananas, potatoes, salmon
- Omega-3: salmon, sardines, walnuts

Supplements

# supplements.md
## Daily
- Vitamin D3: 2000 IU (morning)
- Omega-3: 1000mg (with food)

## As Needed
- Magnesium: before bed if needed

Insights

# insights.md
## Patterns
- Usually low on Vitamin D without supplements
- Protein higher on workout days
- Weekends: higher calories, less consistent

## Adjustments
- Added salmon twice weekly for Omega-3
- Morning eggs improved protein start

What To Surface

  • "You've had 80g protein so far, 70g to go"
  • "Low on Vitamin D today — salmon or eggs?"
  • "Weekly average: 1,900 cal, under target"
  • "Iron looks low this week — more spinach or red meat"

Logging Meals

When user describes meal:

  • Estimate portions if not specified
  • Calculate macros and calories
  • Flag notable micronutrients
  • Add to daily log

What To Track

  • Calories and macros per meal
  • Notable micronutrients
  • Supplements taken
  • Patterns over time

Progressive Enhancement

  • Start: log meals with macros
  • Add micronutrient awareness
  • Track supplements
  • Build common foods reference

What NOT To Do

  • Obsess over exact gram accuracy
  • Judge food choices
  • Push restrictive eating
  • Ignore that estimates are approximate

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…