diet

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "diet" with this command: npx skills add ckchzh/diet

Diet — Meal & Nutrition Tracker

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

Commands

log — Record a meal

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 scripts/script.sh calories [YYYY-MM-DD]

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

plan — Generate a meal plan

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 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 scripts/script.sh water <ml> [YYYY-MM-DD]

Records water intake in milliliters. Defaults to today.

report — Nutrition report

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

ClawCoach Food

Food photo analysis and meal logging for ClawCoach. Send a photo of your meal and get instant macro breakdown via Claude Vision.

Registry SourceRecently Updated
5970Profile unavailable
General

Nutrition tracking

AI-powered nutrition coach and health tracker (powered by Haver). Log food with natural language, track calories and macros, monitor weight, get AI coaching,...

Registry SourceRecently Updated
5170Profile unavailable
General

Health Copilot: Eating, Sleep, and Exercise Tracking

帮助记录每餐摄入、睡眠质量以及运动锻炼恢复情况,并提供全自动飞书持久化与报表引擎。 Track meals, sleep quality, and workouts with automated Feishu persistence and reporting. Use when the user asks to...

Registry SourceRecently Updated
510Profile unavailable
General

Health Management

健康管理助手 - 基于十本畅销健康书籍共识的数据驱动健康管理系统。**快速暗号**: 健康记录、饮食分析、健康评分、周报、月报。**自然触发**: 记录饮食、查询营养、分析健康状况、补剂管理。支持多语言、多用户、时区自动识别。

Registry SourceRecently Updated
5691Profile unavailable