goal

A health-goal and habit-tracking command. It helps define measurable goals, record progress, track habits, identify behavior patterns, and create visual reports, but it is not medical care.

In plain words
What is it for?
Use it to track goals for weight, exercise, diet, sleep, or health measurements and to review progress over time.
Why use it?
It gives health activities deadlines and measurable progress instead of leaving them as vague intentions. It also makes clear that diagnosis and treatment require qualified professionals.

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

Made for: Claude Code.

Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,074 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.00020 $0.03074
Opus 5 $0.00010 $0.01537
Sonnet 5 $0.00004 $0.00615
Haiku 4.5 $0.00002 $0.00307

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

Security

Grade A, and why

goal 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/goal.md · 409 lines

How it starts

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

健康目标与习惯管理命令

⚠️ 重要医学免责声明

本系统提供的健康目标设定、进度追踪和习惯养成功能仅供参考,不构成医疗诊断、治疗或专业建议。

本系统能够做到的:

  • ✅ 协助设定SMART原则的健康目标
  • ✅ 追踪目标进度和习惯养成情况
  • ✅ 提供动机管理和成就系统
  • ✅ 生成可视化进度报告
  • ✅ 识别健康行为模式
  • ✅ 提供一般性健康改善建议

本系统不能做的:

  • ❌ 诊断健康问题或疾病
  • ❌ 提供医疗治疗建议或处方
  • ❌ 替代医生、营养师或健身教练的专业建议
  • ❌ 设定极端或不健康的减重/增重目标
  • ❌ 处理进食障碍或强迫性运动行为

何时需要咨询专业人士:

  • 🏥 设定减重/增重目标前,特别是BMI异常时
  • 🏥 有慢性疾病(高血压、糖尿病、心脏病等)
  • 🏥 准备开始新的运动计划
  • 🏥 怀孕、哺乳期或有特殊健康状况
  • 🏥 出现进食障碍或强迫性行为迹象
  • 🏥 目标执行过程中出现身体不适

使用方法

设定健康目标

# 减重目标
/goal set weight-loss 5公斤 2025-06-30
/goal set 我想在6个月内减重5公斤

# 运动目标
/goal set exercise 每周运动4次 2025-12-31
/goal set exercise 每天30分钟有氧运动 6个月

# 饮食目标
/goal set diet 每天吃5份蔬果 持续坚持
/goal set diet 减少糖分摄入 2025-06-30

# 健康指标目标
/goal set health-metric 血压控制在120/80以下 2025-06-30
/goal set health-metric 空腹血糖降至5.6以下 3个月

# 睡眠目标
/goal set sleep 每晚睡眠8小时 持续坚持

目标类型:

  • weight-loss - 减重目标
  • weight-gain - 增重目标
  • exercise - 运动目标
  • diet - 饮食目标
  • sleep - 睡眠目标
  • health-metric - 健康指标目标(血压/血糖/血脂等)

SMART原则验证: 系统会自动验证目标是否符合SMART原则:

  • Specific(具体) - 目标清晰明确
  • Measurable(可衡量) - 可量化进度
  • Achievable(可实现) - 现实可行
  • Relevant(相关) - 与健康相关
  • Time-bound(有时限) - 有明确期限

更新目标进度

# 更新减重进度
/goal progress 3.5公斤
/goal progress 我这周减了0.5公斤,总共减了3.5公斤

# 更新运动进度
/goal progress 本周运动了4次,总计120分钟
/goal progress 完成了本月运动目标的80%

# 更新饮食目标
/goal progress 今天吃了5份蔬果
/goal progress 本周有6天达到了低糖饮食目标

# 更新健康指标
/goal progress 血压降至125/82
/goal progress 空腹血糖6.1,比之前下降了0.5

# 更新睡眠目标
/goal progress 昨晚睡了7.5小时

进度更新包含:

  • 当前数值
  • 完成百分比
  • 预计完成时间
  • 与目标的差距
  • 趋势分析

记录习惯

# 记录习惯完成
/goal habit morning-stretch 完成
/goal habit 早上拉伸做了,感觉很好

# 设定新习惯
/goal habit set 每天早上7点拉伸10分钟
/goal habit set 每餐前喝一杯水
/goal habit set 睡前30分钟不看手机

# 习惯堆叠
/goal habit stack 早上刷牙后做5个深蹲
/goal habit stack 午餐后散步10分钟

# 查看习惯连续天数
/goal habit review morning-stretch
/goal habit 查看所有习惯

习惯类型:

  • 日常习惯(每天执行)
  • 每周习惯(每周X次)
  • 触发型习惯(在特定行为后执行)

习惯追踪功能:

  • 连续天数统计
  • 完成率计算
  • 习惯强度评估
  • 习惯堆叠建议

查看目标和进度

# 查看所有目标
/goal review

# 查看特定目标
/goal review weight-loss
/goal review 运动目标

# 查看目标详情
/goal review goal_20250101

# 查看进度预测
/goal review predict weight-loss

Read the full file on GitHub · 409 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 · 409 lines · 20 tokens per session scan A 57077481a142

Subscribe to this mod's changes

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