health-data

Query Apple Health SQLite data to generate Markdown, JSON, and FHIR R4 reports.

345|52|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/glebis/claude-skills --skill health-data-glebis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: health-data
Source: https://github.com/glebis/claude-skills/tree/main/health-data
Command: npx skills add https://github.com/glebis/claude-skills --skill health-data-glebis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Apple Health data lives in a local SQLite database and is hard to query for insights. This skill provides a unified interface to query vitals, activity, sleep, and workouts and generate consumable reports in Markdown, JSON, and FHIR.

Core Features & Use Cases

  • Query vitals, activity, sleep, and workouts from ~/data/health.db and produce Markdown, JSON, and FHIR outputs for health reporting and data exports.
  • Supports daily, weekly, and ad-hoc analyses, enabling export to clinicians, researchers, or personal dashboards.
  • Use cases include health monitoring, trend analysis, and data export for integrations with other tools.

Quick Start

Run a daily health summary for today and review the Markdown report.

Frequently Asked Questions about health-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Apple Health SQLite data for vitals and activity analysis?

Query Apple Health SQLite data by running a Python script against the local ~/data/health.db database to analyze vitals, activity, sleep, and workouts. This process extracts your health records for trend reporting and data export.

Can I export Apple Health data to FHIR R4 format for clinical reporting?

Yes, you can export Apple Health data to FHIR R4 format. The skill generates FHIR R4 outputs alongside Markdown and JSON, allowing you to share structured health reports with clinicians or researchers.

Do I need a local SQLite database to analyze Apple Health exports?

Yes, you need a local SQLite database at ~/data/health.db containing your Apple Health data. The skill queries this database to produce daily, weekly, and ad-hoc health reports.

What's the best way to generate daily health summaries from Apple Health data?

Generate daily health summaries by running the health query Python script against your local database. It produces Markdown reports summarizing vitals, activity, sleep, and workouts for the specified timeframe.

What output formats are supported for Apple Health workout and sleep analysis?

Apple Health workout and sleep analysis supports Markdown, JSON, and FHIR R4 output formats. These formats enable health monitoring, trend analysis, and integration with personal dashboards or external tools.

How does analyzing Apple Health data in SQLite compare to other data analytics approaches?

Analyzing Apple Health data in SQLite provides a unified local interface for querying vitals and workouts directly. This approach differs from category-level alternatives by generating standardized FHIR R4 and JSON exports without external server dependencies.