
Health Data
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.
- skills.sh installs
- 398
- GitHub stars
- 412
- last updated
- Aug 21, 2026
Install
$ npx -y skills add glebis/claude-skills --skill health-data --agent claude-codeInstalls into .claude/skills of the current project.
Files
Apple Health Data Query Skill
Query and analyze health data from the local SQLite database containing 6.3M+ records across 43 health metrics.
Database Location
~/data/health.db
Query Methods
1. Python Script (Recommended for Common Queries)
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
Details
- Repository
- github.com/glebis/claude-skills
- Categories
- Backend & APIs, Databases
- First seen
- Jun 3, 2026
More from glebis/claude-skills
All 22- Firecrawl Research383
- Deep Research330
- Presentation Generator325
- Decision Toolkit322
- Elevenlabs Tts310
- Telegram284
- Brand Agency274
- Doctorg264
- Tdd260
- Gmail257
- Transcript Analyzer257
- Youtube Transcript255
- Zoom251
- Fathom248
- Github Gist245
- Llm Cli234
- Chrome History233
- Granola233
- Meta227
- Google Image Search649
- Pdf Generation489