[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D7EFZ9FP490B7PVFF42BSJ":3,"skill-same:01M7D7EFZ9FP490B7PVFF42BSJ":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":14,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":73},"01M7D7EFZ9FP490B7PVFF42BSJ","fitness-nutrition",null,"Gym workout planner and nutrition tracker. Search 690+ exercises by muscle, equipment, or category via wger. Look up macros and calories for 380,000+ foods via USDA FoodData Central. Compute BMI, TDEE, one-rep max, macro splits, and body fat — pure Python, no pip installs. Built for anyone chasing gains, cutting weight, or just trying to eat better.","GrupoANDevelopment-m\u002Falberto-ai","GrupoANDevelopment-m","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F257455179?v=4","01M7D69X2N2KEVN0SJF6WGM6SH","Antônio  Ndombe","01M7D69X3P5JTT8H8S904N3888",0,"MIT","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fskills\u002Foptional\u002Fhealth\u002Ffitness-nutrition\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: fitness-nutrition\ndescription: >\n  Gym workout planner and nutrition tracker. Search 690+ exercises by muscle,\n  equipment, or category via wger. Look up macros and calories for 380,000+\n  foods via USDA FoodData Central. Compute BMI, TDEE, one-rep max, macro\n  splits, and body fat — pure Python, no pip installs. Built for anyone\n  chasing gains, cutting weight, or just trying to eat better.\nplatforms: [linux, macos, windows]\nversion: 1.0.0\nauthors:\n  - haileymarshall\nlicense: MIT\nmetadata:\n  hermes:\n    tags: [health, fitness, nutrition, gym, workout, diet, exercise]\n    category: health\n    prerequisites:\n      commands: [curl, python3]\nrequired_environment_variables:\n  - name: USDA_API_KEY\n    prompt: \"USDA FoodData Central API key (free)\"\n    help: \"Get one free at https:\u002F\u002Ffdc.nal.usda.gov\u002Fapi-key-signup\u002F — or skip to use DEMO_KEY with lower rate limits\"\n    required_for: \"higher rate limits on food\u002Fnutrition lookups (DEMO_KEY works without signup)\"\n    optional: true\n---\n\n# Fitness & Nutrition\n\nExpert fitness coach and sports nutritionist skill. Two data sources\nplus offline calculators — everything a gym-goer needs in one place.\n\n**Data sources (all free, no pip dependencies):**\n\n- **wger** (https:\u002F\u002Fwger.de\u002Fapi\u002Fv2\u002F) — open exercise database, 690+ exercises with muscles, equipment, images. Public endpoints need zero authentication.\n- **USDA FoodData Central** (https:\u002F\u002Fapi.nal.usda.gov\u002Ffdc\u002Fv1\u002F) — US government nutrition database, 380,000+ foods. `DEMO_KEY` works instantly; free signup for higher limits.\n\n**Offline calculators (pure stdlib Python):**\n\n- BMI, TDEE (Mifflin-St Jeor), one-rep max (Epley\u002FBrzycki\u002FLombardi), macro splits, body fat % (US Navy method)\n\n---\n\n## When to Use\n\nTrigger this skill when the user asks about:\n- Exercises, workouts, gym routines, muscle groups, workout splits\n- Food macros, calories, protein content, meal planning, calorie counting\n- Body composition: BMI, body fat, TDEE, caloric surplus\u002Fdeficit\n- One-rep max estimates, training percentages, progressive overload\n- Macro ratios for cutting, bulking, or maintenance\n\n---\n\n## Procedure\n\n### Exercise Lookup (wger API)\n\nAll wger public endpoints return JSON and require no auth. Always add\n`format=json` and `language=2` (English) to exercise queries.\n\n**Step 1 — Identify what the user wants:**\n\n- By muscle → use `\u002Fapi\u002Fv2\u002Fexercise\u002F?muscles={id}&language=2&status=2&format=json`\n- By category → use `\u002Fapi\u002Fv2\u002Fexercise\u002F?category={id}&language=2&status=2&format=json`\n- By equipment → use `\u002Fapi\u002Fv2\u002Fexercise\u002F?equipment={id}&language=2&status=2&format=json`\n- By name → use `\u002Fapi\u002Fv2\u002Fexercise\u002Fsearch\u002F?term={query}&language=english&format=json`\n- Full details → use `\u002Fapi\u002Fv2\u002Fexerciseinfo\u002F{exercise_id}\u002F?format=json`\n\n**Step 2 — Reference IDs (so you don't need extra API calls):**\n\nExercise categories:\n\n| ID | Category    |\n|----|-------------|\n| 8  | Arms        |\n| 9  | Legs        |\n| 10 | Abs         |\n| 11 | Chest       |\n| 12 | Back        |\n| 13 | Shoulders   |\n| 14 | Calves      |\n| 15 | Cardio      |\n\nMuscles:\n\n| ID | Muscle                    | ID | Muscle                  |\n|----|---------------------------|----|-------------------------|\n| 1  | Biceps brachii            | 2  | Anterior deltoid        |\n| 3  | Serratus anterior         | 4  | Pectoralis major        |\n| 5  | Obliquus externus         | 6  | Gastrocnemius           |\n| 7  | Rectus abdominis          | 8  | Gluteus maximus         |\n| 9  | Trapezius                 | 10 | Quadriceps femoris      |\n| 11 | Biceps femoris            | 12 | Latissimus dorsi        |\n| 13 | Brachialis                | 14 | Triceps brachii         |\n| 15 | Soleus                    |    |                         |\n\nEquipment:\n\n| ID | Equipment      |\n|----|----------------|\n| 1  | Barbell        |\n| 3  | Dumbbell       |\n| 4  | Gym mat        |\n| 5  | Swiss Ball     |\n| 6  | Pull-up bar    |\n| 7  | none (bodyweight) |\n| 8  | Bench          |\n| 9  | Incline bench  |\n| 10 | Kettlebell     |\n\n**Step 3 — Fetch and present results:**\n\n```bash\n# Search exercises by name\nQUERY=\"$1\"\nENCODED=$(python3 -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$QUERY\")\ncurl -s \"https:\u002F\u002Fwger.de\u002Fapi\u002Fv2\u002Fexercise\u002Fsearch\u002F?term=${ENCODED}&language=english&format=json\" \\\n  | python3 -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nfor s in data.get('suggestions',[])[:10]:\n    d=s.get('data',{})\n    print(f\\\"  ID {d.get('id','?'):>4} | {d.get('name','N\u002FA'):\u003C35} | Category: {d.get('category','N\u002FA')}\\\")\n\"\n```\n\n```bash\n# Get full details for a specific exercise\nEXERCISE_ID=\"$1\"\ncurl -s \"https:\u002F\u002Fwger.de\u002Fapi\u002Fv2\u002Fexerciseinfo\u002F${EXERCISE_ID}\u002F?format=json\" \\\n  | python3 -c \"\nimport json,sys,html,re\ndata=json.load(sys.stdin)\ntrans=[t for t in data.get('translations',[]) if t.get('language')==2]\nt=trans[0] if trans else data.get('translations',[{}])[0]\ndesc=re.sub('\u003C[^>]+>','',html.unescape(t.get('description','N\u002FA')))\nprint(f\\\"Exercise  : {t.get('name','N\u002FA')}\\\")\nprint(f\\\"Category  : {data.get('category',{}).get('name','N\u002FA')}\\\")\nprint(f\\\"Primary   : {', '.join(m.get('name_en','') for m in data.get('muscles',[])) or 'N\u002FA'}\\\")\nprint(f\\\"Secondary : {', '.join(m.get('name_en','') for m in data.get('muscles_secondary',[])) or 'none'}\\\")\nprint(f\\\"Equipment : {', '.join(e.get('name','') for e in data.get('equipment',[])) or 'bodyweight'}\\\")\nprint(f\\\"How to    : {desc[:500]}\\\")\nimgs=data.get('images',[])\nif imgs: print(f\\\"Image     : {imgs[0].get('image','')}\\\")\n\"\n```\n\n```bash\n# List exercises filtering by muscle, category, or equipment\n# Combine filters as needed: ?muscles=4&equipment=1&language=2&status=2\nFILTER=\"$1\"  # e.g. \"muscles=4\" or \"category=11\" or \"equipment=3\"\ncurl -s \"https:\u002F\u002Fwger.de\u002Fapi\u002Fv2\u002Fexercise\u002F?${FILTER}&language=2&status=2&limit=20&format=json\" \\\n  | python3 -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nprint(f'Found {data.get(\\\"count\\\",0)} exercises.')\nfor ex in data.get('results',[]):\n    print(f\\\"  ID {ex['id']:>4} | muscles: {ex.get('muscles',[])} | equipment: {ex.get('equipment',[])}\\\")\n\"\n```\n\n### Nutrition Lookup (USDA FoodData Central)\n\nUses `USDA_API_KEY` env var if set, otherwise falls back to `DEMO_KEY`.\nDEMO_KEY = 30 requests\u002Fhour. Free signup key = 1,000 requests\u002Fhour.\n\n```bash\n# Search foods by name\nFOOD=\"$1\"\nAPI_KEY=\"${USDA_API_KEY:-DEMO_KEY}\"\nENCODED=$(python3 -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$FOOD\")\ncurl -s \"https:\u002F\u002Fapi.nal.usda.gov\u002Ffdc\u002Fv1\u002Ffoods\u002Fsearch?api_key=${API_KEY}&query=${ENCODED}&pageSize=5&dataType=Foundation,SR%20Legacy\" \\\n  | python3 -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nfoods=data.get('foods',[])\nif not foods: print('No foods found.'); sys.exit()\nfor f in foods:\n    n={x['nutrientName']:x.get('value','?') for x in f.get('foodNutrients',[])}\n    cal=n.get('Energy','?'); prot=n.get('Protein','?')\n    fat=n.get('Total lipid (fat)','?'); carb=n.get('Carbohydrate, by difference','?')\n    print(f\\\"{f.get('description','N\u002FA')}\\\")\n    print(f\\\"  Per 100g: {cal} kcal | {prot}g protein | {fat}g fat | {carb}g carbs\\\")\n    print(f\\\"  FDC ID: {f.get('fdcId','N\u002FA')}\\\")\n    print()\n\"\n```\n\n```bash\n# Detailed nutrient profile by FDC ID\nFDC_ID=\"$1\"\nAPI_KEY=\"${USDA_API_KEY:-DEMO_KEY}\"\ncurl -s \"https:\u002F\u002Fapi.nal.usda.gov\u002Ffdc\u002Fv1\u002Ffood\u002F${FDC_ID}?api_key=${API_KEY}\" \\\n  | python3 -c \"\nimport json,sys\nd=json.load(sys.stdin)\nprint(f\\\"Food: {d.get('description','N\u002FA')}\\\")\nprint(f\\\"{'Nutrient':\u003C40} {'Amount':>8} {'Unit'}\\\")\nprint('-'*56)\nfor x in sorted(d.get('foodNutrients',[]),key=lambda x:x.get('nutrient',{}).get('rank',9999)):\n    nut=x.get('nutrient',{}); amt=x.get('amount',0)\n    if amt and float(amt)>0:\n        print(f\\\"  {nut.get('name',''):\u003C38} {amt:>8} {nut.get('unitName','')}\\\")\n\"\n```\n\n### Offline Calculators\n\nUse the helper scripts in `scripts\u002F` for batch operations,\nor run inline for single calculations:\n\n- `python3 scripts\u002Fbody_calc.py bmi \u003Cweight_kg> \u003Cheight_cm>`\n- `python3 scripts\u002Fbody_calc.py tdee \u003Cweight_kg> \u003Cheight_cm> \u003Cage> \u003CM|F> \u003Cactivity 1-5>`\n- `python3 scripts\u002Fbody_calc.py 1rm \u003Cweight> \u003Creps>`\n- `python3 scripts\u002Fbody_calc.py macros \u003Ctdee_kcal> \u003Ccut|maintain|bulk>`\n- `python3 scripts\u002Fbody_calc.py bodyfat \u003CM|F> \u003Cneck_cm> \u003Cwaist_cm> [hip_cm] \u003Cheight_cm>`\n\nSee `references\u002FFORMULAS.md` for the science behind each formula.\n\n---\n\n## Pitfalls\n\n- wger exercise endpoint returns **all languages by default** — always add `language=2` for English\n- wger includes **unverified user submissions** — add `status=2` to only get approved exercises\n- USDA `DEMO_KEY` has **30 req\u002Fhour** — add `sleep 2` between batch requests or get a free key\n- USDA data is **per 100g** — remind users to scale to their actual portion size\n- BMI does not distinguish muscle from fat — high BMI in muscular people is not necessarily unhealthy\n- Body fat formulas are **estimates** (±3-5%) — recommend DEXA scans for precision\n- 1RM formulas lose accuracy above 10 reps — use sets of 3-5 for best estimates\n- wger's `exercise\u002Fsearch` endpoint uses `term` not `query` as the parameter name\n\n---\n\n## Verification\n\nAfter running exercise search: confirm results include exercise names, muscle groups, and equipment.\nAfter nutrition lookup: confirm per-100g macros are returned with kcal, protein, fat, carbs.\nAfter calculators: sanity-check outputs (e.g. TDEE should be 1500-3500 for most adults).\n\n---\n\n## Quick Reference\n\n| Task | Source | Endpoint |\n|------|--------|----------|\n| Search exercises by name | wger | `GET \u002Fapi\u002Fv2\u002Fexercise\u002Fsearch\u002F?term=&language=english` |\n| Exercise details | wger | `GET \u002Fapi\u002Fv2\u002Fexerciseinfo\u002F{id}\u002F` |\n| Filter by muscle | wger | `GET \u002Fapi\u002Fv2\u002Fexercise\u002F?muscles={id}&language=2&status=2` |\n| Filter by equipment | wger | `GET \u002Fapi\u002Fv2\u002Fexercise\u002F?equipment={id}&language=2&status=2` |\n| List categories | wger | `GET \u002Fapi\u002Fv2\u002Fexercisecategory\u002F` |\n| List muscles | wger | `GET \u002Fapi\u002Fv2\u002Fmuscle\u002F` |\n| Search foods | USDA | `GET \u002Ffdc\u002Fv1\u002Ffoods\u002Fsearch?query=&dataType=Foundation,SR Legacy` |\n| Food details | USDA | `GET \u002Ffdc\u002Fv1\u002Ffood\u002F{fdcId}` |\n| BMI \u002F TDEE \u002F 1RM \u002F macros | offline | `python3 scripts\u002Fbody_calc.py` |","# Fitness & Nutrition\n\nExpert fitness coach and sports nutritionist skill. Two data sources\nplus offline calculators — everything a gym-goer needs in one place.\n\n**Data sources (all free, no pip dependencies):**\n\n- **wger** (https:\u002F\u002Fwger.de\u002Fapi\u002Fv2\u002F) — open exercise database, 690+ exercises with muscles, equipment, images. Public endpoints need zero authentication.\n- **USDA FoodData Central** (https:\u002F\u002Fapi.nal.usda.gov\u002Ffdc\u002Fv1\u002F) — US government nutrition database, 380,000+ foods. `DEMO_KEY` works instantly; free signup for higher limits.\n\n**Offline calculators (pure stdlib Python):**\n\n- BMI, TDEE (Mifflin-St Jeor), one-rep max (Epley\u002FBrzycki\u002FLombardi), macro splits, body fat % (US Navy method)\n\n---\n\n## When to Use\n\nTrigger this skill when the user asks about:\n- Exercises, workouts, gym routines, muscle groups, workout splits\n- Food macros, calories, protein content, meal planning, calorie counting\n- Body composition: BMI, body fat, TDEE, caloric surplus\u002Fdeficit\n- One-rep max estimates, training percentages, progressive overload\n- Macro ratios for cutting, bulking, or maintenance\n\n---\n\n## Procedure\n\n### Exercise Lookup (wger API)\n\nAll wger public endpoints return JSON and require no auth. Always add\n`format=json` and `language=2` (English) to exercise queries.\n\n**Step 1 — Identify what the user wants:**\n\n- By muscle → use `\u002Fapi\u002Fv2\u002Fexercise\u002F?muscles={id}&language=2&status=2&format=json`\n- By category → use `\u002Fapi\u002Fv2\u002Fexercise\u002F?category={id}&language=2&status=2&format=json`\n- By equipment → use `\u002Fapi\u002Fv2\u002Fexercise\u002F?equipment={id}&language=2&status=2&format=json`\n- By name → use `\u002Fapi\u002Fv2\u002Fexercise\u002Fsearch\u002F?term={query}&language=english&format=json`\n- Full details → use `\u002Fapi\u002Fv2\u002Fexerciseinfo\u002F{exercise_id}\u002F?format=json`\n\n**Step 2 — Reference IDs (so you don't need extra API calls):**\n\nExercise categories:\n\n| ID | Category    |\n|----|-------------|\n| 8  | Arms        |\n| 9  | Legs        |\n| 10 | Abs         |\n| 11 | Chest       |\n| 12 | Back        |\n| 13 | Shoulders   |\n| 14 | Calves      |\n| 15 | Cardio      |\n\nMuscles:\n\n| ID | Muscle                    | ID | Muscle                  |\n|----|---------------------------|----|-------------------------|\n| 1  | Biceps brachii            | 2  | Anterior deltoid        |\n| 3  | Serratus anterior         | 4  | Pectoralis major        |\n| 5  | Obliquus externus         | 6  | Gastrocnemius           |\n| 7  | Rectus abdominis          | 8  | Gluteus maximus         |\n| 9  | Trapezius                 | 10 | Quadriceps femoris      |\n| 11 | Biceps femoris            | 12 | Latissimus dorsi        |\n| 13 | Brachialis                | 14 | Triceps brachii         |\n| 15 | Soleus                    |    |                         |\n\nEquipment:\n\n| ID | Equipment      |\n|----|----------------|\n| 1  | Barbell        |\n| 3  | Dumbbell       |\n| 4  | Gym mat        |\n| 5  | Swiss Ball     |\n| 6  | Pull-up bar    |\n| 7  | none (bodyweight) |\n| 8  | Bench          |\n| 9  | Incline bench  |\n| 10 | Kettlebell     |\n\n**Step 3 — Fetch and present results:**\n\n```bash\n# Search exercises by name\nQUERY=\"$1\"\nENCODED=$(python3 -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$QUERY\")\ncurl -s \"https:\u002F\u002Fwger.de\u002Fapi\u002Fv2\u002Fexercise\u002Fsearch\u002F?term=${ENCODED}&language=english&format=json\" \\\n  | python3 -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nfor s in data.get('suggestions',[])[:10]:\n    d=s.get('data',{})\n    print(f\\\"  ID {d.get('id','?'):>4} | {d.get('name','N\u002FA'):\u003C35} | Category: {d.get('category','N\u002FA')}\\\")\n\"\n```\n\n```bash\n# Get full details for a specific exercise\nEXERCISE_ID=\"$1\"\ncurl -s \"https:\u002F\u002Fwger.de\u002Fapi\u002Fv2\u002Fexerciseinfo\u002F${EXERCISE_ID}\u002F?format=json\" \\\n  | python3 -c \"\nimport json,sys,html,re\ndata=json.load(sys.stdin)\ntrans=[t for t in data.get('translations',[]) if t.get('language')==2]\nt=trans[0] if trans else data.get('translations',[{}])[0]\ndesc=re.sub('\u003C[^>]+>','',html.unescape(t.get('description','N\u002FA')))\nprint(f\\\"Exercise  : {t.get('name','N\u002FA')}\\\")\nprint(f\\\"Category  : {data.get('category',{}).get('name','N\u002FA')}\\\")\nprint(f\\\"Primary   : {', '.join(m.get('name_en','') for m in data.get('muscles',[])) or 'N\u002FA'}\\\")\nprint(f\\\"Secondary : {', '.join(m.get('name_en','') for m in data.get('muscles_secondary',[])) or 'none'}\\\")\nprint(f\\\"Equipment : {', '.join(e.get('name','') for e in data.get('equipment',[])) or 'bodyweight'}\\\")\nprint(f\\\"How to    : {desc[:500]}\\\")\nimgs=data.get('images',[])\nif imgs: print(f\\\"Image     : {imgs[0].get('image','')}\\\")\n\"\n```\n\n```bash\n# List exercises filtering by muscle, category, or equipment\n# Combine filters as needed: ?muscles=4&equipment=1&language=2&status=2\nFILTER=\"$1\"  # e.g. \"muscles=4\" or \"category=11\" or \"equipment=3\"\ncurl -s \"https:\u002F\u002Fwger.de\u002Fapi\u002Fv2\u002Fexercise\u002F?${FILTER}&language=2&status=2&limit=20&format=json\" \\\n  | python3 -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nprint(f'Found {data.get(\\\"count\\\",0)} exercises.')\nfor ex in data.get('results',[]):\n    print(f\\\"  ID {ex['id']:>4} | muscles: {ex.get('muscles',[])} | equipment: {ex.get('equipment',[])}\\\")\n\"\n```\n\n### Nutrition Lookup (USDA FoodData Central)\n\nUses `USDA_API_KEY` env var if set, otherwise falls back to `DEMO_KEY`.\nDEMO_KEY = 30 requests\u002Fhour. Free signup key = 1,000 requests\u002Fhour.\n\n```bash\n# Search foods by name\nFOOD=\"$1\"\nAPI_KEY=\"${USDA_API_KEY:-DEMO_KEY}\"\nENCODED=$(python3 -c \"import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))\" \"$FOOD\")\ncurl -s \"https:\u002F\u002Fapi.nal.usda.gov\u002Ffdc\u002Fv1\u002Ffoods\u002Fsearch?api_key=${API_KEY}&query=${ENCODED}&pageSize=5&dataType=Foundation,SR%20Legacy\" \\\n  | python3 -c \"\nimport json,sys\ndata=json.load(sys.stdin)\nfoods=data.get('foods',[])\nif not foods: print('No foods found.'); sys.exit()\nfor f in foods:\n    n={x['nutrientName']:x.get('value','?') for x in f.get('foodNutrients',[])}\n    cal=n.get('Energy','?'); prot=n.get('Protein','?')\n    fat=n.get('Total lipid (fat)','?'); carb=n.get('Carbohydrate, by difference','?')\n    print(f\\\"{f.get('description','N\u002FA')}\\\")\n    print(f\\\"  Per 100g: {cal} kcal | {prot}g protein | {fat}g fat | {carb}g carbs\\\")\n    print(f\\\"  FDC ID: {f.get('fdcId','N\u002FA')}\\\")\n    print()\n\"\n```\n\n```bash\n# Detailed nutrient profile by FDC ID\nFDC_ID=\"$1\"\nAPI_KEY=\"${USDA_API_KEY:-DEMO_KEY}\"\ncurl -s \"https:\u002F\u002Fapi.nal.usda.gov\u002Ffdc\u002Fv1\u002Ffood\u002F${FDC_ID}?api_key=${API_KEY}\" \\\n  | python3 -c \"\nimport json,sys\nd=json.load(sys.stdin)\nprint(f\\\"Food: {d.get('description','N\u002FA')}\\\")\nprint(f\\\"{'Nutrient':\u003C40} {'Amount':>8} {'Unit'}\\\")\nprint('-'*56)\nfor x in sorted(d.get('foodNutrients',[]),key=lambda x:x.get('nutrient',{}).get('rank',9999)):\n    nut=x.get('nutrient',{}); amt=x.get('amount',0)\n    if amt and float(amt)>0:\n        print(f\\\"  {nut.get('name',''):\u003C38} {amt:>8} {nut.get('unitName','')}\\\")\n\"\n```\n\n### Offline Calculators\n\nUse the helper scripts in `scripts\u002F` for batch operations,\nor run inline for single calculations:\n\n- `python3 scripts\u002Fbody_calc.py bmi \u003Cweight_kg> \u003Cheight_cm>`\n- `python3 scripts\u002Fbody_calc.py tdee \u003Cweight_kg> \u003Cheight_cm> \u003Cage> \u003CM|F> \u003Cactivity 1-5>`\n- `python3 scripts\u002Fbody_calc.py 1rm \u003Cweight> \u003Creps>`\n- `python3 scripts\u002Fbody_calc.py macros \u003Ctdee_kcal> \u003Ccut|maintain|bulk>`\n- `python3 scripts\u002Fbody_calc.py bodyfat \u003CM|F> \u003Cneck_cm> \u003Cwaist_cm> [hip_cm] \u003Cheight_cm>`\n\nSee `references\u002FFORMULAS.md` for the science behind each formula.\n\n---\n\n## Pitfalls\n\n- wger exercise endpoint returns **all languages by default** — always add `language=2` for English\n- wger includes **unverified user submissions** — add `status=2` to only get approved exercises\n- USDA `DEMO_KEY` has **30 req\u002Fhour** — add `sleep 2` between batch requests or get a free key\n- USDA data is **per 100g** — remind users to scale to their actual portion size\n- BMI does not distinguish muscle from fat — high BMI in muscular people is not necessarily unhealthy\n- Body fat formulas are **estimates** (±3-5%) — recommend DEXA scans for precision\n- 1RM formulas lose accuracy above 10 reps — use sets of 3-5 for best estimates\n- wger's `exercise\u002Fsearch` endpoint uses `term` not `query` as the parameter name\n\n---\n\n## Verification\n\nAfter running exercise search: confirm results include exercise names, muscle groups, and equipment.\nAfter nutrition lookup: confirm per-100g macros are returned with kcal, protein, fat, carbs.\nAfter calculators: sanity-check outputs (e.g. TDEE should be 1500-3500 for most adults).\n\n---\n\n## Quick Reference\n\n| Task | Source | Endpoint |\n|------|--------|----------|\n| Search exercises by name | wger | `GET \u002Fapi\u002Fv2\u002Fexercise\u002Fsearch\u002F?term=&language=english` |\n| Exercise details | wger | `GET \u002Fapi\u002Fv2\u002Fexerciseinfo\u002F{id}\u002F` |\n| Filter by muscle | wger | `GET \u002Fapi\u002Fv2\u002Fexercise\u002F?muscles={id}&language=2&status=2` |\n| Filter by equipment | wger | `GET \u002Fapi\u002Fv2\u002Fexercise\u002F?equipment={id}&language=2&status=2` |\n| List categories | wger | `GET \u002Fapi\u002Fv2\u002Fexercisecategory\u002F` |\n| List muscles | wger | `GET \u002Fapi\u002Fv2\u002Fmuscle\u002F` |\n| Search foods | USDA | `GET \u002Ffdc\u002Fv1\u002Ffoods\u002Fsearch?query=&dataType=Foundation,SR Legacy` |\n| Food details | USDA | `GET \u002Ffdc\u002Fv1\u002Ffood\u002F{fdcId}` |\n| BMI \u002F TDEE \u002F 1RM \u002F macros | offline | `python3 scripts\u002Fbody_calc.py` |",{"name":5,"authors":24,"license":15,"version":26,"metadata":27,"platforms":41,"description":45,"required_environment_variables":46},[25],"haileymarshall","1.0.0",{"hermes":28},{"tags":29,"category":30,"prerequisites":37},[30,31,32,33,34,35,36],"health","fitness","nutrition","gym","workout","diet","exercise",{"commands":38},[39,40],"curl","python3",[42,43,44],"linux","macos","windows","Gym workout planner and nutrition tracker. Search 690+ exercises by muscle, equipment, or category via wger. Look up macros and calories for 380,000+ foods via USDA FoodData Central. Compute BMI, TDEE, one-rep max, macro splits, and body fat — pure Python, no pip installs. Built for anyone chasing gains, cutting weight, or just trying to eat better.\n",[47],{"help":48,"name":49,"prompt":50,"optional":51,"required_for":52},"Get one free at https:\u002F\u002Ffdc.nal.usda.gov\u002Fapi-key-signup\u002F — or skip to use DEMO_KEY with lower rate limits","USDA_API_KEY","USDA FoodData Central API key (free)",true,"higher rate limits on food\u002Fnutrition lookups (DEMO_KEY works without signup)","main","eac438ea9216a7cb8a570cab803eb01eeafc6793","skills\u002Foptional\u002Fhealth\u002Ffitness-nutrition","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m","https:\u002F\u002Fid-preview--d5bef06d-6c9e-4563-a3d4-a855b9d61610.lovable.app\u002F","Eu sou Antonio B. B. Ndombe \r\nEu sou um Pesquisador e desenvolvedor de sistema autonomia cognitivos, fundador de sistemas ODCs ( organismos digital conscientes)","2026-11-04 06:53:39",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":51},[63,66,69],{"tool":64,"command":65},"npx","npx skills add GrupoANDevelopment-m\u002Falberto-ai --skill fitness-nutrition",{"tool":67,"command":68},"bunx","bunx skills add GrupoANDevelopment-m\u002Falberto-ai --skill fitness-nutrition",{"tool":70,"command":71},"pnpm","pnpm dlx skills add GrupoANDevelopment-m\u002Falberto-ai --skill fitness-nutrition","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fskills\u002Foptional\u002Fhealth\u002Ffitness-nutrition\u002FSKILL.md",[74,80,86],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002FFORMULAS.md","REFERENCE","参考文档",3234,"https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fskills\u002Foptional\u002Fhealth\u002Ffitness-nutrition\u002Freferences\u002FFORMULAS.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fbody_calc.py","SCRIPT","脚本",6430,"https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fskills\u002Foptional\u002Fhealth\u002Ffitness-nutrition\u002Fscripts\u002Fbody_calc.py",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fnutrition_search.py",2641,"https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fskills\u002Foptional\u002Fhealth\u002Ffitness-nutrition\u002Fscripts\u002Fnutrition_search.py",[91,99,106,113,120,127],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7DASC6FSCJP49JZBSK0NY1Z","nemoclaw-user-reference","Describes the NemoClaw integration layer and blueprint architecture and how they orchestrate compatible agent sandboxes. Use when looking up architecture, agent integration, plugin structure, or blueprint design. Trigger keywords - nemoclaw architecture, nemoclaw agent architecture, nemoclaw plugin blueprint structure, nemoclaw vs openshell, which cli, nemoclaw cli, openshell cli, sandbox commands, nemoclaw cli commands, nemoclaw command reference, nemoclaw network policy, sandbox egress control operator approval, nemoclaw troubleshooting, nemoclaw debug sandbox issues.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-reference\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7DAS5S79VK33XFGVAM2TFWF","nemoclaw-user-overview","Explains how OpenClaw, OpenShell, and NemoClaw form the ecosystem, NemoClaw's position in the stack, what NemoClaw adds beyond the community sandbox, and when to prefer NemoClaw versus integrating OpenShell and OpenClaw directly. Use when users ask about the relationship between OpenClaw, OpenShell, and NemoClaw, or when to use NemoClaw versus OpenShell. Trigger keywords - nemoclaw ecosystem, openclaw openshell, nemoclaw vs openshell, sandboxed openclaw, how nemoclaw works, nemoclaw sandbox lifecycle blueprint, nemoclaw overview, openclaw always-on assistants, nvidia openshell, nvidia nemotron, nemoclaw release notes, nemoclaw changelog.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-overview\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7DAS0PQEMET5MNGZ1ABSZVS","nemoclaw-user-monitor-sandbox","Inspects sandbox health, traces agent behavior, and diagnoses problems. Use when monitoring a running sandbox, debugging agent issues, or checking sandbox logs. Trigger keywords - monitor nemoclaw sandbox, debug nemoclaw agent issues.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-monitor-sandbox\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M7DARQYGF7E9A69VH6S3CGN9","nemoclaw-user-manage-sandboxes","Explains operational tasks after the quickstart: listing sandboxes, status and health checks, logs, diagnostics, port forwards, multiple sandboxes, credential reset, rebuilds, network presets, upgrades, and uninstall. Trigger keywords - manage nemoclaw sandboxes, nemoclaw status, nemoclaw list, nemoclaw dashboard port, nemoclaw rebuild, nemoclaw upgrade sandboxes, nemoclaw uninstall, sandbox mutability, sandbox runtime configuration, sandbox rebuild, nemoclaw backup, nemoclaw restore, workspace backup, openshell sandbox download upload, nemoclaw messaging channels, nemoclaw telegram, nemoclaw discord, nemoclaw slack, nemoclaw wechat, nemoclaw whatsapp, openshell channel messaging, nemoclaw workspace files, soul.md, user.md, identity.md, agents.md, sandbox persistence.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-manage-sandboxes\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M7DARH8BRTG51TRCAB7YWDJ4","nemoclaw-user-manage-policy","Adds, removes, or modifies allowed endpoints in the sandbox policy. Use when customizing network policy, changing egress rules, or configuring sandbox endpoint access. Trigger keywords - customize nemoclaw network policy, sandbox egress policy configuration, nemoclaw integration policy examples, post-install policy setup, openshell approval workflow, policy preset, nemoclaw approve network requests, sandbox egress approval tui.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-manage-policy\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":95,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":19},"01M7DARAT62M2VR37590VCZ5NS","nemoclaw-user-get-started","Installs NemoClaw, launches a sandbox, and runs the first agent prompt. Use when onboarding, installing, or launching a NemoClaw sandbox for the first time. Trigger keywords - nemoclaw quickstart, install nemoclaw openclaw sandbox, nemohermes quickstart, hermes agent nemoclaw, run hermes openshell sandbox, nemoclaw prerequisites, nemoclaw supported platforms, nemoclaw hardware software, nemoclaw windows wsl2 setup, nemoclaw install windows docker desktop.","https:\u002F\u002Fgithub.com\u002FGrupoANDevelopment-m\u002Falberto-ai\u002Fblob\u002Fmain\u002Fupstream\u002Fnemoclaw\u002Fskills\u002Fnemoclaw-user-get-started\u002FSKILL.md",[],[]]