WellAlly-health: Skill for Claude Code

.claude/skills/tcm-constitution-analyzer/SKILL.md

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

A traditional Chinese medicine assessment tool that uses a standard questionnaire to classify constitution types and describe related patterns in diet, exercise, sleep, and health.

In plain words
What is it for?
Use it to score constitution types, compare assessments over time, examine links with nutrition, exercise, sleep, or chronic illness, and generate wellness suggestions. It is not a medical diagnosis.
Why use it?
The questionnaire results can be difficult to interpret consistently, especially when several constitution types or health factors overlap.

Skill for Claude Code

Written for Claude Code: allowed-tools 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/skills/tcm-constitution-analyzer/SKILL.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-analyzer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/huifer/wellally-health/tcm-constitution-analyzer"><img src="https://agentmods.dev/badge/skills/huifer/wellally-health/tcm-constitution-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,918 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.04918
Opus 5 $0.00026 $0.02459
Sonnet 5 $0.00010 $0.00984
Haiku 4.5 $0.00005 $0.00492

Measured 8d ago against content hash 37c68a153d8a, 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-analyzer 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 8d 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/skills/tcm-constitution-analyzer/SKILL.md · 665 lines

How it starts

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

中医体质辨识分析器技能

分析中医体质数据,识别体质类型,评估体质特征,并提供个性化养生改善建议。

功能

1. 体质辨识评估

基于《中医体质分类与判定》标准进行体质辨识。

评估维度:

  • 9种体质类型评分(平和质、气虚质、阳虚质、阴虚质、痰湿质、湿热质、血瘀质、气郁质、特禀质)
  • 主体质判定
  • 兼夹体质识别
  • 体质特征分析

评估方法:

  • 60题标准化问卷
  • 5分制评分(没有/很少/有时/经常/总是)
  • 转化分数计算(0-100分)

输出:

  • 体质类型判定结果
  • 各体质评分
  • 体质特征描述
  • 个体化养生建议

2. 体质特征分析

综合评估用户的体质特征。

分析内容:

  • 形体特征:

    • 体型特点
    • 面色表现
    • 舌象脉象
  • 心理特征:

    • 性格特点
    • 情绪倾向
  • 发病倾向:

    • 易感疾病
    • 健康风险
  • 适应能力:

    • 环境适应
    • 季节适应

输出:

  • 体质类型分类
  • 特征描述
  • 风险评估
  • 调理优先级

3. 体质变化趋势分析

追踪体质变化,评估调理效果。

分析内容:

  • 多次评估对比
  • 评分变化趋势
  • 体质稳定性分析
  • 调理效果评估

输出:

  • 趋势图表
  • 改善幅度
  • 稳定性评估
  • 继续调理建议

4. 相关性分析

分析体质与其他健康指标的相关性。

支持的相关性分析:

  • 体质 ↔ 营养:

    • 体质类型与饮食偏好的关系
    • 营养状况对体质的影响
    • 个性化饮食建议
  • 体质 ↔ 运动:

    • 不同体质适合的运动类型
    • 运动对体质改善的作用
  • 体质 ↔ 睡眠:

    • 体质与睡眠质量的关系
    • 睡眠对体质的影响
  • 体质 ↔ 慢性病:

    • 不同体质易患疾病
    • 体质与疾病的关系

输出:

  • 相关系数
  • 相关性强度
  • 统计显著性
  • 实践建议

5. 个性化建议生成

基于体质类型生成个性化养生建议。

建议类型:

  • 饮食调养:

    • 宜食食物清单
    • 忌食食物清单
    • 推荐食谱
    • 饮食原则
  • 起居调摄:

    • 作息建议
    • 环境要求
    • 生活习惯
  • 运动锻炼:

    • 推荐运动类型
    • 运动频次和强度
    • 注意事项
  • 情志调摄:

    • 情绪管理
    • 心理调节
  • 穴位保健:

    • 推荐穴位
    • 按摩方法
    • 艾灸建议
  • 中药调理:

    • 推荐方剂
    • 方剂组成
    • 用法用量
    • 注意事项

建议依据:

  • 中医体质理论
  • 用户体质类型
  • 季节因素
  • 用户健康状况

使用说明

触发条件

当用户请求以下内容时触发本技能:

  • 中医体质辨识评估
  • 体质类型查询
  • 体质特征分析
  • 中医养生建议
  • 体质趋势分析
  • 体质与其他健康指标的关联分析

执行步骤

步骤 1: 确定分析范围

明确用户请求的分析类型:

  • 体质辨识评估
  • 体质特征查询
  • 养生建议获取
  • 趋势分析
  • 相关性分析
步骤 2: 读取数据

主要数据源:

  1. data/constitutions.json - 体质知识库
  2. data/constitution-recommendations.json - 养生建议库
  3. data-example/tcm-constitution-tracker.json - 体质追踪主数据
  4. data-example/tcm-constitution-logs/YYYY-MM/YYYY-MM-DD.json - 每日评估记录

关联数据源:

  1. data-example/profile.json - 基础信息
  2. data-example/nutrition-tracker.json - 营养数据
  3. data-example/fitness-tracker.json - 运动数据
  4. data-example/sleep-tracker.json - 睡眠数据
步骤 3: 数据分析

根据分析类型执行相应的分析算法:

体质评分算法:

def calculate_constitution_scores(answers):
    """
    基于《中医体质分类与判定》标准

    计算公式:
    转化分数 = [(原始分数 - 题目数) / (题目数 × 4)] × 100

    其中:
    - 原始分数 = 各题目得分之和
    - 题目数 = 该体质的问题数量
    """
    scores = {}
    for constitution, questions in CONSTITUTION_QUESTIONS.items():
        original_score = sum(answers[q] for q in questions)
        question_count = len(questions)
        converted_score = ((original_score - question_count) / (question_count * 4)) * 100
        scores[constitution] = round(converted_score, 1)
    return scores

Read the full file on GitHub · 665 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. 8d ago First seen · 665 lines · 52 tokens per session scan A 37c68a153d8a

Subscribe to this mod's changes

tcm-constitution-analyzer is a skill published in the GitHub repository huifer/WellAlly-health (948 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 4,918 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

lab-report-walkthrough

Walk a person through their lab report — read the original document, organize results by panel, flag out-of-range values against the printed reference ranges, compare with their history, and explain in plain language. Use when the user uploads a lab report (PDF/image) or asks what their blood test results mean.

thetahealth/mirobody · 67 tokens

Longevity Protocol

Assembles an evidence-tiered weekly longevity routine across the four pillars with the strongest healthspan data - sleep, zone 2 aerobic work, strength training, and dietary pattern - plus stress and connection, delivered as a filled weekly template with honest evidence labels. Use when someone asks "build me a…

SkillMedev/health-and-longevity · 157 tokens

Mobility Routine

Builds a 10-15 minute daily floor-based mobility routine for desk workers, targeting the four zones sitting predictably stiffens - hips, thoracic spine, shoulders/neck, and ankles - with exact holds, reps, and a sequenced routine card. Use when someone says "I'm stiff from sitting all day", "my hips are tight", "fix…

SkillMedev/health-and-longevity · 136 tokens

Nutrition Planner

Sets personal nutrition targets - protein at 1.6-2.2 g/kg, a calorie budget from goal and activity, fiber and hydration floors - and a repeatable meal structure with a review-and-adjust protocol for fat loss, muscle gain, or maintenance. Use when someone asks "how much protein should I eat", "set my macros for a cut"…

SkillMedev/health-and-longevity · 151 tokens

pilot-service-agents-health

Public-health and biomedical APIs — ClinicalTrials.gov, openFDA, CDC, WHO, ClinVar, DailyMed, disease.sh. Use this skill when: 1. Searching active/past clinical trials by condition, sponsor, phase 2. Drug label, adverse-event, or interaction lookups (openFDA, DailyMed) 3. COVID / epidemiological stats, WHO global…

TeoSlayer/pilot-skills · 136 tokens

apple-health

Unofficial Apple Health export MCP for AI agents. Prefer MCP tools if connected; otherwise the package CLI. Use when the user wants Apple Health data or actions through an agent.

davidmosiah/apple-health-mcp · 39 tokens