healthkit

Manages HealthKit data operations including store initialization, user authorization, and querying.

32|10|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/moasq/nanowave --skill healthkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: healthkit
Source: https://github.com/moasq/nanowave/tree/main/internal/orchestration/skills/features/healthkit
Command: npx skills add https://github.com/moasq/nanowave --skill healthkit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the integration of Apple's HealthKit framework into your applications, enabling the reading and writing of sensitive health data.

Core Features & Use Cases

  • Health Data Management: Handle authorization, read various health metrics (steps, heart rate, etc.), and write custom data.
  • Data Querying: Utilize HKSampleQuery and HKStatisticsQuery for retrieving specific data points or aggregated statistics.
  • Use Case: Implement a fitness app feature that tracks daily step count and heart rate by requesting the necessary HealthKit permissions and querying the relevant data types.

Quick Start

Use the healthkit skill to request authorization for reading 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 request HealthKit authorization for reading step count and heart rate in Swift?

You can query HealthKit data using HKSampleQuery to retrieve specific data points like step counts, or HKStatisticsQuery for aggregated statistics such as daily heart rate averages, both managed through an initialized HKHealthStore instance.

What privacy descriptions and entitlements do I need for HealthKit access?

HealthKit data operations involve initializing the HKHealthStore, requesting user authorization for specific health data types, and utilizing HKSampleQuery and HKStatisticsQuery to read or write health metrics like step count and heart rate.

Can I write custom health data to HealthKit using Swift?

Integrating HealthKit into a Swift iOS app simplifies handling sensitive health data operations by managing store initialization, user authorization, and data querying for metrics like steps and heart rate without building the framework logic from scratch.

Why does my HealthKit data query return empty results in iOS development?

HealthKit data queries may return empty results if the necessary user authorization for the specific health data types has not been granted, or if the required privacy descriptions and HealthKit entitlements are missing from your app configuration.