core-motion

Access Core Motion sensor data and track device activities on iOS and watchOS.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the problem of accessing and integrating Core Motion APIs into your application to leverage device sensors, track activities, and measure altitude data.

Core Features & Use Cases

  • Device Sensor Data: Access accelerometer, gyroscope, magnetometer, device-motion, pedometer, activity-recognition, altitude, headphone motion, batched high-frequency workout motion, and water-submersion/depth data.
  • Step Counting & Activity Recognition: Track steps and detect walking, running, driving, cycling, or stationary activity.
  • Altitude Tracking: Monitor and track altitude data with precision.
  • Use Case: For applications that require accurate motion data, such as fitness tracking, navigation, or game development, this Skill can be instrumental in implementing features that require integration with device sensors and activity tracking.

Quick Start

To read accelerometer data at a 60Hz rate, use the 'core-motion' skill and specify the desired update interval.

Frequently Asked Questions about core-motion

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

FAQPage Schema
How do I access Core Motion sensor data like accelerometer and gyroscope on iOS?

To access Core Motion sensor data on iOS, you use this Skill to read accelerometer, gyroscope, and magnetometer inputs at specified update intervals, such as a 60Hz rate for high-frequency motion tracking.

Can I track step counting and activity recognition using CoreMotion on iOS?

Yes, you can track step counting and perform activity recognition using CoreMotion on iOS. This Skill enables detecting walking, running, driving, cycling, or stationary activities for fitness applications.

What's the best way to track altitude data on iOS and watchOS devices?

The best way to track altitude data on iOS and watchOS is using this CoreMotion Skill, which provides precise altitude monitoring capabilities alongside other device motion and sensor readings.

Does CoreMotion support accessing headphone motion and water submersion depth data?

Yes, CoreMotion supports accessing headphone motion and water submersion depth data. This Skill provides self-contained access to these specialized device sensor inputs for iOS and watchOS applications.

How do I read batched high-frequency workout motion data in an iOS app?

You read batched high-frequency workout motion data by using this Skill to access CoreMotion APIs, configuring your desired update intervals to capture continuous device sensor and motion inputs during workouts.