healthkit · prisma-labs-dev — Claude Code skill: HealthKit API reference
A skill that hands your agent the HealthKit docs: store operations, sample queries, workouts, unit conversions. Useful when you write iOS code and don't want to keep opening Apple's docs.
npx skills add Prisma-Labs-Dev/apple-skills --skill healthkit -a claude-codeWhat healthkit does
The skill is user-invocable and runs in a forked context with the Explore agent, so it searches its own reference files instead of your project. Six documents ship with it: a framework overview, hkhealthstore.md for store operations, hkquantitysample.md for samples like weight and heart rate, hkquantitytypeidentifier.md listing type identifiers, hksamplequery.md for queries, and hkunit.md for conversions.
Answers come back in a fixed shape: a short summary plus file paths for the full details. That keeps the agent from paraphrasing the whole reference. Ask about reading or writing health data and it works from these documents rather than guessing.
The skill answers API questions; it does not generate project code for you. You need Node.js with npx to install, since the command drops SKILL.md into the skills directory of the platform you pick.
What it helps with
- find the right quantity type identifier for a sample
- work out reading and writing health data through HKHealthStore
- convert units with HKUnit
- build a sample query with HKSampleQuery
- check how workouts and quantity samples are handled
Example prompts for the agent
- How do I read heart rate data with HKHealthStore?
- Show me the quantity type identifiers for weight samples
- How do I convert units in HKUnit?
How to install healthkit
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill healthkit -a claude-code2Manually: put the files in place
~/.claude/skills/healthkit/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/healthkit/
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill healthkit -a codex2Manually: put the files in place
.agents/skills/healthkit/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill healthkit -a cursor2Manually: put the files in place
.cursor/skills/healthkit/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Prisma-Labs-Dev/apple-skills healthkit2Manually: put the files in place
.github/skills/healthkit/SKILL.md1Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill healthkit -a gemini-cli2Platform CLI
gemini skills install https://github.com/Prisma-Labs-Dev/apple-skills --path skills/healthkitManually: put the files in place
.devin/skills/healthkit/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill healthkit -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about healthkit
How do I install healthkit in Claude?
Run npx skills add Prisma-Labs-Dev/apple-skills --skill healthkit -a claude-code. It places the skill at ~/.claude/skills/healthkit/SKILL.md.
What does healthkit do?
It acts as a HealthKit reference: the agent searches the bundled docs and returns a summary with paths to the relevant files.
Which platforms support the skill?
Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode, each with its own install command.
Source text
SKILL.md · MIT
--- name: healthkit user-invocable: true description: "API reference: HealthKit. Query for HKHealthStore, HKQuantitySample, workouts, health data read/write." context: fork agent: Explore --- # HealthKit Documentation Search these docs to answer questions about HealthKit APIs. ## Return Format Always include: 1. **Summary** - Answer the question concisely 2. **File paths** - List relevant files for full details, e.g.: - `hkhealthstore.md` for HKHealthStore API - `hkunit.md` for unit conversions ## Files - `healthkit-index.md` - Framework overview and all available APIs - `hkhealthstore.md` - Health data store operations - `hkquantitysample.md` - Quantity samples (weight, heart rate, etc.) - `hkquantitytypeidentifier.md` - All quantity type identifiers - `hksamplequery.md` - Querying health data - `hkunit.md` - Units and conversions
© Prisma-Labs-Dev · MIT · Prisma-Labs-Dev/apple-skills
Similar skills
Everything for Mobile →healthkit by other authors comes first.