hypertension

A health-tracking command set for recording blood-pressure readings and reviewing possible organ damage and cardiovascular risk. It is for monitoring only and does not replace a doctor’s diagnosis or treatment.

In plain words
What is it for?
Record blood-pressure measurements, view trends and day-night patterns, calculate averages, review history, track target readings, and note lifestyle advice or reminders to seek care.
Why use it?
It keeps readings, timing, body position, pulse, and other details in one history, making changes over time easier to review. It also avoids turning records into medication or prescription advice.

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

Made for: Claude Code.

Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,754 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.00021 $0.02754
Opus 5 $0.00010 $0.01377
Sonnet 5 $0.00004 $0.00551
Haiku 4.5 $0.00002 $0.00275

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

Security

Grade A, and why

hypertension 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/hypertension.md · 384 lines

How it starts

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

高血压管理

全面的血压监测和管理,帮助控制血压、降低心血管风险。

⚠️ 医学安全声明

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

  • ❌ 不给出具体用药剂量调整建议
  • ❌ 不直接开具处方药或推荐具体药物
  • ❌ 不替代医生诊断和治疗决策
  • ❌ 不判断疾病预后或并发症发生
  • ✅ 提供血压监测记录和趋势分析
  • ✅ 提供靶器官损害评估记录
  • ✅ 提供心血管风险计算(仅供参考)
  • ✅ 提供生活方式建议和就医提醒

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

操作类型

1. 记录血压 - record

记录血压测量数据。

参数说明:

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

示例:

/bp record 135/85 pulse 78
/bp record 130/80 morning sitting
/bp record 125/78 evening
/bp record 140/90 pulse 82 morning sitting left arm

支持的信息:

  • 血压值:收缩压/舒张压(mmHg)
  • 心率:pulse 78(次/分)
  • 测量时间:morning/evening 或具体时间
  • 测量体位:sitting/standing/lying
  • 测量手臂:left/right

执行步骤:

  1. 解析血压数值和附加信息
  2. 生成记录ID和时间戳
  3. 保存到 data/hypertension-tracker.json
  4. 更新平均血压计算
  5. 输出确认信息

2. 查看血压趋势 - trend

查看血压变化趋势和昼夜节律。

示例:

/bp trend
/bp trend 7days
/bp trend this month

输出内容:

  • 血压趋势图(文字描述)
  • 昼夜节律模式(杓型/非杓型/反杓型)
  • 血压变异情况
  • 达标率趋势

3. 计算平均血压 - average

计算指定时期的平均血压。

示例:

/bp average
/bp average 7days
/bp average last week
/bp average this month

输出内容:

  • 家庭血压平均值(HBPM)
  • 早晨平均血压
  • 晚间平均血压
  • 血压达标天数

4. 查看历史记录 - history

查看血压测量历史。

示例:

/bp history
/bp history 7
/bp history today
/bp history 2025-06-20

5. 查看达标情况 - status

查看血压达标率和控制情况。

示例:

/bp status

输出内容:

  • 当前血压目标(<130/80 或 <140/90)
  • 达标率(近7天、近30天)
  • 达标天数
  • 控制评价

6. 心血管风险评估 - risk

计算10年动脉粥样硬化性心血管病风险(ASCVD)。

示例:

/bp risk

输出内容:

  • ASCVD风险评分(%)
  • 风险等级(低危/中危/高危/很高危)
  • 主要风险因素
  • 就医建议

注意: 风险评估基于常规计算公式,仅供参考,具体风险请咨询医生。

7. 查看血压目标 - target

查看个体化血压管理目标。

示例:

/bp target

输出内容:

  • 收缩压目标
  • 舒张压目标
  • 目标依据(年龄、合并症等)
  • 生活方式建议

8. 心脏评估记录 - heart

记录心脏相关靶器官损害评估。

示例:

/bp heart echo normal
/bp heart ecg normal
/bp heart lvh none

支持的检查:

  • echo:超声心动图
  • ecg:心电图
  • lvh:左心室肥厚

9. 肾脏评估记录 - kidney

记录肾脏相关靶器官损害评估。

示例:

/bp kidney uacr 15
/bp kidney egfr 90
/bp kidney creatinine 85

支持的指标:

  • uacr:尿微量白蛋白/肌酐比值(mg/g)
  • egfr:估算肾小球滤过率(ml/min/1.73m²)
  • creatinine:血肌酐(μmol/L)

Read the full file on GitHub · 384 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 · 384 lines · 21 tokens per session scan A 57ce85b66968

Subscribe to this mod's changes

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