apple_healthkit
Skill by asgeirtj
Reads a user's synced Apple Health (HealthKit) data through the health-cli binary. It covers daily metrics, sleep sessions, workouts and sync status, and can erase stored records on request.
Install apple_healthkit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/Meta/muse-agent/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/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/system_prompts_leaks/Meta/muse-agent/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 Health (HealthKit) data using the health-cli binary. Every command passes --provider healthkit. It covers all-day metric rollups such as steps, distance, calories, heart rate, HRV and VO2max, raw sample points, sleep sessions with stages and efficiency, and workouts. It also checks data-sync status and can delete stored records.
Query results come in an envelope with coverage information. When days are not synced, the response includes a backfill command, and the source says results are partial until that backfill completes. The source states the skill serves iOS devices, but notes that data may come from other devices that share data with Apple Health. It suits users who want to review their own health and fitness history.
Written from the project's SKILL.md and checked against it.
What it can do
- query metricsReturns all-day metric rollups by hour, day or week, such as steps and heart rate.
- query samplesReturns raw, unbucketed data points like intraday heart rate, GPS and sleep-stage timelines.
- query sessionsReturns discrete sleep or workout sessions with timing and per-session totals.
- statusShows synced categories, record counts and date ranges, with an optional gap report.
- auth connectStarts the connection flow to the user's Apple Health data.
- auth disconnectListed in the source, but disconnecting must be done in the Apple Health settings on the device.
- deleteErases stored Apple Health records by all, device or date range, after approval.
What you need
- An iPhone as the paired device
- Apple Health permission granted on the device
- The health-cli binary
Try asking
- Show my steps and resting heart rate for the last week
- How did I sleep last night? Include stages and efficiency
- List my workouts from March with distance and heart rate
Good to know
- The source says the skill serves iOS devices only.
- Disconnecting Apple Health must be done in Settings, not through the CLI.
- Deletes are destructive and irreversible, and need a fresh one-time approval.
- Results are partial when coverage is incomplete until a backfill finishes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: Meta/muse-agent/skills/apple-healthkit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
CONNECTOR.md7 KB -
connector.yaml298 B -
manifest.yaml3 KB
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 work with Android health data?
The source says the skill serves iOS devices only. If the paired device is not an iPhone, it has no data for the user.
Can the assistant delete my Apple Health data?
Yes, through the delete command, which is destructive and irreversible and requires approval. The source notes that records still on the device can return on a later sync.
How do I disconnect Apple Health?
The source says it cannot be disconnected through the CLI or an in-chat widget. The user should open Settings, then Connectors, then Apple Health, and tap Disconnect.
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 published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is apple_healthkit safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, 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.
