macos-iokit-hardware
CommunityMaster macOS hardware, audio, and power control.
System Documentation
What problem does it solve?
This Skill eliminates the complexity of implementing low-level hardware interactions, audio routing, and power management in macOS applications, which requires navigating specialized IOKit, CoreAudio, and IOPMLib APIs with strict memory management and entitlement requirements.
Core Features & Use Cases
- IOKit & HID Device Access: Enumerate USB devices, manage custom HID peripherals (gamepads, joysticks, custom input devices), and traverse the IORegistry to read hardware properties.
- Audio Control: Route audio to specific output devices via AVAudioEngine, play system sounds with NSSound, and configure CoreAudio audio units for custom audio workflows.
- Power Management: Create scoped power assertions to prevent system sleep during critical operations, and monitor battery state, charge level, and warning levels.
- Use Case: If you are building a macOS creative tool that supports custom input devices, routes audio to professional USB audio interfaces, and keeps the system awake during large project exports, this skill provides production-ready, safety-checked code patterns.
Quick Start
Use the macos-iokit-hardware skill to implement USB gamepad input handling, route audio to a selected USB audio device, and add a power assertion to prevent system sleep during a batch file export in your macOS application.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: macos-iokit-hardware Download link: https://github.com/LaughingJackalope/macos-skills/archive/main.zip#macos-iokit-hardware Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.