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.
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-healthkitRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/win4r/MuseAI-Skills /tmp/MuseAI-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/MuseAI-Skills/opt/hatch/skills/apple-healthkit ~/.gemini/antigravity-cli/skills/apple-healthkitAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
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.
