copd

A command for tracking chronic obstructive pulmonary disease (COPD), a long-term lung condition that can restrict airflow. It records lung tests, symptom scores, flare-ups, reminders, and related trends for monitoring rather than diagnosis.

In plain words
What is it for?
Use it to record FEV1, FVC, and their ratio, complete CAT or mMRC symptom assessments, log flare-ups and triggers, and track medication or vaccination reminders.
Why use it?
It organizes measurements and symptoms over time so changes, possible triggers, reminders, and reasons to seek care are easier to review.

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

Made for: Claude Code.

Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,060 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.00023 $0.05060
Opus 5 $0.00012 $0.02530
Sonnet 5 $0.00005 $0.01012
Haiku 4.5 $0.00002 $0.00506

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

Security

Grade A, and why

copd 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/copd.md · 560 lines

How it starts

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

慢阻肺(COPD)管理

慢性阻塞性肺疾病(COPD)的长期管理,包括肺功能监测、症状评估和急性加重预防。

⚠️ 医学安全声明

重要提示:本系统仅供健康监测记录,不能替代专业医疗诊断和治疗。

  • ❌ 不给出具体用药剂量调整建议
  • ❌ 不直接开具处方药或推荐具体药物
  • ❌ 不替代医生诊断和治疗决策
  • ❌ 不判断疾病预后或肺功能下降速度
  • ✅ 提供肺功能监测记录和趋势分析(仅供参考)
  • ✅ 提供症状评分和评估(CAT、mMRC)
  • ✅ 提供急性加重记录和诱因追踪
  • ✅ 提供用药提醒和疫苗接种提醒
  • ✅ 提供生活方式建议和就医提醒

所有用药方案和治疗决策请遵从医生指导。

操作类型

1. 记录肺功能 - fev1

记录肺功能检查结果。

参数说明:

  • info: 肺功能信息(必填),使用自然语言描述

示例:

/copd fev1 1.8 65%
/copd lung-function fvc 3.2 ratio 0.56
/copd fev1 2.1 70% fvc 3.5 ratio 0.60
/copd lung-function 2025-06-15 fev1 1.8 predicted 65%

支持的指标:

  • fev1:第一秒用力呼气容积(L)
  • predicted:FEV1占预计值百分比(%)
  • fvc:用力肺活量(L)
  • ratio:FEV1/FVC比值

COPD诊断标准:

  • FEV1/FVC < 0.70(使用支气管舒张剂后)
  • 提示存在气流受限

GOLD分级(基于FEV1占预计值%):

分级 FEV1占预计值% 严重程度
1级 ≥80% 轻度
2级 50-79% 中度
3级 30-49% 重度
4级 <30% 极重度

2. CAT评分 - cat

进行慢阻肺评估测试(COPD Assessment Test)。

示例:

/copd cat
/copd cat score 18
/copd cat 2025-06-20 cough 2 sputum 2 chest_tightness 2 breathlessness 3 activity 2 confidence 2 sleep 3 energy 2

CAT评分项目(每项0-5分):

  1. cough:咳嗽
  2. sputum:咳痰
  3. chest_tightness:胸闷
  4. breathlessness_climbing:爬坡/上楼气短
  5. activity_limitation:家务活动受限
  6. confidence_outdoors:户外活动信心
  7. sleep:睡眠质量
  8. energy:精力状态

CAT评分解读:

总分 影响 分级
0-10分 轻度影响
11-20分 中度影响
21-30分 重度影响
31-40分 极重度影响 极高

3. mMRC评分 - mmrc

进行改良英国医学研究理事会呼吸困难量表评分。

示例:

/copd mmrc 0
/copd mmrc 2
/copd mmrc 2025-06-20 grade 2

mMRC分级(0-4级):

分级 描述
0级 剧烈运动时才感到气短
1级 平地快走或爬缓坡时气短
2级 因气短比同龄人走得慢或平地行走时需停下喘气
3级 平地行走100米或数分钟后需停下喘气
4级 严重气短,不能离开家或穿衣时气短

mMRC严重程度:

  • 0-1级:轻度呼吸困难
  • 2级:中度呼吸困难
  • 3-4级:重度呼吸困难

4. 记录症状 - symptom

记录COPD相关症状。

示例:

/copd symptom dyspnea moderate
/copd symptom sputum white moderate
/copd symptom wheeze exertion
/copd symptom cough daily productive
/copd symptom dyspnea severe mrc 3

Read the full file on GitHub · 560 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 · 560 lines · 23 tokens per session scan A 164031879784

Subscribe to this mod's changes

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