healthkit

Read, write, and query Apple HealthKit health and fitness data.

155|22|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/omarshahine/HomeClaw --skill healthkit-omarshahine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: healthkit
Source: https://github.com/omarshahine/HomeClaw/tree/main/.agents/skills/healthkit
Command: npx skills add https://github.com/omarshahine/HomeClaw --skill healthkit-omarshahine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables seamless integration with Apple Health, allowing applications to read, write, and query a user's health and fitness data.

Core Features & Use Cases

  • Data Access: Read vital signs, activity metrics, body measurements, and more.
  • Data Recording: Write workout sessions, step counts, and other health samples.
  • Background Updates: Receive notifications when new health data becomes available.
  • Use Case: A fitness app can use this Skill to automatically log a user's run, including distance, heart rate, and calories burned, directly into Apple Health.

Quick Start

Use the healthkit skill to request authorization to read step count and heart rate data.

Frequently Asked Questions about healthkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and write Apple Health data in a Swift application?

To read and write Apple Health data in Swift, you use HealthKit to request authorization and execute sample or statistics queries for user health metrics and fitness activities.

Can my app receive background updates when new HealthKit workout data is available?

Yes, HealthKit supports background data delivery, allowing your Swift application to receive notifications when new workout sessions and health samples become available.

How do I query workout session tracking and vital signs from Apple Health?

You query workout sessions and vital signs from Apple Health by using HealthKit sample and statistics queries to retrieve distance, heart rate, and calories burned.

What is the process to request authorization to read step count and heart rate data?

Requesting authorization to read step count and heart rate data requires your Swift app to initialize HealthKit and prompt the user for explicit access permissions.

Does this HealthKit integration support logging body measurements and activity metrics?

Yes, this HealthKit integration supports reading and writing body measurements, activity metrics, and step counts directly into Apple Health from your fitness app.

What are the limitations when querying statistics for Apple Health fitness tracking?

HealthKit statistics queries require proper authorization and depend on user permissions, limiting access to only explicitly approved health metrics and workout sessions.