fitness-nutrition

Search exercises and food nutrition data, then compute BMI, TDEE, one-rep max, and macro splits.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill fitness-nutrition-chensihakniroth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fitness-nutrition
Source: https://github.com/Chensihakniroth/ANAKOT-AGENT/tree/main/optional-skills/health/fitness-nutrition
Command: npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill fitness-nutrition-chensihakniroth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Planning workouts and tracking nutrition requires jumping between exercise databases, calorie calculators, and food label lookups. This Skill consolidates exercise search, food macro lookup, and body composition math into one workflow backed by free public APIs and offline Python calculators. ## Core Features & Use Cases - Exercise Search via wger: Query 690+ exercises by muscle group, equipment, category, or name using the wger API with no authentication required. - Nutrition Lookup via USDA FoodData Central: Retrieve calories, protein, fat, and carbs per 100g for 380,000+ foods, working instantly with DEMO_KEY or a free API key for higher rate limits. - Offline Body Calculators: Compute BMI, TDEE (Mifflin-St Jeor), one-rep max (Epley/Brzycki/Lombardi), macro splits for cutting or bulking, and body fat percentage (US Navy method) with pure stdlib Python. - Use Case: A user asks for a chest workout with dumbbells and a 500-kcal deficit meal plan. The Skill filters wger for chest exercises with dumbbell equipment, calculates the user's TDEE, and generates a macro split with per-meal gram targets. ## Quick Start Ask the agent to find dumbbell exercises for chest and calculate your TDEE and cutting macros based on your weight, height, age, and activity level.

Frequently Asked Questions about fitness-nutrition

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

FAQPage Schema
How do I search exercises by muscle group or equipment?▼

Query the wger API exercise endpoint with filters like muscles={id}, category={id}, or equipment={id}, always adding language=2 and status=2 for approved English results. The Skill includes reference tables mapping IDs to muscles, categories, and equipment so no extra API calls are needed.

How to look up calories and macros for a food?▼

Search USDA FoodData Central with the foods/search endpoint using your query and an API key. Results return calories, protein, fat, and carbs per 100g, so scale values to your actual portion size when logging meals.

Do I need an API key for USDA nutrition data?▼

No signup is required because DEMO_KEY works instantly with a 30 requests per hour limit. For 1,000 requests per hour, get a free key at the USDA signup page and set it as the USDA_API_KEY environment variable.

Does this skill require installing Python packages?▼

No pip installs are needed. All calculators use only the Python standard library, and API calls are made with curl or urllib, so the Skill runs on any system with python3 and curl.

How accurate are the body fat and one-rep max calculations?▼

The US Navy body fat formula is an estimate accurate to within 3-5% compared to DEXA scans. One-rep max formulas (Epley, Brzycki, Lombardi) are most reliable for sets of 10 reps or fewer, ideally 3-5 reps.

Why does the wger exercise search return no or wrong results?▼

The search endpoint uses the parameter name term, not query, which is a common mistake. Also add language=2 for English and status=2 to exclude unverified user submissions from results.