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.
curl -O https://raw.githubusercontent.com/huifer/WellAlly-health/main/.claude/commands/profile.mdgit clone --depth 1 https://github.com/huifer/WellAlly-healthWrote 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.
[](https://agentmods.dev/commands/huifer/wellally-health/profile)<a href="https://agentmods.dev/commands/huifer/wellally-health/profile"><img src="https://agentmods.dev/badge/commands/huifer/wellally-health/profile/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.
<a href="https://agentmods.dev/commands/huifer/wellally-health/profile"><img src="https://agentmods.dev/badge/commands/huifer/wellally-health/profile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00005 | $0.01170 |
| Opus 5 | $0.00003 | $0.00585 |
| Sonnet 5 | $0.00001 | $0.00234 |
| Haiku 4.5 | $0.00001 | $0.00117 |
Grade A, and why
profile 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
用户基础参数设置
用于设置或查看用户的基础医疗参数,包括性别、身高、体重和出生日期。
操作类型
1. 设置参数 - set
设置用户的基础参数,可以重复设置以更新数据。
参数说明:
gender: 性别(M=男性,F=女性)height: 身高,单位厘米(cm)weight: 体重,单位公斤(kg)birth_date: 出生日期,格式 YYYY-MM-DD
示例:
/profile set F 175 70 1990-01-01
/profile set gender=F height=175 weight=70 birth_date=1990-01-01
2. 查看参数 - view
查看当前已设置的基础参数。
执行步骤
设置参数 (set)
-
读取现有数据
- 读取
data/profile.json - 如果文件不存在,创建新文件
- 读取
-
验证输入数据
- 检查性别:M、F 或其他有效值
- 检查身高范围:50-250 cm
- 检查体重范围:2-300 kg
- 检查日期格式:YYYY-MM-DD
- 检查出生日期不能晚于今天
-
计算派生指标
- 计算年龄(基于出生日期)
- 计算BMI(体重kg / 身高m²)
- 计算体表面积(Mosteller公式):√(身高cm × 体重kg / 3600)
-
保存数据
- 更新
data/profile.json - 保留历史记录(可选)
- 更新
-
输出确认信息
✅ 用户基础参数已更新 基本信息: ━━━━━━━━━━━━━━━━━━━━━━━━━━ 性别:F(女) 身高:175 cm 体重:70 kg 出生日期:1990-01-01 (35岁) 计算指标: ━━━━━━━━━━━━━━━━━━━━━━━━━━ BMI:22.9 (正常) 体表面积:1.85 m² 数据已保存至:data/profile.json
查看参数 (view)
-
读取数据
- 读取
data/profile.json
- 读取
-
显示信息
- 如果数据存在,显示完整信息
- 如果数据不存在,提示用户设置
数据结构
data/profile.json 格式:
{
"created_at": "2025-12-31",
"last_updated": "2025-12-31",
"basic_info": {
"gender": "F",
"height": 175,
"height_unit": "cm",
"weight": 70,
"weight_unit": "kg",
"birth_date": "1990-01-01"
},
"calculated": {
"age": 35,
"age_years": 35,
"bmi": 22.9,
"bmi_status": "正常",
"body_surface_area": 1.85,
"bsa_unit": "m²"
},
"history": [
{
"updated_at": "2025-12-31",
"height": 175,
"weight": 70
}
]
}
BMI 分类标准
- 偏瘦:< 18.5
- 正常:18.5 - 23.9
- 超重:24 - 27.9
- 肥胖:≥ 28
注意事项
- 身高体重可以随时更新,建议定期测量
- 出生日期用于计算年龄,设置后不建议更改
- 所有数据仅保存在本地,确保隐私安全
- 体表面积用于辐射剂量计算,务必准确填写
示例用法
# 设置完整参数
/profile set F 175 70 1990-01-01
# 使用参数名设置
/profile set gender=M height=180 weight=75 birth_date=1985-06-15
# 只更新体重
/profile set weight=68
# 查看当前参数
/profile view
错误处理
- 格式错误: "参数格式错误,请使用:/profile set F 175 70 1990-01-01"
- 范围错误: "身高应在50-250cm之间,体重应在2-300kg之间"
- 日期错误: "出生日期不能晚于今天"
- 未设置: "请先设置基础参数:/profile set F 175 70 1990-01-01"
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.
- 10d ago First seen · 169 lines · 5 tokens per session scan A 7e7cd59b40d4
profile is a command published in the GitHub repository huifer/WellAlly-health (943 stars, last pushed 1mo ago), licensed MIT. It adds 5 tokens to every session and 1,170 once invoked, about $0.0000 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.
Other commands, from other repositories
health
Run health checks on the Claude orchestration system.
health
Scan all projects for stale research, forgotten ADRs, unresolved review conditions, orphaned artifacts, missing traceability, and version drift.
roster-doctor
Health check and dev-environment pre-flight for the roster install and its build/test/lint tooling.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.