Agent skill

Fitness Nutrition

by infometa in infometa/workbuddyskills

健身动作库与营养查询。通过 wger API 搜索 690+ 动作(按肌群/器械/名称), 通过 USDA FoodData Central 查询 38万+ 食物营养数据。

MITAuto-check passedProductivity & Automation

Install Fitness Nutrition

skills CLI
$ npx skills add infometa/workbuddyskills --skill fitness-nutrition -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install infometa/workbuddyskills fitness-nutrition --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/infometa/workbuddyskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/experts/personal-fitness-coach/skills/fitness-nutrition .claude/skills/fitness-nutrition && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fitness-nutrition
GitHub stars
348
Token cost
~892 tokens
SKILL.md length
108 words
Files
4 (incl. scripts, references)
Skills in repo
218
Repo updated
First seen
Licence
MIT

At a glance

健身动作库与营养查询。通过 wger API 搜索 690+ 动作(按肌群/器械/名称), 通过 USDA FoodData Central 查询 38万+ 食物营养数据。

  • Works in 4 steps: 动作名:保留英文原名 + 附带中文常用名(如 Bench Press/卧推) → 动作描述:翻译为中文后输出,不直接给用户看英文原文 → 食物名:翻译为中文(如 chicken breast → 鸡胸肉) → …
  • Tasks that involve Health and fitness tracking
  • SKILL.md covers When to Use, Procedure, 中文适配规则 and Pitfalls
  • Runs Python scripts from its folder; calls python3 and curl; reaches wger.de; needs DEMO_KEY and USDA_API_KEY

What it does

Fitness Nutrition is an agent skill from infometa/workbuddyskills. 健身动作库与营养查询。通过 wger API 搜索 690+ 动作(按肌群/器械/名称), 通过 USDA FoodData Central 查询 38万+ 食物营养数据。 离线计算器:BMI、TDEE、1RM、宏量分配、体脂率。纯 Python,无 pip 依赖。

Its SKILL.md is about 890 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/FORMULAS.md`, `scripts/body_calc.py` and `scripts/nutrition_search.py`).

It sits in Productivity & Automation, covering Health and fitness tracking. It works with Python. The repository describes itself as: WorkBuddy skills / connectors / experts archive for offline study. The licence is MIT.

When your agent uses it

  • Tasks that involve Health and fitness tracking

Example prompts

  • “/fitness-nutrition”

Requirements

  • Python 3
  • A credential in USDA_API_KEY
  • A credential in DEMO_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 动作名:保留英文原名 + 附带中文常用名(如 Bench Press/卧推)
  2. 动作描述:翻译为中文后输出,不直接给用户看英文原文
  3. 食物名:翻译为中文(如 chicken breast → 鸡胸肉)
  4. 肌群名:用中文(如 Pectoralis major → 胸大肌)

What it can do on your machine

Read from SKILL.md and the folder at commit 91b77ea. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • wger.de

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DEMO_KEY
    • USDA_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fitness Nutrition loads about 892 tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 38 tokens; SKILL.md has 108 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~892
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from infometa/workbuddyskills at commit 91b77ea, republished under its MIT licence (© infometa). 108 words, ~892 tokens.

Download SKILL.mdSave it as .claude/skills/fitness-nutrition/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
fitness-nutrition
description
健身动作库与营养查询。通过 wger API 搜索 690+ 动作(按肌群/器械/名称), 通过 USDA FoodData Central 查询 38万+ 食物营养数据。 离线计算器:BMI、TDEE、1RM、宏量分配、体脂率。纯 Python,无 pip 依赖。
platforms
linux, macos, windows
version
1.0.0
authors
haileymarshall (original)
license
MIT

Fitness & Nutrition

健身动作库 + 营养查询 + 身体计算器,训练计划所需数据全部在这里。

When to Use

触发此 skill 当用户:

  • 制定训练计划(需要查动作)
  • 问动作怎么做(需要动作详情)
  • 问饮食/营养(需要食物数据或宏量计算)
  • 需要计算 BMI / TDEE / 1RM / 体脂率 / 宏量分配

Procedure

动作查询(wger API)

wger 公开端点无需认证。始终加 language=2&status=2 获取已审核英文动作。

按名称搜索:

bash
QUERY="$1"
ENCODED=$(python3 -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" \
  | python3 -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\")}')
"

获取动作详情:

bash
EXERCISE_ID="$1"
curl -s "https://wger.de/api/v2/exerciseinfo/${EXERCISE_ID}/?format=json" \
  | python3 -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\",\"\")}')
"

按肌群/器械筛选:

bash
FILTER="$1"  # e.g. "muscles=4" or "category=11" or "equipment=3"
curl -s "https://wger.de/api/v2/exercise/?${FILTER}&language=2&status=2&limit=20&format=json" \
  | python3 -c "
import json,sys
data=json.load(sys.stdin)
print(f'Found {data.get(\"count\",0)} exercises.')
for ex in data.get('results',[]):
    print(f'  ID {ex[\"id\"]:>4} | muscles: {ex.get(\"muscles\",[])} | equipment: {ex.get(\"equipment\",[])}')
"
营养查询(USDA FoodData Central)

使用 USDA_API_KEY 环境变量,未设置则回退到 DEMO_KEY。 DEMO_KEY = 30次/小时,免费注册 = 1000次/小时。

bash
# 搜索单种食物
python3 scripts/nutrition_search.py "chicken breast"

# 搜索多种食物
python3 scripts/nutrition_search.py "rice" "eggs" "broccoli"
身体计算(离线)
bash
python3 scripts/body_calc.py bmi <体重kg> <身高cm>
python3 scripts/body_calc.py tdee <体重kg> <身高cm> <年龄> <M|F> <活动量1-5>
python3 scripts/body_calc.py 1rm <重量> <次数>
python3 scripts/body_calc.py macros <TDEE> <cut|maintain|bulk>
python3 scripts/body_calc.py bodyfat <M|F> <颈围cm> <腰围cm> [臀围cm] <身高cm>

公式出处见 references/FORMULAS.md。

中文适配规则

wger 和 USDA 返回的数据都是英文,必须:

  1. 动作名:保留英文原名 + 附带中文常用名(如 Bench Press/卧推)
  2. 动作描述:翻译为中文后输出,不直接给用户看英文原文
  3. 食物名:翻译为中文(如 chicken breast → 鸡胸肉)
  4. 肌群名:用中文(如 Pectoralis major → 胸大肌)

Pitfalls

  • wger 默认返回所有语言 → 必须加 language=2 筛英文
  • wger 包含未审核用户提交 → 必须加 status=2 只取已审核
  • USDA DEMO_KEY 30次/小时 → 批量查询加 sleep 2 或注册免费 Key
  • USDA 数据是每 100g → 提醒用户按实际份量换算
  • BMI 不区分肌肉和脂肪 → 肌肉型用户高 BMI 不是问题
  • 体脂率公式误差 ±3-5% → 建议DEXA扫描获取精确值
  • 1RM 公式在 >10 次时准确度下降 → 用 3-5 次的数据估算最准
  • wger 的搜索端点用 term 不是 query

© infometa, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in experts/personal-fitness-coach/skills/fitness-nutrition of infometa/workbuddyskills.

  • SKILL.md
  • references/FORMULAS.md
  • scripts/body_calc.py
  • scripts/nutrition_search.py

Open the folder on GitHubat commit 91b77ea

Compare with similar skills

Fitness Nutrition next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fitness Nutrition compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fitness Nutrition this skillinfometa/workbuddyskills348—~892Automated safety check: PassMIT
Fitness NutritionTommy-yw/RunbookHermes5461 repos~2.5kAutomated safety check: PassMIT
Wahoo CloudLeoYeAI/openclaw-master-skills2.2k—~1.9kAutomated safety check: PassMIT
Process Inboxtelegramdesktop/tdesktop33k1 repos~5.4kAutomated safety check: PassGPL-3.0
Process InboxTDesktop-x64/tdesktop3k—~4.3kAutomated safety check: PassGPL-3.0
Telegrambubbuild/bub1.7k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • Fitness Nutrition

    Tommy-yw/RunbookHermes

    Gym workout planner and nutrition tracker. An agent skill from Tommy-yw/RunbookHermes.

    546 GitHub starsUsed in 1 repo~2.5k tokens
    Productivity & AutomationAuto-check passed
  • Wahoo Cloud

    LeoYeAI/openclaw-master-skills

    Wahoo Fitness Cloud API — fetch workouts, download FIT files, parse power/HR/cadence/GPS into local SQLite for analysis

    2.2k GitHub stars~1.9k tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed
  • Process Inbox

    telegramdesktop/tdesktop

    Process the local ignored ai-tdesktop inbox into durable, independently testable Telegram Desktop task records while task execution worktrees remain active.

    33k GitHub starsUsed in 1 repo~5.4k tokens
    Productivity & AutomationAuto-check passed
  • Process Inbox

    TDesktop-x64/tdesktop

    Process the local ignored ai-tdesktop inbox into durable, independently testable Telegram Desktop task records while task execution worktrees remain active.

    3k GitHub stars~4.3k tokensUpdated 19 days ago
    Productivity & AutomationAuto-check passed
  • Telegram

    bubbuild/bub

    Telegram Bot skill for sending and editing Telegram messages via Bot API.

    1.7k GitHub stars~2.2k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Browser Use Terminal

    browser-use/terminal

    Direct browser control via the Browser Use Terminal CLI. An agent skill from browser-use/terminal.

    650 GitHub stars~2.1k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed

More from infometa/workbuddyskills

All 218 skills in this repo
  • Campus Event Playbook

    infometa/workbuddyskills

    This skill should be used when planning, coordinating, running, or reviewing student-led campus events, including club recruitment, freshman mixers, welcome activities, small talks, competitions…

    349 GitHub stars~861 tokensUpdated today
    Auto-check passed
  • Teachany

    infometa/workbuddyskills

    K-12 interactive courseware creation. An agent skill from infometa/workbuddyskills.

    349 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes
  • Weight Management HTML

    infometa/workbuddyskills

    A skill your agent uses when the adult weight-management MCP needs to be installed/set up in WorkBuddy (connector) or its result must be rendered as a standalone Chinese HTML plan.

    349 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Agent Browser

    infometa/workbuddyskills

    A skill your agent uses when the user needs browser automation, including opening web pages, taking screenshots, extracting page content, clicking elements, filling forms, or testing web flows.

    349 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • AI Research Radar

    infometa/workbuddyskills

    定时任务:每日研究简报。漏掉重要论文和行业报告?每天帮你盯着,关键信息一条不漏 This skill should be used when the user asks about 定时任务:每日研究简报.

    349 GitHub stars~438 tokensUpdated today
    Auto-check passed
  • Check Deck

    infometa/workbuddyskills

    Investment banking presentation quality checker. An agent skill from infometa/workbuddyskills.

    348 GitHub stars~687 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Fitness Nutrition

What does Fitness Nutrition do?

健身动作库与营养查询。通过 wger API 搜索 690+ 动作(按肌群/器械/名称), 通过 USDA FoodData Central 查询 38万+ 食物营养数据。. Fitness Nutrition is an agent skill from infometa/workbuddyskills.

When should I use Fitness Nutrition?

Fitness Nutrition fits situations like: tasks that involve Health and fitness tracking.

How do I install Fitness Nutrition in Claude Code?

Run `npx skills add infometa/workbuddyskills --skill fitness-nutrition -a claude-code`. Or copy the skill folder (experts/personal-fitness-coach/skills/fitness-nutrition in infometa/workbuddyskills) into .claude/skills/fitness-nutrition in your project. Claude Code loads it when a task matches its description.

How do I install Fitness Nutrition in Codex?

Run `npx skills add infometa/workbuddyskills --skill fitness-nutrition -a codex`. Or copy the skill folder (experts/personal-fitness-coach/skills/fitness-nutrition in infometa/workbuddyskills) into .agents/skills/fitness-nutrition in your project. Codex loads it when a task matches its description.

Can I use Fitness Nutrition in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add infometa/workbuddyskills --skill fitness-nutrition -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fitness-nutrition, .gemini/skills/fitness-nutrition, .github/skills/fitness-nutrition and .opencode/skills/fitness-nutrition in your project.

What does Fitness Nutrition need to run?

Going by SKILL.md and its folder, Fitness Nutrition needs Python for the scripts in its folder, the command-line tools its instructions call (python3 and curl) and credentials named DEMO_KEY and USDA_API_KEY. Our summary lists: Python 3; A credential in USDA_API_KEY; A credential in DEMO_KEY.

Does Fitness Nutrition access the network?

SKILL.md names 1 domain. In commands or code: wger.de; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Fitness Nutrition safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Fitness Nutrition use?

Fitness Nutrition is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Fitness Nutrition use?

About 892 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 809 tokens, read only when the agent opens those files.

What are the alternatives to Fitness Nutrition?

Skills that share tags, products or a category with Fitness Nutrition: Fitness Nutrition (Tommy-yw/RunbookHermes, 546 stars), Wahoo Cloud (LeoYeAI/openclaw-master-skills, 2.2k stars), Process Inbox (telegramdesktop/tdesktop, 33k stars) and Process Inbox (TDesktop-x64/tdesktop, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fitness Nutrition?

infometa (a GitHub user) maintains it in infometa/workbuddyskills, which has 348 GitHub stars. The repository holds 218 skills in this directory. The repository was last updated on October 9, 2026.

Source: infometa/workbuddyskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.