What problem does it solve?
Apple Health data is often siloed and requires manual queries to extract insights. This Skill enables querying a local Apple Health SQLite database and generating structured, exportable outputs to support health analysis and reporting.
Core Features & Use Cases
- Query and summarize vitals, activity, sleep, and workouts from the local health.db (SQLite) with deterministic results.
- Output formats include Markdown, JSON, and FHIR R4 bundles, suitable for reports, dashboards, or interoperability with health systems.
- Use Case: A clinician or researcher wants a daily health snapshot and weekly trends for a cohort, stored as Markdown for reports or JSON for ingestion into analytics pipelines.
Quick Start
Run the daily summary in Markdown: python ~/.claude/skills/health-data/scripts/health_query.py daily --date 2025-11-29
View weekly trends in JSON: python ~/.claude/skills/health-data/scripts/health_query.py weekly --weeks 4 --format json
For ad-hoc queries: python ~/.claude/skills/health-data/scripts/health_query.py query "SELECT * FROM workouts LIMIT 5"