fitness-nutrition
What it does
It looks up exercises and foods in free databases and runs calculators for BMI, daily calorie needs, macro splits, and one-rep max. It is for people planning workouts or tracking what they eat.
When to use it
- βWhen you want a workout plan or exercises for a specific muscle group.
- βWhen you want to know the protein or calorie content of a food.
- βWhen you want to estimate your daily calorie needs or macro split for a goal.
Skill link
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/health/fitness-nutrition/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βHelp me plan a three-day weekly workout for my back and shoulders, and tell me how much protein I need per day.β
5 new skills a week. 1 minute to read.
How it works
The agent searches an open exercise database and a US government food database, then runs offline calculators for BMI, energy needs, one-rep max, and macro ratios. The results use the formulas the skill lists.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Fitness & Nutrition
Expert fitness coach and sports nutritionist skill. Two data sources plus offline calculators β everything a gym-goer needs in one place.
Data sources (all free, no pip dependencies):
- wger (https://wger.de/api/v2/) β open exercise database, 690+ exercises with muscles, equipment, images. Public endpoints need zero authentication.
- USDA FoodData Central (https://api.nal.usda.gov/fdc/v1/) β US government nutrition database, 380,000+ foods.
DEMO_KEYworks instantly; free signup for higher limits.
Offline calculators (pure stdlib Python):
- BMI, TDEE (Mifflin-St Jeor), one-rep max (Epley/Brzycki/Lombardi), macro splits, body fat % (US Navy method)
When to Use
Trigger this skill when the user asks about:
- Exercises, workouts, gym routines, muscle groups, workout splits
- Food macros, calories, protein content, meal planning, calorie counting
- Body composition: BMI, body fat, TDEE, caloric surplus/deficit
- One-rep max estimates, training percentages, progressive overload
- Macro ratios for cutting, bulking, or maintenance
Procedure
Exercise Lookup (wger API)
All wger public endpoints return JSON and require no auth. Always add
format=json and language=2 (English) to exercise queries.
Step 1 β Identify what the user wants:
- By muscle β use
/api/v2/exercise/?muscles={id}&language=2&status=2&format=json - By category β use
/api/v2/exercise/?category={id}&language=2&status=2&format=json - By equipment β use
/api/v2/exercise/?equipment={id}&language=2&status=2&format=json - By name β use
/api/v2/exercise/search/?term={query}&language=english&format=json - Full details β use
/api/v2/exerciseinfo/{exercise_id}/?format=json
Step 2 β Reference IDs (so you don't need extra API calls):
Exercise categories:
| ID | Category |
|---|---|
| 8 | Arms |
| 9 | Legs |
| 10 | Abs |
| 11 | Chest |
| 12 | Back |
| 13 | Shoulders |
| 14 | Calves |
| 15 | Cardio |
Muscles:
| ID | Muscle | ID | Muscle |
|---|---|---|---|
| 1 | Biceps brachii | 2 | Anterior deltoid |
| 3 | Serratus anterior | 4 | Pectoralis major |
| 5 | Obliquus externus | 6 | Gastrocnemius |
| 7 | Rectus abdominis | 8 | Gluteus maximus |
| 9 | Trapezius | 10 | Quadriceps femoris |
| 11 | Biceps femoris | 12 | Latissimus dorsi |
| 13 | Brachialis | 14 | Triceps brachii |
| 15 | Soleus |
Equipment:
| ID | Equipment |
|---|---|
| 1 | Barbell |
| 3 | Dumbbell |
| 4 | Gym mat |
| 5 | Swiss Ball |
| 6 | Pull-up bar |
| 7 | none (bodyweight) |
| 8 | Bench |
| 9 | Incline bench |
| 10 | Kettlebell |
Step 3 β Fetch and present results:
# Search exercises by name
QUERY="$1"
ENCODED=$(python -c "import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))" "$QUERY")
curl -s "https://wger.de/api/v2/exercise/search/?term=${ENCODED}&language=english&format=json" \
| python -c "
import json,sys
data=json.load(sys.stdin)
for s in data.get('suggestions',[])[:10]:
d=s.get('data',{})
print(f\" ID {d.get('id','?'):>4} | {d.get('name','N/A'):<35} | Category: {d.get('category','N/A')}\")
"
# Get full details for a specific exercise
EXERCISE_ID="$1"
curl -s "https://wger.de/api/v2/exerciseinfo/${EXERCISE_ID}/?format=json" \
| python -c "
import json,sys,html,re
data=json.load(sys.stdin)
trans=[t for t in data.get('translations',[]) if t.get('language')==2]
t=trans[0] if trans else data.get('translations',[{}])[0]
desc=re.sub('<[^>]+>','',html.unescape(t.get('description','N/A')))
print(f\"Exercise : {t.get('name','N/A')}\")
print(f\"Category : {data.get('category',{}).get('name','N/A')}\")
print(f\"Primary : {', '.join(m.get('name_en','') for m in data.get('muscles',[])) or 'N/A'}\")
print(f\"Secondary : {', '.join(m.get('name_en','') for m in data.get('muscles_secondary',[])) or 'none'}\")
print(f\"Equipment : {', '.join(e.get('name','') for e in data.get('equipment',[])) or 'bodyweight'}\")
print(f\"How to : {desc[:500]}\")
imgs=data.get('images',[])
if imgs: print(f\"Image : {imgs[0].get('image','')}\")
"
# List exercises filtering
FAQ
Do I need an account to use it?
No. The skill says the exercise database needs no authentication, and the food database has a demo key that works right away.
Which formulas does it use?
The skill lists the Mifflin-St Jeor method for energy needs, the Epley, Brzycki, and Lombardi methods for one-rep max, and the US Navy method for body fat.
Does the food lookup cover foods from other countries?
The food source is the US FoodData Central database, so results are strongest for US foods.
Details
Original description by the author
Workout planning, macros, and body metrics via wger/USDA.
Popularity
- GitHub stars
- 260k
- Ranking position
- #501
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-merge-conflict-arbiter
260kSettles a git merge conflict between two agents' branches as a neutral third party, producing one merged result for the repo.
antigravity-cli
260kGuides you through installing, updating, and troubleshooting the Antigravity command line tool, including its plugins, sign-in, and sandbox.
blackbox
260kLets your agent hand a coding task to the Blackbox AI command line tool, which runs several AI models and picks the best result.
dynamic-workflow
260kTeaches your agent to run large batches of similar work as a saved script, so only verified results return to the main conversation.
Similar skills
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.