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/pregnancy.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/pregnancy)<a href="https://agentmods.dev/commands/huifer/wellally-health/pregnancy"><img src="https://agentmods.dev/badge/commands/huifer/wellally-health/pregnancy/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/pregnancy"><img src="https://agentmods.dev/badge/commands/huifer/wellally-health/pregnancy.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.00009 | $0.14189 |
| Opus 5 | $0.00005 | $0.07095 |
| Sonnet 5 | $0.00002 | $0.02838 |
| Haiku 4.5 | $0.00001 | $0.01419 |
Grade A, and why
pregnancy 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 11d 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 — 1,961 lines — stays where its author put it; the contents beside it link to each section on GitHub.
孕期管理
全周期孕期追踪和管理,从备孕到分娩,提供全面的孕期健康监测和管理功能。
✨ 新功能:支持多胎妊娠追踪 - 可追踪单胎、双胎、三胎、四胎妊娠
操作类型
1. 开始孕期记录 - start
初始化孕期记录,计算预产期和产检计划。
参数说明:
info: 末次月经日期(必填),格式 YYYY-MM-DD 或自然语言
示例:
/pregnancy start 2025-01-01
/pregnancy start 今年1月1日
/pregnancy start last month January 1st
/pregnancy start 2025-01-01 ultrasound May 15 # 超声校正
执行步骤:
1. 解析输入信息
从自然语言中提取:
- 末次月经日期 (LMP):精确日期
- 超声校正日期(可选):超声确认的预产期
- 多胎妊娠(可选):twins, triplets
2. 验证输入
检查项:
- LMP 日期不能是未来日期
- LMP 应在 past 10 个月内(避免过期数据)
- 如果有活跃孕期,提示先结束
错误处理:
⚠️ 已存在活跃孕期记录
当前孕期:末次月经 2025年1月1日,预产期 2025年10月8日
提示:请先完成当前孕期再开始新记录
3. 计算预产期和孕周
预产期计算(Naegele规则):
- 预产期 = LMP + 280天(40周)
- 如有超声校正:使用超声确认日期
当前孕周计算:
- 孕周 = floor((今天 - LMP) / 7)
- 孕日 = (今天 - LMP) % 7
孕期划分:
- 孕早期:1-13周
- 孕中期:14-27周
- 孕晚期:28-42周
可信度评估:
- 高可信度:超声校正
- 中等可信度:LMP仅计算
- 低可信度:LMP不确定
4. 生成产检计划
标准产检时间表:
| 孕周 | 检查项目 | 准备事项 |
|---|---|---|
| 12周 | NT检查(早唐筛) | 需要憋尿 |
| 16周 | 唐筛/无创DNA | 空腹抽血 |
| 20周 | 大排畸超声 | 需要预约 |
| 24周 | 糖耐量测试 | 空腹,带糖水 |
| 28周 | 常规产检 | 测血压、体重 |
| 32周 | 常规产检 | 胎位检查 |
| 34周 | 常规产检 | 胎心监护 |
| 36周 | 常规产检 | 胎心监护 |
| 37周 | 每周产检 | 直到分娩 |
| 38周 | 每周产检 | 监测胎动 |
| 39周 | 每周产检 | 评估分娩方式 |
| 40周 | 每周产检 | 监测过期妊娠 |
5. 创建孕期记录
生成 pregnancy_id:pregnancy_YYYYMMDD
孕期数据结构:
{
"pregnancy_id": "pregnancy_20250101",
"lmp_date": "2025-01-01",
"due_date": "2025-10-08",
"due_date_confidence": "medium",
"corrected_by_ultrasound": false,
"ultrasound_correction_date": null,
"current_week": 0,
"current_day": 0,
"current_trimester": "first",
"days_passed": 0,
"days_remaining": 280,
"progress_percentage": 0,
"multi_pregnancy": {
"pregnancy_type": "singleton",
"fetal_count": 1,
"detection_method": "manual",
"detection_confidence": "confirmed",
"fetal_profiles": [
{
"baby_id": "A",
"estimated_weight": null,
"position": null,
"heart_rate": null,
"amniotic_fluid_index": null,
"growth_percentile": null,
"notes": ""
}
],
"special_considerations": [],
"adjusted_due_date": null,
"adjusted_delivery_week": 40
},
"prenatal_checks": [
{
"check_id": "check_001",
"week": 12,
"check_type": "NT检查",
"check_type_en": "NT_scan",
"scheduled_date": "2025-03-25",
"completed": false,
"results": {},
"notes": "",
"preparation": "需要憋尿"
},
{
"check_id": "check_002",
"week": 16,
"check_type": "唐筛",
"check_type_en": "triple_test",
"scheduled_date": "2025-04-22",
"completed": false,
"results": {},
"notes": "",
"preparation": "空腹抽血"
}
// ... 其他产检项目
],
"symptoms": {
"nausea": {
"present": false,
"severity": null,
"frequency": null,
"triggers": [],
"relief_methods": []
},
"fatigue": {
"present": false,
"severity": null
},
"edema": {
"present": false,
"severity": null
}
},
"weight_tracking": [],
"blood_pressure": [],
"fetal_movement": {
"tracking_started": false,
"start_week": 28,
"movements": []
},
"contractions": [],
"nutrition_plan": {
"folic_acid": {
"dose": "400μg",
"frequency": "daily",
"started": null,
"adherence": null
},
"iron": {
"dose": null,
"frequency": null,
"started": null
},
"calcium": {
"dose": null,
"frequency": null,
"started": null
},
"dha": {
"dose": null,
"frequency": null,
"started": null
}
},
"medication_safety_checks": [],
"risk_factors": [],
"notes": "",
"completed": false,
"delivery_date": null,
"delivery_outcome": null,
"metadata": {
"created_at": "2025-01-01T00:00:00.000Z",
"last_updated": "2025-01-01T00:00:00.000Z"
}
}
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.
- 11d ago First seen · 1,961 lines · 9 tokens per session scan A 674320e7c6a6
pregnancy is a command published in the GitHub repository huifer/WellAlly-health (947 stars, last pushed 1mo ago), licensed MIT. It adds 9 tokens to every session and 14,189 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.