WellAlly-health: Skill for Claude Code

.claude/skills/weightloss-analyzer/SKILL.md

weightloss-analyzer is a skill for Claude Code from huifer/WellAlly-health. It costs 26 tokens per session (2,709 once invoked), scanned A, original, MIT.

A weight-management analysis tool that calculates body-size and metabolic measures, tracks calorie gaps, and follows progress through different weight-loss stages.

In plain words
What is it for?
Use it to calculate BMI, body-fat and waist measures, estimate resting and daily energy needs, track calorie deficits, and estimate weight-change rates.
Why use it?
Weight-loss planning involves several calculations and trends that are easy to get wrong or lose track of when handled manually.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is huifer/WellAlly-health's own configuration. It tells Claude Code how to work on WellAlly-health itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything WellAlly-health configures →

Reuse

Borrowing it

Nothing to install: this file belongs to huifer/WellAlly-health. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/huifer/WellAlly-health/main/.claude/skills/weightloss-analyzer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/huifer/WellAlly-health

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for weightloss-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/huifer/wellally-health/weightloss-analyzer/github.svg)](https://agentmods.dev/skills/huifer/wellally-health/weightloss-analyzer)
Your own site
<a href="https://agentmods.dev/skills/huifer/wellally-health/weightloss-analyzer"><img src="https://agentmods.dev/badge/skills/huifer/wellally-health/weightloss-analyzer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for weightloss-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/huifer/wellally-health/weightloss-analyzer"><img src="https://agentmods.dev/badge/skills/huifer/wellally-health/weightloss-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00026 $0.02709
Opus 5 $0.00013 $0.01354
Sonnet 5 $0.00005 $0.00542
Haiku 4.5 $0.00003 $0.00271

Measured 8d ago against content hash 483c4e837aad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

weightloss-analyzer 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 8d ago.

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/skills/weightloss-analyzer/SKILL.md · 321 lines

How it starts

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

减肥分析技能

分析减肥数据,计算代谢率,追踪能量缺口,管理减肥阶段。

功能

1. 身体成分分析

BMI计算与分类

  • BMI = 体重(kg) / 身高(m)²
  • 分类标准(WHO亚洲标准):
    • 偏瘦:BMI < 18.5
    • 正常:18.5 ≤ BMI < 24
    • 超重:24 ≤ BMI < 28
    • 肥胖:BMI ≥ 28

体脂率评估

  • 男性:15-20%(正常),20-25%(偏高),>25%(肥胖)
  • 女性:20-25%(正常),25-30%(偏高),>30%(肥胖)

围度分析

  • 腰围评估
    • 男性:< 90cm(正常),≥ 90cm(腹部肥胖)
    • 女性:< 85cm(正常),≥ 85cm(腹部肥胖)
  • 腰臀比
    • 男性:< 0.9(正常),≥ 0.9(腹部肥胖)
    • 女性:< 0.85(正常),≥ 0.85(腹部肥胖)

理想体重计算

  • BMI法:理想体重 = 身高(m)² × 22
  • Broca法修正:理想体重 = (身高cm - 100) × 0.9

2. 代谢率计算

Harris-Benedict公式(1919原始版)

  • 男性:BMR = 88.362 + (13.397 × 体重kg) + (4.799 × 身高cm) - (5.677 × 年龄)
  • 女性:BMR = 447.593 + (9.247 × 体重kg) + (3.098 × 身高cm) - (4.330 × 年龄)

Mifflin-St Jeor公式(推荐,更准确)

  • 男性:BMR = (10 × 体重kg) + (6.25 × 身高cm) - (5 × 年龄) + 5
  • 女性:BMR = (10 × 体重kg) + (6.25 × 身高cm) - (5 × 年龄) - 161

Katch-McArdle公式(基于瘦体重)

  • BMR = 370 + (21.6 × 瘦体重kg)
  • 瘦体重 = 体重kg × (1 - 体脂率)

TDEE计算

  • TDEE = BMR × 活动系数
  • 活动系数:
    • 久坐:1.2
    • 轻度活动:1.375
    • 中度活动:1.55
    • 高度活动:1.725
    • 非常高度活动:1.9

3. 能量缺口管理

每日能量缺口追踪

  • 缺口 = TDEE - 实际摄入 + 运动消耗
  • 缺口达标分析:实际缺口 vs 目标缺口

减重估算

  • 1kg脂肪 ≈ 7700大卡
  • 预计周减重 = 每日缺口 × 7 / 7700
  • 安全减重速度:0.5-1kg/周(缺口500-1000大卡/天)

热量安全边界

  • 男性最低热量:1500大卡/天
  • 女性最低热量:1200大卡/天
  • 绝对最低:BMR × 1.2

4. 阶段管理

减重期

  • 追踪体重变化
  • 计算减重进度
  • 监测减重速度

平台期检测

  • 定义:2周以上体重无明显变化(波动<0.5kg)
  • 原因分析:代谢适应、水分滞留、肌肉增加
  • 突破方法:调整热量、改变运动、间歇性断食

维持期

  • 目标体重±2kg范围内
  • 定期监测体重
  • 及时调整方案

数据源

主要数据源

  1. 健身追踪器

    • 路径:data/fitness-tracker.json
    • 内容:体重记录、身体成分、代谢率、阶段管理
  2. 营养追踪器

    • 路径:data/nutrition-tracker.json
    • 内容:热量摄入、能量缺口、膳食计划
  3. 健康日志

    • 路径:data/health-logs/YYYY-MM/YYYY-MM-DD.json
    • 内容:每日体重、饮食记录

输出格式

身体成分分析报告

# 身体成分分析报告

## 基本信息
- 性别:男
- 年龄:52岁
- 身高:175cm
- 体重:75kg

## 身体指标

### BMI
- 当前BMI:24.5
- 分类:超重
- 理想体重:67kg(BMI=22)
- 需减重:8kg

### 体脂率
- 当前体脂率:25%
- 分类:偏高
- 目标体脂率:15-20%

### 围度分析
- 腰围:92cm(腹部肥胖风险)
- 臀围:98cm
- 腰臀比:0.94(腹部肥胖)

## 建议
1. 每周减重0.5-1kg
2. 目标减重时间:8-16周
3. 综合干预:饮食+运动

代谢率分析报告

# 代谢率分析报告

## BMR计算

| 公式 | BMR | 说明 |
|------|-----|------|
| Harris-Benedict | 1650 | 1919原始公式 |
| Mifflin-St Jeor | 1620 | 推荐使用 ⭐ |
| Katch-McArdle | 1700 | 基于体脂率 |

**推荐BMR:1620 大卡/天**

## TDEE计算

- 活动水平:中度运动
- 活动系数:1.55
- TDEE:1620 × 1.55 = **2511 大卡/天**

### 热量分配
- BMR基础代谢:65% ≈ 1632 大卡
- 运动消耗:20% ≈ 502 大卡
- NEAT日常活动:15% ≈ 377 大卡

## 减肥热量目标

### 温和减重方案
- 每日缺口:500 大卡
- 目标摄入:2011 大卡/天
- 预计减重:0.5kg/周

### 积极减重方案
- 每日缺口:750 大卡
- 目标摄入:1761 大卡/天
- 预计减重:0.75kg/周

### 快速减重方案
- 每日缺口:1000 大卡
- 目标摄入:1511 大卡/天
- 预计减重:1kg/周
- ⚠️ 仅限短期使用

## 安全检查
- 最低热量要求:1500 大卡/天(男性)
- 快速方案热量:1511 大卡/天 ✅
- 建议选择:温和或积极方案

Read the full file on GitHub · 321 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. 8d ago First seen · 321 lines · 26 tokens per session scan A 483c4e837aad

Subscribe to this mod's changes

weightloss-analyzer is a skill published in the GitHub repository huifer/WellAlly-health (948 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 2,709 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-09-03.

Related

Other skills, from other repositories

lab-report-walkthrough

Walk a person through their lab report — read the original document, organize results by panel, flag out-of-range values against the printed reference ranges, compare with their history, and explain in plain language. Use when the user uploads a lab report (PDF/image) or asks what their blood test results mean.

thetahealth/mirobody · 67 tokens

Longevity Protocol

Assembles an evidence-tiered weekly longevity routine across the four pillars with the strongest healthspan data - sleep, zone 2 aerobic work, strength training, and dietary pattern - plus stress and connection, delivered as a filled weekly template with honest evidence labels. Use when someone asks "build me a…

SkillMedev/health-and-longevity · 157 tokens

Mobility Routine

Builds a 10-15 minute daily floor-based mobility routine for desk workers, targeting the four zones sitting predictably stiffens - hips, thoracic spine, shoulders/neck, and ankles - with exact holds, reps, and a sequenced routine card. Use when someone says "I'm stiff from sitting all day", "my hips are tight", "fix…

SkillMedev/health-and-longevity · 136 tokens

Nutrition Planner

Sets personal nutrition targets - protein at 1.6-2.2 g/kg, a calorie budget from goal and activity, fiber and hydration floors - and a repeatable meal structure with a review-and-adjust protocol for fat loss, muscle gain, or maintenance. Use when someone asks "how much protein should I eat", "set my macros for a cut"…

SkillMedev/health-and-longevity · 151 tokens

pilot-service-agents-health

Public-health and biomedical APIs — ClinicalTrials.gov, openFDA, CDC, WHO, ClinVar, DailyMed, disease.sh. Use this skill when: 1. Searching active/past clinical trials by condition, sponsor, phase 2. Drug label, adverse-event, or interaction lookups (openFDA, DailyMed) 3. COVID / epidemiological stats, WHO global…

TeoSlayer/pilot-skills · 136 tokens

apple-health

Unofficial Apple Health export MCP for AI agents. Prefer MCP tools if connected; otherwise the package CLI. Use when the user wants Apple Health data or actions through an agent.

davidmosiah/apple-health-mcp · 39 tokens