WellAlly-health: Command for Claude Code

.claude/commands/tcm-constitution.md

tcm-constitution is a command for Claude Code from huifer/WellAlly-health. It costs 18 tokens per session (4,636 once invoked), scanned A, original, MIT.

A traditional Chinese medicine constitution questionnaire and wellness tracker. It assesses constitution patterns and provides general diet, acupoint-care, and lifestyle information.

In plain words
What is it for?
Use it to complete or repeat the questionnaire, review constitution scores and characteristics, track changes, and read general seasonal or constitution-specific diet advice.
Why use it?
It organizes self-assessment and trend tracking without presenting the results as a medical diagnosis or treatment plan.

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/tcm-constitution.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 tcm-constitution

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/huifer/wellally-health/tcm-constitution"><img src="https://agentmods.dev/badge/commands/huifer/wellally-health/tcm-constitution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,636 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.00018 $0.04636
Opus 5 $0.00009 $0.02318
Sonnet 5 $0.00004 $0.00927
Haiku 4.5 $0.00002 $0.00464

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

Security

Grade A, and why

tcm-constitution 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 12d 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/tcm-constitution.md · 678 lines

How it starts

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

中医体质辨识与养生管理命令

⚠️ 重要医学免责声明

本系统提供的中医体质辨识、养生建议和中药信息仅供参考,不构成医疗诊断或治疗建议。

本系统能够做到的:

  • ✅ 中医体质辨识评估
  • ✅ 体质特征分析
  • ✅ 一般性养生建议
  • ✅ 中医知识普及
  • ✅ 体质趋势追踪

本系统不能做的:

  • ❌ 中医疾病诊断
  • ❌ 中药处方开具
  • ❌ 替代中医师诊疗
  • ❌ 针灸等治疗操作
  • ❌ 处理严重健康问题

何时需要就医或咨询中医师:

  • 🏥 疑似疾病症状
  • 🏥 需要中药治疗
  • 🏥 体质调理无效
  • 🏥 严重健康问题
  • 🏥 孕期、哺乳期或有严重慢性病

使用方法

体质辨识评估

# 开始体质辨识问卷
/tcm assess

# 继续未完成的问卷
/tcm assess continue

# 查看问卷结果
/tcm assess result

# 重新评估
/tcm assess new

问卷说明:

  • 总计60题,每种体质7-8题
  • 5分制评分: 没有(1分)/很少(2分)/有时(3分)/经常(4分)/总是(5分)
  • 评估时间: 约10-15分钟
  • 评估频率: 建议3-6个月一次

问卷示例:

## 中医体质辨识问卷

### 第1题 (共60题)
**您容易疲乏吗?**

A. 没有 (1分)
B. 很少 (2分)
C. 有时 (3分)
D. 经常 (4分)
E. 总是 (5分)

请选择 A/B/C/D/E:

查看体质状态

# 查看当前体质状态
/tcm status

# 查看体质特征
/tcm status characteristics

# 查看评分详情
/tcm status scores

# 查看兼夹体质
/tcm status secondary

输出示例:

# 当前体质状态

## 体质类型
- **主体质**: 气虚质
- **兼夹体质**: 阳虚质
- **评估日期**: 2025-06-20

## 体质评分
- 气虚质: 78.5分 ⚠️
- 阳虚质: 62.3分 ⚠️
- 平和质: 42.1分 ✅
- ...

## 主要特征
- 容易疲乏
- 气短懒言
- 畏寒怕冷
- ...

饮食调养建议

# 查看饮食建议
/tcm diet

# 基于季节的饮食建议
/tcm diet spring
/tcm diet summer
/tcm diet autumn
/tcm diet winter

# 针对特定体质的饮食建议
/tcm diet 气虚质
/tcm diet 阳虚质

输出示例:

# 气虚质饮食调养建议

## 饮食原则
- 补气健脾
- 营养丰富
- 易于消化

## 宜食食物
- 补气类: 山药、大枣、黄芪、人参
- 健脾类: 薏苡仁、茯苓、扁豆
- 蛋白质: 鸡肉、牛肉、鲫鱼

## 忌食食物
- 生冷寒凉: 冰淇淋、冰镇饮料
- 油腻厚味: 油炸食品、肥肉

## 推荐食谱
1. 黄芪炖鸡
2. 山药粥
3. 红枣茯苓粥

## 饮食建议
- 少食多餐
- 细嚼慢咽
- 饮食温热
- 饭后休息

运动锻炼建议

# 查看运动建议
/tcm exercise

# 基于体质的运动建议
/tcm exercise 气虚质
/tcm exercise 痰湿质

# 查看运动注意事项
/tcm exercise precautions

输出示例:

# 气虚质运动锻炼建议

## 运动原则
温和运动,避免剧烈

## 推荐运动
- 太极拳
- 八段锦
- 散步
- 气功
- 瑜伽

## 运动方案
- 频率: 每日1-2次
- 时长: 每次20-30分钟
- 强度: 低至中等强度

## 注意事项
- 避免剧烈运动
- 运动后及时休息
- 循序渐进
- 避免在寒冷环境中运动

穴位保健

# 查看穴位保健建议
/tcm acupoints

# 查看特定穴位
/tcm acupoints 足三里
/tcm acupoints 气海
/tcm acupoints 关元

# 查看按摩方法
/tcm acupoints method

# 查看艾灸建议
/tcm acupoints moxibustion

输出示例:

# 气虚质穴位保健

## 推荐穴位

### 1. 足三里
- **位置**: 小腿外侧,膝眼下3寸
- **功效**: 健脾益气,强壮身体
- **方法**: 每日按揉3-5分钟,可艾灸

### 2. 气海
- **位置**: 肚脐下1.5寸
- **功效**: 培补元气
- **方法**: 每日按揉3-5分钟,可艾灸

### 3. 关元
- **位置**: 肚脐下3寸
- **功效**: 培元固本,温补肾阳
- **方法**: 每日按揉3-5分钟,可艾灸10-15分钟

## 穴位定位方法
1. 足三里: 外膝眼下3寸,胫骨外侧一横指
2. 气海: 肚脐正下方1.5寸(约两横指)
3. 关元: 肚脐正下方3寸(约四横指)

## 按摩方法
- 用拇指按揉穴位
- 力度适中,有酸胀感为宜
- 每个穴位3-5分钟
- 每日1-2次

## 艾灸方法
- 使用艾条温和灸
- 距离皮肤3-5cm
- 每穴10-15分钟
- 每日或隔日1次
- 注意避免烫伤

Read the full file on GitHub · 678 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. 12d ago First seen · 678 lines · 18 tokens per session scan A 20fa799b7332

Subscribe to this mod's changes

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