sensorkit

Access research-grade sensor data from iOS and watchOS devices.

Updated Jul 12, 2026
One-click install
npx skills add https://github.com/yashpalsince2004/National_academy_app --skill sensorkit-yashpalsince2004
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sensorkit
Source: https://github.com/yashpalsince2004/National_academy_app/tree/main/Mobile/.agents/skills/sensorkit
Command: npx skills add https://github.com/yashpalsince2004/National_academy_app --skill sensorkit-yashpalsince2004

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires SensorKit, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows researchers to access research-grade sensor data from iOS and watchOS devices for approved studies, streamlining the process of collecting data for various research purposes.

Core Features & Use Cases

  • Sensor Data Access: Provides access to a wide range of sensors including ambient light, motion, device usage, keyboard metrics, visits, phone/messaging usage, speech metrics, face metrics, wrist temperature, heart rate, ECG, and PPG.
  • Research Study Support: Specifically designed for Apple-approved research studies, requiring the necessary entitlements and user authorization.
  • Data Collection: Enables the collection of up to 7 days of prior recorded data for an active sensor, with a 24-hour hold on newly recorded data for user review.

Quick Start

Use the sensorkit skill to start recording sensor data for a research study on the current device.

Frequently Asked Questions about sensorkit

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

FAQPage Schema
How do I collect research-grade sensor data from iOS and watchOS devices?

To collect research-grade sensor data from iOS and watchOS devices, you need an Apple-approved research study setup with the com.apple.developer.sensorkit.reader.allow entitlement and explicit user authorization to access the sensors.

What types of health and usage sensor data can I access on watchOS and iOS?

You can access ambient light, motion, device usage, keyboard metrics, heart rate, ECG, PPG, wrist temperature, speech metrics, face metrics, and phone or messaging usage sensor data on compatible iOS and watchOS devices.

Do I need a specific entitlement to use SensorKit for health data collection?

Yes, health and sensor data collection with SensorKit requires the com.apple.developer.sensorkit.reader.allow entitlement, which is specifically restricted to Apple-approved research studies before any data recording can begin.

How do I retrieve historical sensor data from an active iOS or watchOS sensor?

You can retrieve up to 7 days of prior recorded sensor data from an active iOS or watchOS sensor, but newly recorded data is held for 24 hours to allow for user review before becoming accessible.

Are there limitations on accessing real-time watchOS sensor data for research studies?

Yes, a 24-hour hold applies to newly recorded sensor data for user review, meaning real-time data access is delayed, and you can only query up to 7 days of historical data from active sensors.

Can I use SensorKit to monitor device usage and keyboard metrics for research?

Yes, SensorKit allows you to monitor device usage and keyboard metrics, alongside other sensors like motion and ambient light, provided you have the required research entitlements and user authorization.