追蹤活動、睡眠、飲食、訓練、用藥、檢驗與身體組成資料。保守估算熱量與營養,並將每日紀錄與彙總報表寫入 notes/claw/health。
當使用者要記錄、整理或分析健康資料時使用此 skill。資料來源可包含健康 connector、Telegram 圖片或文字、手動筆記、健檢報告,或身體組成紀錄。
/home/haman/.picoclaw/workspace/skills/health-tracker/SKILL.md/home/haman/custom-claw-tools/health-tracker/SKILL.md/home/haman/custom-claw-tools/health-tracker/templates/home/haman/.picoclaw/workspace/notes/claw/health/home/haman/.picoclaw/workspace/notes/claw/health/raw/home/haman/.picoclaw/workspace/notes/claw/health/daily/home/haman/.picoclaw/workspace/notes/claw/health/reports/home/haman/.picoclaw/workspace/notes/claw/health/templates/home/haman/.picoclaw/workspace/skills/health-tracker/templates/home/haman/custom-claw-tools/health-tracker/bin/health-tracker-garmin/home/haman/.picoclaw/workspace/bin/health-tracker-garmin/home/haman/.config/health-tracker/garmin-runtime.json除非使用者明確指定檔名或要求整理 legacy 文件,health-tracker 的 routine output 只能落在以下 canonical targets:
notes/claw/health/raw/YYYY/MM/DD/<timestamp>-<record-type>-<source>.mdnotes/claw/health/daily/YYYY-MM-DD.mdnotes/claw/health/reports/monthly/YYYY-MM.mdnotes/claw/health/reports/quarterly/YYYY-QN.mdnotes/claw/health/reports/yearly/YYYY.md不要為一般記錄任務新增 notes/claw/health/*.md top-level 檔案,也不要把 routine data 寫到 diet.md、sleep.md、training.md、body_composition.md、DESIGN.md 這類 legacy 檔案。這些 legacy 檔案只能當參考來源,不能當新的日常寫入目標。
當任務符合以下情況時,使用 health-tracker:
notes/claw/healthhealth-tracker-garmin sync-and-ingest --latest 或 ingest-garmin 將 Garmin Connect 資料匯入 canonical raw/、daily/,並刷新受影響的 reports/~/.GarminDb/GarminConnectConfig.json,並使用 credentials.password_filegws-compatible health connectorgws fit、gws health、gws sleep 這種不存在的指令notes/claw/health 內既有檔案zh-TWzh-TW 說明zh-TW 整理zh-TWnotes/claw/healthactivity、sleep、meal、training、medication、lab、body-composition 或 generalhigh、medium 或 low先決定日期範圍
local_date,不要每次重新猜日期先檢查模板
live templates rootrepo templates root 的欄位結構建立先保存 raw 證據
raw/ 寫一筆原始紀錄captured_at 只生成或採信一次,格式固定為 ISO 8601 with offset,例如 2026-04-02T11:35:19+08:00<timestamp> 必須由同一個 captured_at 正規化為 YYYYMMDDTHHMMSSZZ,例如 20260402T113519+0800更新 daily record
原始紀錄索引,不要整份重寫只估算能支撐的內容
只在有需要時產生週期報表
報表更新後送出通知
回覆要精簡
YYYY-MM-DD.md;不要使用 YYYYMMDD.md、today.md、latest.md 或其他變體YYYY-MM.md,月份必須補零YYYY-QN.md,N 只能是 1、2、3、4YYYY.mdlocal_date 與 date 一律使用 YYYY-MM-DDweekday 一律使用 週一、週二、週三、週四、週五、週六、週日若要新建檔案,優先使用以下模板:
/home/haman/.picoclaw/workspace/notes/claw/health/templates/home/haman/.picoclaw/workspace/skills/health-tracker/templates/home/haman/.picoclaw/workspace/notes/claw/health/templates/raw-record-template.md/home/haman/.picoclaw/workspace/notes/claw/health/templates/daily-log-template.md/home/haman/.picoclaw/workspace/notes/claw/health/templates/reports/monthly-report-template.md/home/haman/.picoclaw/workspace/notes/claw/health/templates/reports/quarterly-report-template.md/home/haman/.picoclaw/workspace/notes/claw/health/templates/reports/yearly-report-template.md若 live template 尚未同步,可參考 repo 版本:
/home/haman/custom-claw-tools/health-tracker/templates/raw-record-template.md/home/haman/custom-claw-tools/health-tracker/templates/daily-log-template.md/home/haman/custom-claw-tools/health-tracker/templates/reports/monthly-report-template.md/home/haman/custom-claw-tools/health-tracker/templates/reports/quarterly-report-template.md/home/haman/custom-claw-tools/health-tracker/templates/reports/yearly-report-template.md每筆 raw record 至少保留:
captured_atlocal_datesource_type (connector, telegram-photo, telegram-text, manual, lab-report, body-composition, import)source_refrecord_typeraw_textstructured_fieldsconfidencenotes建議檔名格式:
raw/YYYY/MM/DD/<timestamp>-<record-type>-<source>.md<timestamp> 一律使用由 captured_at 正規化後的 YYYYMMDDTHHMMSSZZ每份 daily 檔案應在有資料時包含以下區塊:
建議檔名格式:
daily/YYYY-MM-DD.mddate 欄位與檔名必須一致,不可一個用 2026-04-02、另一個用 20260402應包含:
建議檔名格式:
reports/monthly/YYYY-MM.mdMM 必須補零,例如 2026-04.md應包含:
建議檔名格式:
reports/quarterly/YYYY-QN.mdQ1=01-03、Q2=04-06、Q3=07-09、Q4=10-12應包含:
建議檔名格式:
reports/yearly/YYYY.md使用以下信任順序:
當沒有精確重量時,使用簡單視覺規則:
若是一般餐盤照片且細節不足:
只有在畫面明顯不同時才調整。
對湯品、咖哩、炒飯、便當、麵類、燴飯等混合料理:
4 kcal/g4 kcal/g9 kcal/gremaining_kcal = target_kcal - intake_kcallikely coveredpossibly lowinsufficient evidence建議追蹤的營養重點:
使用以下標記:
high
medium
low
回覆時:
保持簡短、結構化、誠實,並預設使用 zh-TW。