expo-healthkit
Skill by appeeky
Guides developers using expo-healthkit, an identifier-based HealthKit and Health Connect SDK for Expo and React Native. It covers authorization, queries, saves and background delivery. It is written for development builds, not Expo Go.
Install expo-healthkit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/appeeky/expo-healthkit /tmp/expo-healthkit && mkdir -p ~/.claude/skills && cp -r /tmp/expo-healthkit/.cursor/skills/expo-healthkit ~/.claude/skills/expo-healthkitRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/appeeky/expo-healthkit /tmp/expo-healthkit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/expo-healthkit/.cursor/skills/expo-healthkit ~/.gemini/antigravity-cli/skills/expo-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
expo-healthkit is an SDK for Expo and React Native apps that reads and writes health data through one identifier-based API. On iOS it uses HealthKit. On Android it maps the same identifiers onto Health Connect. Instead of per-type methods such as getStepCount, it uses query and save calls that take Apple identifier strings like QuantityType.stepCount.
This skill guides an AI assistant through authorization, choosing the right query, background delivery with update listeners, and development build setup. It covers activity rings, ECG, audiograms, clinical records, workout routes, correlations and heartbeat series. It is aimed at developers building health features in Expo apps.
Written from the project's SKILL.md and checked against it.
What it can do
- AuthorizationRequests read and write access with requestAuthorization and checks permission status.
- Quantity and category queriesReads samples and statistics with queryQuantitySamples, queryStatistics and queryCategorySamples.
- Workouts and ringsQueries workouts and Move, Exercise and Stand activity summaries.
- Apple-specific recordsCovers ECG, audiograms, clinical records, workout GPS routes and heartbeat series.
- CorrelationsQueries and saves blood pressure and food correlations with queryCorrelations and saveCorrelation.
- Writing dataSaves samples, workouts and correlations and deletes objects the app saved.
- Incremental syncUses queryAnchored with anchors and paging to sync changes over time.
- Background deliveryObserves types and re-queries on update events with addUpdateListener and enableBackgroundDelivery.
- Android mappingExplains which identifiers map to Health Connect and which throw ERR_HEALTH_CONNECT_UNSUPPORTED.
What you need
- Expo SDK 53 or newer
- Expo development build (not Expo Go)
- HealthKit capability enabled on the App ID in the Apple Developer portal
- Health Connect installed on Android (built in on Android 14+)
Try asking
- Show me how to request HealthKit read access for steps and workouts in Expo
- Write a query that gets daily step totals with queryStatisticsCollection
- Set up background delivery so my Expo app refreshes when new heart rate data arrives
Good to know
- Does not run in Expo Go and needs a development build with a rebuild after native changes.
- Apple does not disclose read grants, so empty results can mean no samples or denied read access.
- On Android, unmapped identifiers are skipped and Apple-only APIs throw ERR_HEALTH_CONNECT_UNSUPPORTED.
- Step count and other activity types are limited by Apple to one background delivery per hour.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .cursor/skills/expo-healthkit/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to expo-healthkit
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
expo-healthkit: common questions
Does expo-healthkit work on Android?
Yes. It maps the same identifiers onto Health Connect for mapped types such as steps, heart rate, sleep and workouts. Apple-only APIs like ECG and activity rings throw an error on Android.
Can I use expo-healthkit in Expo Go?
No. The source says it requires a development build, created with npx expo run:ios or npx expo run:android.
Why does my HealthKit query return no data?
The source says missing toRead permissions give empty results rather than an error. On iOS, empty data can also mean read access was denied, because Apple does not disclose read grants.
How do I install expo-healthkit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is expo-healthkit free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is expo-healthkit safe to use?
It scores 62 of 100. Grades: maintenance B, licence F, quality B. 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 expo-healthkit?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
