SensorKit is Apple's research-grade data collection framework, and this skill covers the whole setup: getting the special entitlement, configuring Info.plist keys, requesting authorization through the Research Sensor & Usage Data sheet, and actually fetching samples. It's restricted to Apple-approved studies only, so you'll need to submit a proposal and wait for the com.apple.developer.sensorkit.reader.allow entitlement before any of this works. The 24-hour data hold means users can delete recordings before your app sees them, which is a big deal for research ethics. If you're building a health study app and need accelerometer data beyond CoreMotion or want keyboard metrics and device usage patterns, this is your only route. Just know it's not for commercial apps.
npx skills add https://github.com/dpearson2699/swift-ios-skills --skill sensorkit