Agent Skillssamhjn/Palvia › Health Plus

Health Plus

GitHub

用于读取和记录Apple Health高级指标(血压、血糖、血氧、体温等)及饮食运动数据的技能,支持读写操作与批量脚本执行。

Palvia/Resources/BuiltInSkills/health-plus/SKILL.md samhjn/Palvia

触发场景

需要获取或录入超出默认范围的Apple Health健康数据 通过脚本批量处理健康指标读写

安装

npx skills add samhjn/Palvia --skill Health Plus -g -y
更多选项

非标准路径

npx skills add https://github.com/samhjn/Palvia/tree/develop/Palvia/Resources/BuiltInSkills/health-plus -g -y

不安装直接使用

npx skills use samhjn/Palvia@Health Plus

指定 Agent (Claude Code)

npx skills add samhjn/Palvia --skill Health Plus -a claude-code -g -y

安装 repo 全部 skill

npx skills add samhjn/Palvia --all -g -y

预览 repo 内 skill

npx skills add samhjn/Palvia --list

SKILL.md

Frontmatter
{
    "name": "Health Plus",
    "palvia": {
        "tags": [
            "health",
            "fitness",
            "wellness"
        ],
        "version": "1.0"
    },
    "description": "Advanced Apple Health metrics: blood pressure, glucose, oxygen, body temperature, macronutrients, workouts"
}

Health Plus Skill

Install this skill when you need to read or log Apple Health metrics beyond the default set (steps, heart rate, sleep, body mass, dietary energy, dietary water).

Reads

  • skill_health_plus_read_blood_pressure(start_date?, end_date?) — systolic/diastolic samples (defaults to last 30 days).
  • skill_health_plus_read_blood_glucose(start_date?, end_date?) — glucose samples (defaults to last 30 days).
  • skill_health_plus_read_blood_oxygen(start_date?, end_date?) — SpO₂ samples (defaults to last 7 days).
  • skill_health_plus_read_body_temperature(start_date?, end_date?, unit?) — temperature samples. unit is "c" (default) or "f".

Writes — vitals & body composition

  • skill_health_plus_write_blood_pressure(systolic, diastolic, date?) — mmHg.
  • skill_health_plus_write_blood_glucose(value, unit?, date?)unit is "mmol/l" (default) or "mg/dl".
  • skill_health_plus_write_blood_oxygen(percentage, date?) — SpO₂ percent (e.g. 98).
  • skill_health_plus_write_body_temperature(value, unit?, date?)unit is "c" (default) or "f".
  • skill_health_plus_write_body_fat(percentage, date?) — body fat percent (e.g. 22.5).
  • skill_health_plus_write_height(value, unit?, date?)unit is "cm", "m", "in", or "ft".
  • skill_health_plus_write_heart_rate(bpm, date?) — manual pulse in beats per minute.

Writes — dietary macronutrients

  • skill_health_plus_write_dietary_carbohydrates(grams, date?)
  • skill_health_plus_write_dietary_protein(grams, date?)
  • skill_health_plus_write_dietary_fat(grams, date?)

Writes — workouts

  • skill_health_plus_write_workout(activity_type?, start_date, end_date, energy_kcal?, distance_km?)activity_type e.g. "running", "walking", "cycling", "swimming", "yoga", "strength".

Dates & permissions

  • All date/start_date/end_date params accept ISO 8601 or yyyy-MM-dd HH:mm.
  • Writes default date to now; read ranges default as noted above.
  • These tools route through the health permission category: reads require read permission; writes require write permission.

Bulk or scripted logging

For loops, conditional logic, or combining multiple metrics in one pass, use execute_javascript with the apple.health.* namespace directly, e.g.:

await apple.health.writeBloodPressure({systolic: 120, diastolic: 80});
let readings = await apple.health.readBloodGlucose({});

版本历史

  • 037e537 当前 2026-07-25 06:37

同 Skill 集合

Palvia/Resources/BuiltInSkills/deep-research/SKILL.md
Palvia/Resources/BuiltInSkills/file-ops/SKILL.md
Palvia/Resources/BuiltInSkills/skill-builder/SKILL.md

元信息

文件数
0
版本
fa3cb43
Hash
24fac48e
收录时间
2026-07-25 06:37

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-18 17:03
浙ICP备14020137号-1