
core-motion
Access Core Motion accelerometer, gyroscope, magnetometer, device-motion
by dpearson2699Free
Description
CoreMotion is an iOS agent skill from dpearson2699/swift-ios-skills for reading motion and activity sensors with Apple's Core Motion framework, scoped to Swift 6.3 and iOS 26 and later. It covers raw sensor data from CMMotionManager (accelerometer, gyroscope, magnetometer), processed device motion, step and distance data from CMPedometer, activity recognition with CMMotionActivityManager, altitude from CMAltimeter, headphone motion, batched high-frequency workout data and submersion sensors. A section covers update intervals and battery use. It ends with common mistakes and a review checklist, and suits fitness, navigation and motion-based app developers.…
Highlights
- Accelerometer, gyroscope, magnetometer
- Processed device motion
- Pedometer and activity recognition
- Altitude, headphone and submersion data
- Update interval and battery guidance
Ratings & Reviews
No ratings yet
Be the first to rate core-motion.
People also visit
core-motion FAQ
Which sensors and data does it cover?
Accelerometer, gyroscope, magnetometer, device motion, pedometer, activity recognition, altitude, headphone motion, batched workout data and submersion sensors.
How do I get started with it?
Add it from the command line with `npx skills add https://github.com/dpearson2699/swift-ios-skills --skill core-motion`, then ask your agent for the task it covers.
Which versions does it target?
Swift 6.3 and iOS 26 and later.
Does it address battery use?
Yes, it has a section on update intervals and battery.
What did the security audits report?
The skills.sh page lists these results: Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best core-motion alternatives?
Popular alternatives to core-motion include sensorkit, healthkit and activitykit. See all core-motion alternatives










