nutrition-cli

Fetch and analyze nutrition and diet log data via CLI commands.

1|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/kk580kk/Investment-analysis-reports --skill nutrition-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nutrition-cli
Source: https://github.com/kk580kk/Investment-analysis-reports/tree/main/skills/xiaoyi-health/nutrition
Command: npx skills add https://github.com/kk580kk/Investment-analysis-reports --skill nutrition-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires get_nutrition, get_diet_log_period, healthy-shared, and includes scripts (resource) components.

What problem does it solve?

This Skill helps users easily analyze their nutrition intake by providing a command-line interface to fetch and interpret dietary data.

Core Features & Use Cases

  • CLI Commands: Fetch nutrition and diet log data with simple commands.
  • Data Analysis: Calculate daily calorie needs,宏量营养素 distribution, and protein requirements.
  • Use Case: Users can track their nutrition intake over time, making informed decisions about their diet and exercise routines.

Quick Start

Use the nutrition-cli to get your nutrition intake for today: ./skills/xiaoyi-health/bin/pha-claw get_nutrition --date today

Frequently Asked Questions about nutrition-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze my daily nutrition intake using a CLI?

You can analyze nutrition intake via CLI by executing commands to fetch dietary data and calculate daily calorie needs. The tool retrieves single-day or range data to interpret macronutrient distribution and protein requirements.

How do I calculate TDEE and macronutrient distribution from diet logs?

Calculate TDEE and macronutrient distribution by running CLI commands against your diet logs. The tool fetches historical data ranges to compute total daily energy expenditure and interpret your dietary requirements.

What nutrition data sources do I need to fetch diet log periods?

Fetching diet log periods requires the 'get_nutrition' and 'get_diet_log_period' tools, along with the 'healthy-shared' skill. These dependencies provide the underlying dietary data for CLI analysis.

Can I track nutrition intake over a date range instead of just today?

Yes, you can track nutrition intake over a custom date range. The CLI supports fetching range data to help you monitor dietary habits over time and make informed diet and exercise decisions.

Is a command-line interface required to interpret my dietary requirements?

A command-line interface is required to interpret dietary requirements with this tool. It provides specific CLI commands to retrieve nutrition data and calculate metrics like TDEE and protein needs directly from your terminal.

Why use a CLI tool for nutrition analysis instead of manual tracking?

Using a CLI tool for nutrition analysis automates the retrieval of diet logs and calculation of calorie needs. It prevents manual calculation errors and enables rapid tracking of macronutrient distribution across single or multiple days.