global-hotkeys
CommunityMaster macOS hotkeys with ease.
Authormakgunay
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you implement and manage system-wide keyboard shortcuts (hotkeys) on macOS, ensuring your applications can respond to user-defined key combinations reliably.
Core Features & Use Cases
- System-Wide Hotkey Registration: Use Carbon's
RegisterEventHotKeyfor robust, system-wide hotkey support, even for sandboxed applications. - In-App Shortcuts: Leverage SwiftUI's
.onKeyPressand.keyboardShortcutfor shortcuts within your application's UI. - Event Monitoring: Utilize
NSEvent.addGlobalMonitorForEventsandaddLocalMonitorForEventsfor broader key event detection. - Use Case: Create a macOS app that triggers a specific action (e.g., opening a hidden panel) when the user presses
Command + Shift + K, regardless of which application is currently active.
Quick Start
Use the global-hotkeys skill to register a system-wide hotkey for Command+Shift+A.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: global-hotkeys Download link: https://github.com/makgunay/claude-swift-skills/archive/main.zip#global-hotkeys 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 223,000+ vetted skills library on demand.