Agent skill

Weightloss Analyzer

by huifer in huifer/WellAlly-health

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

— description from SKILL.md by huifer
MITAuto-check passedProductivity & Automation

Install Weightloss Analyzer

skills CLI
$ npx skills add huifer/WellAlly-health --skill weightloss-analyzer -a claude-code

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

GitHub CLI
$ gh skill install huifer/WellAlly-health weightloss-analyzer --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/huifer/WellAlly-health.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/weightloss-analyzer .claude/skills/weightloss-analyzer && 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
weightloss-analyzer
GitHub stars
960
Used in
5 other repos
Token cost
~1.1k tokens
SKILL.md length
194 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 4 steps: 身体成分分析 → 代谢率计算 → 能量缺口管理 → …
  • SKILL.md covers 功能, 数据源, 输出格式 and 使用方法, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Weightloss Analyzer is a skill in huifer/WellAlly-health (960 stars). Its SKILL.md is about 1.1k tokens, and copies of it appear in 5 other owners' repositories. Licence: MIT.

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 身体成分分析
  2. 代谢率计算
  3. 能量缺口管理
  4. 阶段管理

What it can do on your machine

Read from SKILL.md and the folder at commit f604350. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and bash).

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Weightloss Analyzer loads about 1.1k tokens when it runs. Until then it costs about 12 tokens; SKILL.md has 194 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~12
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from huifer/WellAlly-health at commit f604350, republished under its MIT licence (© huifer). 194 words, ~1,084 tokens.

Download SKILL.mdSave it as .claude/skills/weightloss-analyzer/SKILL.md (or your agent's skills folder).
name
weightloss-analyzer
description
分析减肥数据、计算代谢率、追踪能量缺口、管理减肥阶段

减肥分析技能

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

功能

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
    • 内容:每日体重、饮食记录

输出格式

身体成分分析报告
markdown
# 身体成分分析报告

## 基本信息
- 性别:男
- 年龄: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. 综合干预:饮食+运动
代谢率分析报告
markdown
# 代谢率分析报告

## 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 大卡/天 ✅
- 建议选择:温和或积极方案
能量缺口追踪报告
markdown
# 能量缺口追踪报告

## 本周汇总(2025-06-16 至 2025-06-22)

| 日期 | 摄入 | 运动消耗 | NEAT | 缺口 | 达标 |
|------|------|---------|------|------|------|
| 周一 | 1800 | 350 | 300 | 961 | ✅ |
| 周二 | 2100 | 200 | 250 | 461 | ❌ |
| 周三 | 1750 | 400 | 300 | 1061 | ✅ |
| 周四 | 1950 | 300 | 280 | 741 | ✅ |
| 周五 | 2200 | 150 | 200 | 261 | ❌ |
| 周六 | 2400 | 100 | 150 | -89 | ❌ |
| 周日 | 1850 | 350 | 300 | 911 | ✅ |

**目标缺口:500 大卡/天**

## 统计分析
- 平均缺口:642 大卡/天
- 达标天数:5/7天(71%)
- 总缺口:4494 大卡
- 预计减重:0.58kg

## 趋势分析
- 周末缺口偏小(社交活动增加)
- 建议提前规划周末饮食

## 下周目标
- 达标天数:7/7天
- 平均缺口:700 大卡/天
- 预计减重:0.64kg
阶段管理报告
markdown
# 减肥阶段管理报告

## 当前阶段:减重期

### 进度追踪
- 开始日期:2025-01-01
- 初始体重:82kg
- 当前体重:75kg
- 目标体重:67kg
- 已减重:7kg
- 剩余:8kg
- 进度:47%

### 减重速度
- 总周数:24周
- 平均减重:0.29kg/周
- 最近4周:0.35kg/周 ⬆️ 加速中

## 状态分析

### 当前状态:✅ 良好
- 减重速度在健康范围(0.5-1kg/周)
- 代谢率稳定
- 肌肉量维持良好

### 平台期监测
- 最近2周变化:-0.8kg
- 状态:❌ 非平台期

## 下一步行动
1. 继续当前热量方案
2. 增加力量训练频率
3. 每周监测身体成分

使用方法

通过 /fitness:weightloss-* 和 /nutrition:weightloss-* 命令调用。

示例命令
bash
# 设置减肥计划
/fitness:weightloss-setup --weight 75 --height 175 --age 52 --gender male

# 计算代谢率
/fitness:weightloss-bmr --formula mifflin

# 追踪能量缺口
/nutrition:weightloss-track --intake 1800 --exercise 350

# 生成阶段报告
/fitness:weightloss-report

# 检测平台期
/fitness:weightloss-plateau-check

安全原则

热量安全边界
  • 不推荐 < 1200大卡/天(女性)
  • 不推荐 < 1500大卡/天(男性)
  • 绝对最低不低于 BMR × 1.2
减重速度控制
  • 安全范围:0.5-1kg/周
  • 最大不超过:1.5kg/周
  • 长期平均:0.5-0.8kg/周
医学免责声明

本技能仅供健康参考,不构成医疗建议。

以下情况请咨询医生:

  • BMI > 35
  • 有心脏病、高血压、糖尿病等慢性病
  • 服用处方药物
  • 女性怀孕或哺乳期
  • 任何健康状况不确定的情况

技能版本: v1.0 最后更新: 2026-01-14 维护者: WellAlly Tech

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

Files

Just SKILL.md in skills/weightloss-analyzer of huifer/WellAlly-health.

Open the folder on GitHubat commit f604350

Used in 5 other repositories

We found 15 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in huifer/WellAlly-health, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Weightloss Analyzer 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.

Weightloss Analyzer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Weightloss Analyzer this skillhuifer/WellAlly-health9605 repos~1.1kAutomated safety check: PassMIT
Agent Browserquran/quran.com-frontend-next1.9k40 repos~3.3kAutomated safety check: PassNone
Perform Tasktelegramdesktop/tdesktop33k2 repos~3kAutomated safety check: PassGPL-3.0
Dependency Watchtelegramdesktop/tdesktop33k—~2.2kAutomated safety check: PassGPL-3.0
Brave Searchbadlogic/pi-skills2.6k5 repos~592Automated safety check: PassMIT
Garden Inboxpaperclipai/paperclip99k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Agent Browser

    quran/quran.com-frontend-next

    Automates browser interactions for web testing, form filling, screenshots, and data extraction.

    1.9k GitHub starsUsed in 40 repos~3.3k tokens
    Productivity & AutomationAuto-check passed
  • Perform Task

    telegramdesktop/tdesktop

    Resolve, start or resume, implement, review, test, and publish exactly one existing ai-tdesktop task by short slug or full dated id, including rare blocked retries and split-required results.

    33k GitHub starsUsed in 2 repos~3k tokens
    Productivity & AutomationAuto-check passed
  • Dependency Watch

    telegramdesktop/tdesktop

    Audit Telegram Desktop dependencies on freshly fetched origin/dev for releases and security fixes, including upstream lag and backport candidates in patched forks.

    33k GitHub stars~2.2k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Brave Search

    badlogic/pi-skills

    Web search and content extraction via Brave Search API. An agent skill from badlogic/pi-skills.

    2.6k GitHub starsUsed in 5 repos~592 tokens
    Productivity & AutomationAuto-check passed
  • Garden Inbox

    paperclipai/paperclip

    Scan a Paperclip user's Mine inbox, classify reversible archive candidates, request checkbox confirmation, and archive only accepted selections.

    99k GitHub stars~1.1k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Continue

    telegramdesktop/tdesktop

    Continue autonomous Telegram Desktop development from the shared ai-tdesktop repository.

    33k GitHub starsUsed in 2 repos~9.4k tokens
    Productivity & AutomationAuto-check passed

More from huifer/WellAlly-health

All 15 skills in this repo
  • Emergency Card

    huifer/WellAlly-health

    生成紧急情况下快速访问的医疗信息摘要卡片。当用户需要旅行、就诊准备、紧急情况或询问"紧急信息"、"医疗卡片"、"急救信息"时使用此技能。提取关键信息(过敏、用药、急症、植入物),支持多格式输出(JSON、文本、二维码),用于急救或快速就医。

    960 GitHub starsUsed in 6 repos~2.7k tokens
    Auto-check passed
  • Health Trend Analyzer

    huifer/WellAlly-health

    分析一段时间内健康数据的趋势和模式。关联药物、症状、生命体征、化验结果和其他健康指标的变化。识别令人担忧的趋势、改善情况,并提供数据驱动的洞察。当用户询问健康趋势、模式、随时间的变化或"我的健康状况有什么变化?"时使用。支持多维度分析(体重/BMI、症状、药物依从性、化验结果、情绪睡眠),相关性分析,变化检测,以及交互式HTML可视化报告(ECharts图表)。

    960 GitHub starsUsed in 6 repos~1.8k tokens
    Auto-check passed
  • AI Analyzer

    huifer/WellAlly-health

    AI驱动的综合健康分析系统,整合多维度健康数据、识别异常模式、预测健康风险、提供个性化建议。支持智能问答和AI健康报告生成。

    960 GitHub starsUsed in 5 repos~1k tokens
    Auto-check passed
  • Fitness Analyzer

    huifer/WellAlly-health

    分析运动数据、识别运动模式、评估健身进展,并提供个性化训练建议。支持与慢性病数据的关联分析. An agent skill from huifer/WellAlly-health.

    960 GitHub starsUsed in 5 repos~1.3k tokens
    Auto-check passed
  • Goal Analyzer

    huifer/WellAlly-health

    分析健康目标数据、识别目标模式、评估目标进度,并提供个性化目标管理建议。支持与营养、运动、睡眠等健康数据的关联分析. An agent skill from huifer/WellAlly-health.

    960 GitHub starsUsed in 5 repos~2k tokens
    Auto-check passed
  • Mental Health Analyzer

    huifer/WellAlly-health

    分析心理健康数据、识别心理模式、评估心理健康状况、提供个性化心理健康建议。支持与睡眠、运动、营养等其他健康数据的关联分析。

    960 GitHub starsUsed in 5 repos~3.2k tokens
    Auto-check passed

Questions about Weightloss Analyzer

How do I install Weightloss Analyzer in Claude Code?

Run `npx skills add huifer/WellAlly-health --skill weightloss-analyzer -a claude-code`. Or copy the skill folder (skills/weightloss-analyzer in huifer/WellAlly-health) into .claude/skills/weightloss-analyzer in your project. Claude Code loads it when a task matches its description.

How do I install Weightloss Analyzer in Codex?

Run `npx skills add huifer/WellAlly-health --skill weightloss-analyzer -a codex`. Or copy the skill folder (skills/weightloss-analyzer in huifer/WellAlly-health) into .agents/skills/weightloss-analyzer in your project. Codex loads it when a task matches its description.

Can I use Weightloss Analyzer 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 huifer/WellAlly-health --skill weightloss-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/weightloss-analyzer, .gemini/skills/weightloss-analyzer, .github/skills/weightloss-analyzer and .opencode/skills/weightloss-analyzer in your project.

What does Weightloss Analyzer need to run?

SKILL.md names no scripts, command-line tools or credentials: Weightloss Analyzer is instructions for the agent only.

Does Weightloss Analyzer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Weightloss Analyzer 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. Review the folder before installing.

What licence does Weightloss Analyzer use?

Weightloss Analyzer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Weightloss Analyzer use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Weightloss Analyzer?

Skills that share tags, products or a category with Weightloss Analyzer: Agent Browser (quran/quran.com-frontend-next, 1.9k stars), Perform Task (telegramdesktop/tdesktop, 33k stars), Dependency Watch (telegramdesktop/tdesktop, 33k stars) and Brave Search (badlogic/pi-skills, 2.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Weightloss Analyzer?

huifer (a GitHub user) maintains it in huifer/WellAlly-health, which has 960 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on July 16, 2026.

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