healthkit

healthkit is a skill for Claude Code, Codex from Abdullah4AI/apple-developer-toolkit. It costs 30 tokens per session (149 once invoked), scanned A, original, MIT.

A guide to Apple HealthKit, the Apple framework for reading and writing health data such as steps, heart rate, and active energy. It covers permissions, app settings, and data queries.

In plain words
What is it for?
Adding health-data features to an Apple app, such as requesting access and reading or aggregating health records.
Why use it?
It collects the required HealthKit setup details in one place, including user authorization, privacy descriptions, and the developer entitlement.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/abdullah4ai/apple-developer-toolkit/healthkit
Any agent
npx skills add Abdullah4AI/apple-developer-toolkit --skill healthkit
Clone the repo
git clone --depth 1 https://github.com/Abdullah4AI/apple-developer-toolkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for healthkit

README.md
[![agentmods](https://agentmods.dev/badge/skills/abdullah4ai/apple-developer-toolkit/healthkit.svg)](https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/healthkit)
Your own site
<a href="https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/healthkit"><img src="https://agentmods.dev/badge/skills/abdullah4ai/apple-developer-toolkit/healthkit.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 149 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00149
Opus 5 $0.00015 $0.00075
Sonnet 5 $0.00006 $0.00030
Haiku 4.5 $0.00003 $0.00015

Measured 5d ago against content hash 37a73988ed99, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

healthkit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

swiftship/internal/skills/data/features/healthkit/SKILL.md · 15 lines

What it actually says

Healthkit

HEALTHKIT:

  • import HealthKit; HKHealthStore()
  • Check availability: HKHealthStore.isHealthDataAvailable()
  • Request auth: healthStore.requestAuthorization(toShare:read:)
  • Requires NSHealthShareUsageDescription + NSHealthUpdateUsageDescription (add CONFIG_CHANGES)
  • Requires com.apple.developer.healthkit entitlement (add CONFIG_CHANGES)
  • Query: HKSampleQuery, HKStatisticsQuery for aggregated data
  • Common types: HKQuantityType(.stepCount), .heartRate, .activeEnergyBurned
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 15 lines · 30 tokens per session scan A 37a73988ed99

Subscribe to this mod's changes

healthkit is a skill published in the GitHub repository Abdullah4AI/apple-developer-toolkit (10 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 149 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

compose-graphics

Advanced Compose visuals - Material 3 Expressive motion physics, AGSL shaders (Android 13+), Canvas/DrawScope generative, graphicsLayer effects.

Jwuthri/Tracely-ai · 36 tokens

healthmd-cli

Install and operate the standalone Health.md CLI and portable healthmd-mcp server on macOS, Linux, or Windows. Use when a user wants to pair an iPhone, configure Codex/Claude MCP, check direct readiness, query or chart typed health data, export Apple Health data, extract canonical JSON, manage durable jobs, automate…

CodyBontecou/health-md · 91 tokens

vision

Guides you through implementing people-focused computer vision: subject segmentation, hand/body pose detection, person detection, and combining Vision APIs to solve complex problems.

IGTA-Tech/claude-skills-research · 34 tokens

vision-ref

Vision framework API, VNDetectHumanHandPoseRequest, VNDetectHumanBodyPoseRequest, person segmentation, face detection, VNImageRequestHandler, recognized points, joint landmarks.

IGTA-Tech/claude-skills-research · 37 tokens

sensorkit

Builds approved research data collection with SensorKit, including entitlement, authorization, reader/fetch workflows, and supported device or watch sensors. Use for research-grade SensorKit studies; route ordinary motion to Core Motion and health records or workouts to HealthKit.

thiennc-tesoglobal/ios-skills · 54 tokens

healthkit

Read, write, and query Apple Health data using HealthKit. Covers HKHealthStore authorization, sample queries, statistics queries, statistics collection queries for charts, saving HKQuantitySample data, background delivery, workout sessions with HKWorkoutSession and HKLiveWorkoutBuilder, HKUnit, and…

JordanCoin/ios-skills-collection · 86 tokens