Skip to content

Diet

Verified

Track food and nutrition. Use when logging meals, checking calories, tracking protein/carbs/fat, or generating diet reports.

55 downloads
$ Add to .claude/skills/

About This Skill

# Diet — Meal & Nutrition Tracker

Track what you eat, monitor macros, plan meals, and review nutrition trends.

Commands

log — Record a meal

```bash bash scripts/script.sh log "<food_item>" <calories> <protein_g> <carbs_g> <fat_g> [meal_type] ```

Records a food entry with calorie and macro data. `meal_type` defaults to `snack`. Options: `breakfast`, `lunch`, `dinner`, `snack`.

calories — Query calorie totals

```bash bash scripts/script.sh calories [YYYY-MM-DD] ```

Shows total calories consumed for a given date. Defaults to today.

plan — Generate a meal plan

```bash bash scripts/script.sh plan <target_calories> <days> ```

Generates a simple meal plan for the specified number of days targeting the given daily calorie goal, based on previously logged foods.

macros — Macronutrient breakdown

```bash bash scripts/script.sh macros [YYYY-MM-DD] ```

Shows protein, carbs, and fat totals and percentages for a given date. Defaults to today.

water — Log water intake

```bash bash scripts/script.sh water <ml> [YYYY-MM-DD] ```

Records water intake in milliliters. Defaults to today.

report — Nutrition report

```bash bash scripts/script.sh report [daily|weekly] [YYYY-MM-DD] ```

Produces a nutrition summary. `daily` shows one day; `weekly` shows 7-day trends. Defaults to daily report for today.

Output

All commands print plain text to stdout. Data is stored in `~/.diet/` as JSON files (`meals.json`, `water.json`).

Requirements - bash 4+ - python3 (standard library only)

Feedback

Report issues or suggestions: https://bytesagain.com/feedback/

---

Powered by BytesAgain | bytesagain.com

Use Cases

  • Create personalized meal plans based on dietary goals and restrictions
  • Calculate daily caloric and macronutrient targets for weight management
  • Generate grocery shopping lists from planned meal schedules
  • Track nutritional intake across meals and suggest adjustments
  • Adapt meal plans for specific dietary requirements like keto, vegan, or allergen-free

Pros & Cons

Pros

  • +Personalized plans account for individual goals, restrictions, and preferences
  • +Covers the full diet workflow: planning, shopping, tracking, and adjusting
  • +Supports multiple dietary approaches with tailored recommendations

Cons

  • -Nutritional advice should be validated by a healthcare professional
  • -Only available on claude-code and openclaw platforms
  • -Nutritional data accuracy depends on the food database used

FAQ

What does Diet do?
Track food and nutrition. Use when logging meals, checking calories, tracking protein/carbs/fat, or generating diet reports.
What platforms support Diet?
Diet is available on Claude Code, OpenClaw.
What are the use cases for Diet?
Create personalized meal plans based on dietary goals and restrictions. Calculate daily caloric and macronutrient targets for weight management. Generate grocery shopping lists from planned meal schedules.

100+ free AI tools

Writing, PDF, image, and developer tools — all in your browser.

Next Step

Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.