Agent Skills
› samhjn/Palvia
› Health Plus
Health Plus
GitHub用于读取和记录Apple Health高级指标(血压、血糖、血氧、体温等)及饮食运动数据的技能,支持读写操作与批量脚本执行。
Trigger Scenarios
需要获取或录入超出默认范围的Apple Health健康数据
通过脚本批量处理健康指标读写
Install
npx skills add samhjn/Palvia --skill Health Plus -g -y
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.unitis"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?)—unitis"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?)—unitis"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?)—unitis"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_typee.g."running","walking","cycling","swimming","yoga","strength".
Dates & permissions
- All
date/start_date/end_dateparams accept ISO 8601 oryyyy-MM-dd HH:mm. - Writes default
dateto now; read ranges default as noted above. - These tools route through the
healthpermission 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({});
Version History
- 037e537 Current 2026-07-25 06:37


