Health Data
Local SQLite query tool for Apple Health data with Markdown, JSON, FHIR R4, and ASCII output.
- CCM score
- 69 of 100
- skills.sh installs
- 399
- GitHub stars
- 416
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers vitals, activity, sleep, workouts, and mobility metrics drawn from a local Apple Health SQLite database
- Includes
health_query.pyfor daily, weekly, sleep, vitals, activity, and workout reports plus custom SQL - Provides SQL templates in
references/schema.mdand LOINC-coded FHIR R4 Observation bundles viafhir_mappings.md - Designed for analyzing personal fitness and sleep patterns or exporting health records in standard healthcare formats
Install
$ npx -y skills add glebis/claude-skills --skill health-data -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/glebis/claude-skills
- Category
- Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
How do I query Apple Health data with the health-data skill?
The health-data skill queries a local Apple Health SQLite database at ~/data/health.db covering vitals, activity, sleep and workouts. It can run pre-built queries through its health_query.py script or direct SQL, and returns Markdown, JSON, FHIR R4 or ASCII output.
How do I install the health-data skill?
Run npx -y skills add glebis/claude-skills --skill health-data -y in a project to install the health-data skill. After that, the health-data skill lets the agent analyze health metrics, generate health reports and export data in standard formats.
Can the health-data skill export Apple Health data as FHIR?
Yes, the health-data skill can output FHIR R4 bundles with Observation resources using LOINC codes. Its health_query.py script accepts the fhir format for sleep and other queries, and its references/fhir_mappings.md file lists the code mappings.
More from glebis/claude-skills
All 22- Firecrawl Research384
- Deep Research331
- Presentation Generator326
- Decision Toolkit325
- Elevenlabs Tts314
- Telegram287
- Brand Agency276
- Doctorg265
- Tdd262
- Youtube Transcript259
- Gmail258
- Transcript Analyzer258
- Zoom252
- Fathom249
- Github Gist246
- Llm Cli235
- Chrome History234
- Granola234
- Meta228
- Google Image Search654
- Pdf Generation491
Similar to Health Data
More Data Science & AnalyticsApple HealthMCP serverneiltron579 starsRead-only SQL and report access to a local Apple Health CSV export via DuckDB.
Withings Health DataMCP serverakutishevsky47 starsRead Withings health data (sleep, activity, heart, body metrics) through a hosted OAuth connection.
doctorgSkillglebis/claude-skills265 installsEvidence-based health research that rates claims on a GRADE-inspired scale using tiered trusted sources.
healthkitSkillprisma-labs-dev/apple-skills823 installsAPI reference for Apple's HealthKit framework, covering health data store queries, quantity samples, and unit conversions.
fitness-analyzerSkillhuifer/wellally-health304 installsAnalyzes exercise logs for trends, progress, and habits, with optional correlation against blood pressure and glucose data.
nutrition-analyzerSkillhuifer/wellally-health277 installsComprehensive nutrition analysis covering intake trends, RDA gaps, health-pattern scoring, and personalized dietary advice.