fitness

A command-based fitness log for recording exercise, managing goals, generating exercise suggestions, and reviewing trends. It supports activities such as running, cycling, swimming, strength training, yoga, and team sports.

In plain words
What is it for?
Use it to log workouts, track fitness goals, review progress, and analyze exercise trends. Its suggestions are for reference and are not medical advice.
Why use it?
It turns free-form workout notes into organized records with details such as duration, distance, intensity, pace, heart rate, calories, and exercises.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/huifer/wellally-health/fitness
Clone the repo
git clone --depth 1 https://github.com/huifer/WellAlly-health

Made for: Claude Code.

Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,030 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00015 $0.03030
Opus 5 $0.00008 $0.01515
Sonnet 5 $0.00003 $0.00606
Haiku 4.5 $0.00002 $0.00303

Measured yesterday against content hash 5ad146500602, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fitness scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/fitness.md · 399 lines

How it starts

The opening of the file, as written. The whole thing — 399 lines — stays where its author put it; the contents beside it link to each section on GitHub.

运动与健身管理命令

⚠️ 重要医学免责声明 本系统提供的运动建议和分析仅供参考,不构成医疗建议或具体运动处方。 开始运动计划前,请咨询医生或运动专家。 如有不适,请立即停止运动并就医。


使用方法

记录运动

# 快速记录(自然语言)
/fitness record 跑步 30分钟
/fitness record 骑行 45分钟 中等强度
/fitness record 游泳 1小时 低强度
/fitness record 瑜伽 60分钟

# 详细记录
/fitness record running 30 minutes distance 5km pace 6min_per_km
/fitness record cycling 45 minutes moderate heart_rate 145 calories 400
/fitness record swimming 60 minutes low distance 1000m
/fitness record strength 45 胸部训练 bench_press 50kg 3x12

# 记录力量训练
/fitness record strength 60 upper_body bench_press 50kg 3x12 shoulder_press 20kg 3x10

# 记录球类运动
/fitness record basketball 90 minutes competitive
/fitness record 羽毛球 45分钟 中等强度

支持的运动类型

有氧运动

  • 跑步(running/跑步)、快走(walking/快走)
  • 骑行(cycling/骑行/自行车)、游泳(swimming/游泳)
  • 跳绳(jump_rope/跳绳)、有氧操(aerobics/有氧操)
  • 椭圆机(elliptical/椭圆机)、划船机(rowing/划船机)

力量训练

  • 自重训练(calisthenics/自重训练)
  • 器械训练(machine_weights/器械训练)
  • 自由重量(free_weights/自由重量)
  • 弹力带(resistance_bands/弹力带)

球类运动

  • 篮球(basketball/篮球)、足球(soccer/足球)
  • 羽毛球(badminton/羽毛球)、乒乓球(ping_pong/乒乓球)
  • 网球(tennis/网球)、排球(volleyball/排球)

其他运动

  • 瑜伽(yoga/瑜伽)、普拉提(pilates/普拉提)
  • 太极拳(tai_chi/太极拳)、舞蹈(dance/舞蹈)
  • 登山(hiking/登山)、滑雪(skiing/滑雪)

强度表示方法

  • 描述性:low(低强度)、moderate(中等强度)、high(高强度)
  • RPE量表:rpe 13(RPE 6-20量表,13=稍费力)
  • 心率:heart_rate 145 或 hr 145(bpm)
  • 自定义:easy、comfortable、challenging、hard

查看运动历史

# 查看最近记录
/fitness history
/fitness history 10                    # 最近10次

# 查看本周/本月
/fitness history week
/fitness history month

# 查看特定日期
/fitness history 2025-06-20
/fitness history today
/fitness history yesterday

# 查看日期范围
/fitness history 2025-06-01 to 2025-06-30
/fitness history last 7 days

运动统计分析

# 周统计
/fitness stats week
/fitness summary week

# 月统计
/fitness stats month
/fitness summary month

# 详细统计
/fitness stats                         # 综合统计
/fitness stats all                     # 所有统计数据

# 特定统计
/fitness stats duration                # 运动时长统计
/fitness stats calories                # 卡路里消耗统计
/fitness stats distance                # 距离统计

Read the full file on GitHub · 399 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 399 lines · 15 tokens per session scan A 5ad146500602

Subscribe to this mod's changes

fitness is a command published in the GitHub repository huifer/WellAlly-health (935 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 3,030 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.