Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

apple_healthkit

Skill by win4r

Reads a user's synced Apple Health (HealthKit) data through the health-cli binary. It covers daily metrics, raw samples, sleep, workouts and sync status.

  • Score 71
  • 705 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install apple_healthkit

Built from the published package, never by AI.

git clone --depth 1 https://github.com/win4r/MuseAI-Skills /tmp/MuseAI-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/MuseAI-Skills/opt/hatch/skills/apple-healthkit ~/.claude/skills/apple-healthkit

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install apple_healthkit in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill lets an AI assistant read a user's synced Apple HealthKit data using the health-cli binary. Every command takes the --provider healthkit flag. Data is grouped by shape: all-day metric rollups, raw unbucketed samples, and discrete sleep or workout sessions. The skill also reports data-sync status and can erase stored records through a guarded delete command.

Queries return a coverage field that shows whether all days in the window are synced. When data is partial, the skill surfaces a backfill command to pull the missing range. The source says the skill serves iOS devices only, and it warns against assuming all data comes from iOS, since other devices can share data with Apple Health. It is aimed at users who want to ask questions about their own health, sleep and activity data.

Written from the project's SKILL.md and checked against it.

What it can do

  • query metricsReturns all-day metric rollups such as steps, distance, calories, heart rate, HRV and VO2max.
  • query samplesReturns raw, unbucketed data points such as intraday heart rate, steps, GPS and sleep stages.
  • query sessionsReturns discrete sleep or workout sessions with stages, quality, type, duration and heart rate.
  • statusShows data-sync status by category, with optional checks for missing entries.
  • auth connectStarts the connection flow to Apple Health data for the user.
  • auth disconnectExplains how to disconnect Apple Health, which must be done in the Settings app.
  • deleteErases stored Apple Health records by all records, device or date range, after approval.

What you need

  • An iPhone with Apple Health data synced
  • The health-cli binary

Try asking

  • Show my sleep sessions and efficiency for last week
  • How has my HRV trended over the past 30 days?
  • Check whether my Apple Health data is fully synced

Good to know

  • Serves iOS devices only, according to the source
  • Results are partial until a flagged backfill completes
  • Delete is destructive and irreversible, and needs a fresh one-time approval
  • Apple Health cannot be disconnected through the CLI or in-chat widget

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: opt/hatch/skills/apple-healthkit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to apple_healthkit

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

apple_healthkit: common questions

Does this skill work with Apple Watch data?

The source says data can come from other sources or devices that share data with Apple Health, so it should not be assumed to come only from iOS devices. It does not name Apple Watch specifically.

Can the assistant delete my Apple Health data?

Yes, through the delete command, which is destructive and irreversible. It runs behind a fresh one-time approval showing the filters, and the source says it must not be done by moving files or writing to the database.

Why does a query return incomplete results?

If days in the window are not synced from the device, coverage.complete is false and coverage.warning gives the backfill_data_source command to run. Results stay partial until that backfill completes.

How do I install apple_healthkit?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is apple_healthkit free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is apple_healthkit safe to use?

It scores 71 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to apple_healthkit?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

apple_healthkit Install

Add to stack

Loading.