WellAlly-health: Command for Claude Code

.claude/commands/prostate-health.md

prostate-health is a command for Claude Code from huifer/WellAlly-health. It costs 11 tokens per session (7,612 once invoked), scanned A, original, MIT.

A Chinese-language command for tracking prostate health, including PSA blood-test results, symptom scores, examination plans, and risk assessments. PSA is a blood marker commonly used when checking the prostate.

In plain words
What is it for?
Use it to record total and free PSA values, calculate their ratio, review the built-in risk categories, and plan monitoring information.
Why use it?
It keeps prostate-related measurements and follow-up information together and applies the stated checks to the entered results.

Command for Claude Code

Written for Claude Code: arguments in frontmatter.

This is huifer/WellAlly-health's own configuration. It tells Claude Code how to work on WellAlly-health itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything WellAlly-health configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/huifer/WellAlly-health/main/.claude/commands/prostate-health.md
Clone the repo
git clone --depth 1 https://github.com/huifer/WellAlly-health

Made for: Claude Code.

Wrote 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.

agentmods badge for prostate-health

README.md
[![agentmods](https://agentmods.dev/badge/commands/huifer/wellally-health/prostate-health/github.svg)](https://agentmods.dev/commands/huifer/wellally-health/prostate-health)
Your own site
<a href="https://agentmods.dev/commands/huifer/wellally-health/prostate-health"><img src="https://agentmods.dev/badge/commands/huifer/wellally-health/prostate-health/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.

agentmods 80×15 button for prostate-health

Your own site · 80×15
<a href="https://agentmods.dev/commands/huifer/wellally-health/prostate-health"><img src="https://agentmods.dev/badge/commands/huifer/wellally-health/prostate-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,612 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00011 $0.07612
Opus 5 $0.00005 $0.03806
Sonnet 5 $0.00002 $0.01522
Haiku 4.5 $0.00001 $0.00761

Measured 13d ago against content hash 42fb3d0f6dc2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

prostate-health 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 13d 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.

.claude/commands/prostate-health.md · 1,163 lines

How it starts

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

前列腺健康管理

前列腺健康追踪和管理,包括PSA监测、IPSS症状评分、前列腺检查计划和风险评估。

操作类型

1. 记录PSA检测 - psa

记录前列腺特异性抗原(PSA)检测结果,包括总PSA和游离PSA。

参数说明:

  • info: PSA检测结果(必填)
    • 总PSA值: 数字(如 2.5)
    • 游离PSA值: 数字(可选,如 0.8)
    • 检测日期: YYYY-MM-DD(可选,默认今天)

示例:

/prostate psa 2.5
/prostate psa 2.5 free 0.8
/prostate psa 总PSA 2.5 游离PSA 0.8
/prostate psa 2.5 2025-06-15
/prostate psa 4.2 free 0.9

执行步骤:

1. 解析PSA信息

PSA值识别:

// 用户输入: "PSA 2.5" 或 "总PSA 2.5纳克每毫升"
patterns = [
  /psa[:\s]*(\d+\.?\d*)/i,
  /总psa[:\s]*(\d+\.?\d*)/i,
  /前列腺特异性抗原[:\s]*(\d+\.?\d*)/i
]

游离PSA识别:

  • "free 0.8", "游离PSA 0.8", "fpsa 0.8"
2. 验证输入

检查项:

  • PSA值应在合理范围(0-100 ng/mL)
  • 游离PSA不能大于总PSA
  • 日期不能是未来日期
3. PSA风险评估

PSA值分类:

if (psa > 10) {
  risk = "high"
  message = "建议立即泌尿科就诊"
} else if (psa > 4) {
  risk = "moderate"
  message = "建议3个月后复查"
} else if (psa > 2.5 && age > 50) {
  risk = "low-moderate"
  message = "建议定期监测"
} else {
  risk = "low"
  message = "继续常规筛查"
}

游离/总PSA比值:

f_psa_ratio = free_psa / total_psa

if (f_psa_ratio > 0.25) {
  interpretation = "提示良性"
} else if (f_psa_ratio < 0.10) {
  interpretation = "需警惕恶性可能"
} else {
  interpretation = "灰区,需综合评估"
}
4. 计算PSA速率(PSAV)

如果有历史PSA数据:

psav = (current_psa - previous_psa) / months_between

if (psav > 0.75) {
  alert = "PSA升高过快,需进一步检查"
}
5. 更新PSA记录

PSA数据结构:

{
  "psa_history": [
    {
      "date": "2025-06-15",
      "total_psa": 2.5,
      "free_psa": 0.8,
      "ratio": 0.32,
      "reference": "<4.0",
      "unit": "ng/mL",
      "trend": "stable",
      "risk_level": "low",
      "interpretation": "正常"
    }
  ]
}
6. 输出确认

正常PSA:

✅ PSA检测已记录

PSA信息:
━━━━━━━━━━━━━━━━━━━━━━━━━━
检测日期: 2025年6月15日
总PSA: 2.5 ng/mL ✓
游离PSA: 0.8 ng/mL
游离/总比值: 32% ✓

风险评估:
━━━━━━━━━━━━━━━━━━━━━━━━━━
风险等级: 低 ✅
参考值: < 4.0 ng/mL

解读:
━━━━━━━━━━━━━━━━━━━━━━━━━━
PSA值在正常范围内。
游离/总比值 > 25%,提示良性。

建议:
━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ 继续常规筛查
✅ 下次检测: 1年后
✅ 保持健康生活方式

⚠️ 重要提示:
━━━━━━━━━━━━━━━━━━━━━━━━━━
本系统仅供参考,不能替代专业医疗建议。
如有前列腺癌家族史,建议咨询泌尿科医生
制定个体化筛查方案。

数据已保存至: data/前列腺记录/2025-06/2025-06-15_PSA检测.json

Read the full file on GitHub · 1,163 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. 13d ago First seen · 1,163 lines · 11 tokens per session scan A 42fb3d0f6dc2

Subscribe to this mod's changes

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