Global shortcut manager
Skill a5c-ai/babysitter/library/specializations/desktop-development/skills/global-shortcut-manager
Register and manage global keyboard shortcuts across desktop platformsFrom its SKILL.md
npx -y skills add a5c-ai/babysitter --skill global-shortcut-managerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.5 KB, 223 tokens by cl100k_base, as published. Nobody here has run it
global-shortcut-manager
Register and manage global keyboard shortcuts that work even when the application is not focused.
Capabilities
- Register global shortcuts
- Handle modifier combinations
- Manage shortcut conflicts
- Platform-specific key mapping
- Unregister shortcuts
- Check shortcut availability
Input Schema
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"framework": { "enum": ["electron", "tauri", "native"] },
"shortcuts": { "type": "array" }
},
"required": ["projectPath"]
}
Electron Example
const { globalShortcut } = require('electron');
function registerShortcuts() {
globalShortcut.register('CommandOrControl+Shift+X', () => {
console.log('Global shortcut triggered');
});
}
app.on('will-quit', () => {
globalShortcut.unregisterAll();
});
Related Skills
clipboard-handlersystem-services-integrationprocess
What ships with it: 1 file
514 B alongside SKILL.md
- README.md514 B