Loading...
Loading...
Analyze Apple Health export ZIP. Run local prepare to generate structured insights, then produce a professional health report based on cross-metric analysis and historical context.
npx skill4agent add ruochenlyu/apple-health-analyst apple-health-analyst--lang zh--lang enreport.llm.jsonnarrativeContext.languageinsights.jsonprepare--langsummary.jsoninsights.jsonsummary.jsoninsights.jsonreport.llm.jsonnarrativeContext.languagerenderreport.llm.jsonreport.mdreport.htmlinsights.json| Key | What it contains |
|---|---|
| |
| Sleep duration, stages, timing, regularity analysis |
| RHR, HRV, blood oxygen, respiratory rate, VO2 max |
| Active energy, exercise minutes, stand hours, workouts |
| Weight, body fat % |
| Cycle analysis (if data present) |
| Chart data series (each has |
| Primary source for narrative — |
| Multi-time-window context (recent 30d vs baseline 90d vs all-time) |
| Flagged health risks with severity and evidence |
| Significant metric changes (improvements or deteriorations) |
| Missing or sparse data warnings |
| Device/source reliability signals |
| |
# English report (default)
npx apple-health-analyst prepare /path/to/export.zip --lang en --out ./output
# Chinese report
npx apple-health-analyst prepare /path/to/export.zip --lang zh --out ./output
# Render (language is auto-detected from insights.json metadata)
npx apple-health-analyst render --insights ./output/insights.json --narrative ./output/report.llm.json --out ./outputcrossMetric.compositeAssessmentcrossMetric.sleepRecoveryLinkcrossMetric.sleepConsistencycrossMetric.activityRecoveryBalancecrossMetric.recoveryCoherencecrossMetric.patternsriskFlagsnotableChangesinsights.jsoncrossMetric.notableDaysquestions_for_doctorcrossMetric.notableDayssummary.jsoninsights.jsoncrossMetrichistoricalContextsummary.jsoninsights.jsoncrossMetrichistoricalContextinsufficient_datareport.llm.jsonrenderprepare--from--torenderreport.llm.jsonhealth_assessmentcross_metric_insightsbehavioral_patternsnpxnpm_config_cache=./.npm-cache npx apple-health-analyst ...rm -rfpreparerendermkdir -p ./output./output/summary.jsoninsights.jsonreport.llm.jsonreport.mdreport.html