Read, write, and query Apple Health data using HealthKit. An agent skill from dpearson2699/swift-ios-skills.

Custom licenceAuto-check passedProductivity & Automation

Install Healthkit

skills CLI
$ npx skills add dpearson2699/swift-ios-skills --skill healthkit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dpearson2699/swift-ios-skills healthkit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dpearson2699/swift-ios-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/healthkit .claude/skills/healthkit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
healthkit
GitHub stars
1.2k
Token cost
~4.2k tokens
SKILL.md length
1,037 words
Files
3 (incl. references)
Skills in repo
86
Repo updated
First seen
Licence
Custom licence

At a glance

Read, write, and query Apple Health data using HealthKit. An agent skill from dpearson2699/swift-ios-skills.

  • Works in 3 steps: Enable the HealthKit capability in Xcode… → Add NSHealthShareUsageDescription (read)… → For background delivery, enable the…
  • Integrating with Apple Health
  • SKILL.md covers Contents, Setup and Availability, Authorization and Reading Data: Sample Queries, plus 10 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Healthkit is an agent skill from dpearson2699/swift-ios-skills. 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 HKQuantityTypeIdentifier values. Use when integrating with Apple Health, displaying health metrics, recording workouts, or enabling background health data delivery.

Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `evals/evals.json` and `references/healthkit-patterns.md`).

It sits in Productivity & Automation, covering Health and fitness tracking and Statistics. It works with iOS. The repository describes itself as: Agent Skills for iOS 26+, Swift 6.3, SwiftUI, and modern Apple frameworks.

When your agent uses it

  • Integrating with Apple Health
  • Displaying health metrics
  • Recording workouts
  • Enabling background health data delivery

Example prompts

  • “/healthkit”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Enable the HealthKit capability in Xcode (adds the entitlement)
  2. Add NSHealthShareUsageDescription (read) and NSHealthUpdateUsageDescription (write) to Info.plist
  3. For background delivery, enable the "Background Delivery" sub-capability

What it can do on your machine

Read from SKILL.md and the folder at commit 8d90fd1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are swift).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • sosumi.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Healthkit loads about 4.2k tokens when it runs, and up to ~9.7k if it reads all its reference files. Until then it costs about 119 tokens; SKILL.md has 1,037 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~119
When it runs · the whole SKILL.md, loaded when a task matches
~4.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,037 words (~4,199 tokens).

“Read and write health and fitness data from the Apple Health store. Covers authorization, queries, writing samples, background delivery, and workout sessions. Targets Swift 6.3 / iOS 26+.”

— opening of SKILL.md by dpearson2699, Custom licence
name
healthkit

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in skills/healthkit of dpearson2699/swift-ios-skills.

  • SKILL.md
  • evals/evals.json
  • references/healthkit-patterns.md

Open the folder on GitHubat commit 8d90fd1

Compare with similar skills

Healthkit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Healthkit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Healthkit this skilldpearson2699/swift-ios-skills1.2k—~4.2kAutomated safety check: PassCustom licence
Healthkit Syncsundial-org/awesome-openclaw-skills663—~1.1kAutomated safety check: PassApache-2.0
Fit Ride Studioop7418/guizang-sports-skill147—~2.8kAutomated safety check: PassAGPL-3.0
Omnifocus 2sundial-org/awesome-openclaw-skills663—~1.5kAutomated safety check: PassNone
Usage Insightsgustavscirulis/snapgrid1161 repos~2.9kAutomated safety check: NotesCustom licence
Ae Systeminfometa/workbuddyskills348—~4.9kAutomated safety check: PassNone

Similar skills

  • Healthkit Sync

    sundial-org/awesome-openclaw-skills

    iOS HealthKit data sync CLI commands and patterns. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.1k tokensUpdated 7 mo ago
    Productivity & AutomationAuto-check passed
  • Fit Ride Studio

    op7418/guizang-sports-skill

    Analyze one or more cycling, running, or hiking FIT/KML activity tracks, generate evidence-based single or aggregate reports, open the bundled local Ride Relief report page when the environment…

    147 GitHub stars~2.8k tokensUpdated 2 mo ago
    Productivity & AutomationAuto-check passed
  • Omnifocus 2

    sundial-org/awesome-openclaw-skills

    Manage OmniFocus tasks via JavaScript for Automation (JXA) scripts.

    663 GitHub stars~1.5k tokensUpdated 7 mo ago
    Productivity & AutomationAuto-check passed
  • Usage Insights

    gustavscirulis/snapgrid

    Generates user-facing usage statistics, activity summaries, and personalized insights dashboards (weekly recaps, year-in-review, Spotify Wrapped-style).

    116 GitHub starsUsed in 1 repo~2.9k tokens
    Data & AnalyticsAuto-check: notes
  • Ae System

    infometa/workbuddyskills

    AE Agent system administration CLI for root and agent administrators.

    348 GitHub stars~4.9k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Nutrigx

    ClawBio/ClawBio

    Personalised nutrition report from consumer genetic data (23andMe, AncestryDNA, VCF) — interrogates nutritionally-relevant SNPs and generates actionable dietary guidance, all computed locally.

    1.2k GitHub starsUsed in 1 repo~3.7k tokens
    Productivity & AutomationAuto-check passed

More from dpearson2699/swift-ios-skills

All 86 skills in this repo
  • iOS Memgraph Analysis

    dpearson2699/swift-ios-skills

    A skill your agent uses when capturing or analyzing an iOS .memgraph, especially when the task mentions a memory leak, heap growth, persistent memory increase, ownership path, or matched-capture…

    1.2k GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check passed
  • iOS Ettrace Performance

    dpearson2699/swift-ios-skills

    A skill your agent uses when capturing or analyzing ETTrace profiles for a focused iOS launch or runtime flow, including exact-build dSYM UUID matching, Simulator or device capture, processed…

    1.2k GitHub stars~2.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Accessorysetupkit

    dpearson2699/swift-ios-skills

    Discover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit.

    1.2k GitHub stars~3.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Activitykit

    dpearson2699/swift-ios-skills

    Implement, review, or improve Live Activities and Dynamic Island experiences in iOS apps using ActivityKit.

    1.2k GitHub stars~4.6k tokensUpdated 2 mo ago
    Auto-check passed
  • Adattributionkit

    dpearson2699/swift-ios-skills

    Measure ad effectiveness with privacy-preserving attribution using AdAttributionKit.

    1.2k GitHub stars~3.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Alarmkit

    dpearson2699/swift-ios-skills

    Implement AlarmKit alarms and countdown timers for iOS and iPadOS with Lock Screen, Dynamic Island, StandBy, and paired Apple Watch system UI.

    1.2k GitHub stars~3.3k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Healthkit

What does Healthkit do?

Read, write, and query Apple Health data using HealthKit. An agent skill from dpearson2699/swift-ios-skills. Healthkit is an agent skill from dpearson2699/swift-ios-skills. Read, write, and query Apple Health data using HealthKit.

When should I use Healthkit?

Healthkit fits situations like: integrating with Apple Health; displaying health metrics; recording workouts; enabling background health data delivery.

How do I install Healthkit in Claude Code?

Run `npx skills add dpearson2699/swift-ios-skills --skill healthkit -a claude-code`. Or copy the skill folder (skills/healthkit in dpearson2699/swift-ios-skills) into .claude/skills/healthkit in your project. Claude Code loads it when a task matches its description.

How do I install Healthkit in Codex?

Run `npx skills add dpearson2699/swift-ios-skills --skill healthkit -a codex`. Or copy the skill folder (skills/healthkit in dpearson2699/swift-ios-skills) into .agents/skills/healthkit in your project. Codex loads it when a task matches its description.

Can I use Healthkit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dpearson2699/swift-ios-skills --skill healthkit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/healthkit, .gemini/skills/healthkit, .github/skills/healthkit and .opencode/skills/healthkit in your project.

What does Healthkit need to run?

SKILL.md names no scripts, command-line tools or credentials: Healthkit is instructions for the agent only.

Does Healthkit access the network?

SKILL.md names 1 domain. As links in the text: sosumi.ai. This is read from the text; nothing was executed.

Is Healthkit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Healthkit use?

Healthkit has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Healthkit use?

About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.5k tokens, read only when the agent opens those files.

What are the alternatives to Healthkit?

Skills that share tags, products or a category with Healthkit: Healthkit Sync (sundial-org/awesome-openclaw-skills, 663 stars), Fit Ride Studio (op7418/guizang-sports-skill, 147 stars), Omnifocus 2 (sundial-org/awesome-openclaw-skills, 663 stars) and Usage Insights (gustavscirulis/snapgrid, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Healthkit?

dpearson2699 (a GitHub user) maintains it in dpearson2699/swift-ios-skills, which has 1,183 GitHub stars. The repository holds 86 skills in this directory. The repository was last updated on July 31, 2026.

Source: dpearson2699/swift-ios-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.