family

A command for managing health information about family members and recording family medical history. It can organize related risk information and produce family health reports, but it does not diagnose inherited diseases or predict an individual’s exact risk.

In plain words
What is it for?
Adding family members, recording diseases and when they began, reviewing family history, assessing inherited-risk information for reference, and creating health reports.
Why use it?
It puts relatives’ conditions and relevant details in a shared record instead of scattered notes. This can help organize preventive checks and discussions with doctors or genetic counsellors.

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/family
Clone the repo
git clone --depth 1 https://github.com/huifer/WellAlly-health

Made for: Claude Code.

Per session 22 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,432 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.00022 $0.03432
Opus 5 $0.00011 $0.01716
Sonnet 5 $0.00004 $0.00686
Haiku 4.5 $0.00002 $0.00343

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

Security

Grade A, and why

family 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/family.md · 471 lines

How it starts

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

家庭健康管理

全面的家庭健康档案管理,帮助记录家族病史、评估遗传风险、维护家庭健康。

⚠️ 医学安全声明

重要提示:本系统仅供健康记录和家族病史管理,不能替代专业医疗诊断和治疗。

  • ❌ 不提供遗传疾病诊断
  • ❌ 不预测个体发病概率
  • ❌ 不推荐具体治疗方案
  • ❌ 不替代遗传咨询师
  • ✅ 记录家族病史
  • ✅ 评估遗传风险(仅供参考)
  • ✅ 生成家庭健康报告
  • ✅ 提供预防建议和筛查提醒

所有医疗决策请遵从医生指导。遗传风险评估结果仅供参考,具体风险请咨询专业医师或遗传咨询师。

操作类型

1. 添加家庭成员 - add-member

添加家庭成员到健康档案。

参数说明:

  • info: 成员信息(必填),使用自然语言描述

示例:

/family add-member 父亲 张三 1960-05-15 A型血
/family add-member 母亲 李四 1962-08-20 B型血
/family add-member 儿子 小明 2010-03-10 A型血
/family add-member 配偶 王五 1988-12-05 O型血

支持的信息:

  • 关系:父亲/母亲/配偶/儿子/女儿/兄弟/姐妹等
  • 姓名:成员姓名
  • 出生日期:YYYY-MM-DD格式或年龄
  • 血型:A/B/AB/O型
  • 性别:男/女(通常可从关系推断)

执行步骤:

  1. 解析关系类型和成员信息
  2. 生成唯一的member_id
  3. 验证关系完整性和年龄合理性
  4. 保存到data/family-health-tracker.json
  5. 输出确认信息

数据结构:

{
  "member_id": "mem_20250108_001",
  "name": "张三",
  "relationship": "father",
  "gender": "male",
  "birth_date": "1960-05-15",
  "blood_type": "A",
  "status": "living",
  "created_at": "2025-01-08T10:00:00.000Z"
}

2. 记录家族病史 - add-history

记录家族成员的疾病历史。

参数说明:

  • info: 病史信息(必填),使用自然语言描述

示例:

/family add-history 父亲 高血压 50岁确诊
/family add-history 母亲 糖尿病 55岁发病
/family add-history 祖父 冠心病 60岁
/family add-history 外祖母 乳腺癌 58岁

支持的信息:

  • 成员:家庭成员名称或关系
  • 疾病名称:高血压、糖尿病、冠心病等
  • 发病年龄:确诊或发病时的年龄
  • 严重程度:轻度/中度/重度(可选)
  • 备注:其他相关信息(可选)

执行步骤:

  1. 解析成员和疾病信息
  2. 识别疾病分类(心血管/代谢/肿瘤等)
  3. 记录发病年龄和严重程度
  4. 更新family_medical_history
  5. 输出确认信息

数据结构:

{
  "history_id": "hist_20250108_001",
  "disease_name": "高血压",
  "disease_category": "cardiovascular",
  "affected_member_id": "mem_20250108_001",
  "age_at_onset": 50,
  "severity": "moderate",
  "notes": "药物控制良好",
  "reported_date": "2025-01-08"
}

3. 追踪成员健康 - track

追踪家庭成员的健康数据(血压、血糖、用药等)。

参数说明:

  • info: 健康数据(必填),指定成员和数据类型

示例:

/family track 父亲 血压 135/85
/family track 母亲 血糖 7.2
/family track 儿子 身高 体重 120cm 25kg
/family track list

支持的数据类型:

  • 血压:收缩压/舒张压
  • 血糖:空腹血糖值
  • 体重:体重/BMI
  • 身高:身高值
  • 用药:药物名称和剂量

执行步骤:

  1. 识别成员和数据类型
  2. 集成现有健康模块数据
  3. 记录到成员健康档案
  4. 更新健康趋势
  5. 输出记录结果

Read the full file on GitHub · 471 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 · 471 lines · 22 tokens per session scan A b625ce8a70a3

Subscribe to this mod's changes

family is a command published in the GitHub repository huifer/WellAlly-health (935 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 3,432 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.