Agent Skills: global-shortcut-manager

Register and manage global keyboard shortcuts across desktop platforms

UncategorizedID: a5c-ai/babysitter/global-shortcut-manager

Install this agent skill to your local

pnpm dlx add-skill https://github.com/a5c-ai/babysitter/tree/HEAD/plugins/babysitter/skills/babysit/process/specializations/desktop-development/skills/global-shortcut-manager

Skill Files

Browse the full folder contents for global-shortcut-manager.

Download Skill

Loading file tree…

plugins/babysitter/skills/babysit/process/specializations/desktop-development/skills/global-shortcut-manager/SKILL.md

Skill Metadata

Name
global-shortcut-manager
Description
Register and manage global keyboard shortcuts across desktop platforms

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-handler
  • system-services-integration process