
Queries a local SQLite database with 6.3M+ Apple Health records going back to 2015. You get pre-built commands for daily summaries, weekly trends, sleep analysis, and workout history, plus direct SQL access when you need custom queries. Output formats include Markdown tables, JSON, FHIR R4 bundles with LOINC codes, and ASCII charts for terminal work. The Python script handles common cases well, but you'll want the SQL templates for anything interesting like circadian heart rate patterns or sleep stage analysis. Covers 43 metric types from vitals to mobility data. Most useful if you already export Apple Health and want to slice the data without writing export parsers from scratch.
$ npx -y skills add glebis/claude-skills --skill health-data --agent claude-codeInstalls into .claude/skills of the current project.
Query and analyze health data from the local SQLite database containing 6.3M+ records across 43 health metrics.
~/data/health.db
Use scripts/health_query.py for pre-built queries with automatic formatting:
# Daily summary
python ~/.claude/skills/health-data/scripts/health_query.py --format markdown daily --date 2025-11-29
# Weekly trends
python ~/.claude/skills/health-data/scripts/health_query.py --format json weekly --weeks 4
# Sleep analysis
python ~/.claude/skills/health-data/scripts/health_query.py --format fhir sleep --days 7
# Latest vitals
python ~/.claude/skills/health-data/scripts/health_query.py vitals
# Activity rings
python ~/.claude/skills/health-data/scripts/health_query.py --format json activity --days 30
# Workout history
python ~/.claude/skills/health-data/scripts/health_query.py workouts --days 30 --type Running
# Custom SQL
python ~/.claude/skills/health-data/scripts/health_query.py --format json query "SELECT * FROM workouts LIMIT 5"
Output formats: markdown, json, fhir, ascii
Sponsors