Dietary Record Analysis: In-Conversation Calorie Estimation and Dietary Composition Review

Introduction

When people want to control their weight or adjust their diet, they usually install a tracking app or ask a model “How many calories is this meal?” but end up without a comparable daily summary. The former requires maintaining an account and database; the latter often lacks structured outputs such as meal-level archiving, macronutrient ratios, and comparisons with recommended intakes.

The community Skill “Diet Record Analyzer” (@user_70c2f807/diet-record-analyzer) from SkillHub is designed for this purpose. Guided by a standard SKILL.md, it instructs the Agent to: when users describe meals and portions in text, estimate calories step by step, aggregate the results, and offer adjustment directions. It does not rely on additional API keys and does not process food images.

What is This

“Diet Record Analyzer” is a community-sourced (community) Skill in the life-service category. Its current version is 1.0.0, maintained by publisher user_70c2f807. On SkillHub its display name is “Diet Record Analyzer” and its coordinate is @user_70c2f807/diet-record-analyzer.

The Skill documentation states that it should be activated when users mention diet tracking, calorie calculation, what they have eaten, diet tracking, calorie counting, food log, or request dietary tracking; it is not for recipe recommendations, nutrition consulting, or weight-loss medication topics.

Its core aim is to solve the problem of users not knowing roughly how many calories they consume daily, whether their macronutrients are imbalanced, and how to obtain readable logs and brief suggestions within a conversation.

Core Features

All capabilities below come from the official SKILL.md and are executed by the Agent after installation.

  1. Meal-based recording: Based on food names and portions described in text, it identifies food types, estimates calories, and assigns them to meals such as breakfast, lunch, and dinner.
  2. Aggregation and analysis: Computes calories for each meal and the entire day; analyzes ratios of carbohydrates, protein, and fat; compares with recommended intakes and flags gaps or excesses.
  3. Evaluation and advice: Assesses the quality of the day’s diet, highlights strengths and weaknesses, and provides actionable adjustment directions (e.g., suggesting substitute foods) rather than vague “eat less” advice.
  4. Interaction and boundaries: For vague descriptions, unknown foods, requests for precise calories, or weight-loss plans, the documentation provides fixed prompts and an FAQ; it explicitly refuses to offer medical or weight-loss medication advice.

The platform metadata marks requires_api_key=false, so no separate API key is needed.

Installation and Activation

Install the SkillHub CLI

If skillhub is not yet installed on your machine, first check the version; if it is missing, follow SkillHub’s official installation instructions (full installation or CLI only):

command -v skillhub && skillhub --version
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Install This Skill

When installing, you must use --dir to point to the current Agent’s skills directory; otherwise it will default to ./skills/ and may not be recognized. The installation command is:

skillhub install diet-record-analyzer --namespace user_70c2f807 --dir <skills directory>

Common clients’ skills paths (from SkillHub installation docs):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Alternatively, you can send the prompt from the SkillHub page to an AI assistant and have it install @user_70c2f807/diet-record-analyzer per https://skillhub.cn/install/skillhub.md.

After installation, restart or refresh the corresponding client so the new Skill is loaded.

Typical Usage

Once activated, the conversation flow follows the “Quick Start” section of SKILL.md. Below are reproducible intent examples (phrasing from the user side).

  1. User says “Log what I ate today” → Agent should prompt for foods and approximate portions for each meal.
  2. User describes “Breakfast: two steamed buns and a glass of soy milk; lunch: a rice bowl” → Agent estimates calories and records by meal.
  3. User asks “How many calories did I eat today?” → Agent aggregates calories and macronutrient ratios for the day.
  4. User asks “Did I eat healthily?” → Agent analyzes the diet’s structure and points out deficiencies and advice.
  5. User asks “I keep exceeding limits recently—what should I do?” → Agent analyzes possible causes and suggests adjustment directions.

In terms of output, the Skill requires structured presentation: a per-meal table (food, portion, calories, macronutrients), the day’s summary compared with recommended intake, a dietary evaluation, and explanations of nutrient ratios; all calorie values must be marked with “~” to indicate estimates.

Use Cases and Notes

Who It’s For

  • Users who want to quickly log a meal and view the day’s summary via natural language in environments like Cursor or Claude Code, without immediately adopting a specialized app.
  • Scenarios needing comparison of macronutrient ratios with recommended values, not just rough calorie estimates for individual dishes.

Limitations and Pitfalls (The Skill doc explicitly requires informing users)

Item Description
Calories are estimates Based on a generic food database, cooking methods and portion differences may cause about 10%–30% error
No image recognition Food and portions must be described in text by the user
No cross-conversation persistence Data exists only in the current conversation; for long-term tracking use a dedicated diet app
Not for medical use For disease-specific diets or weight-loss plans, consult a nutritionist or doctor

SkillHub page statistics (as of the data capture): approximately 875 downloads, category life-service, community rating displayed as 100000 (the platform’s scoring method is subject to SkillHub).

Conclusion

“Diet Record Analyzer” consolidates diet logging, calorie estimation, macronutrient ratios, and brief advice into an Agent-executable SKILL.md workflow, suitable for conversational meal logging and daily reviews. For long-term archiving, image-based recognition, or clinical-grade plans, use professional tools or medical guidance.

Official Skill page: https://www.skillhub.cn/skills/user_70c2f807/diet-record-analyzer
API index URL: https://api.skillhub.cn/user_70c2f807/diet-record-analyzer

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye