Babysitter global-shortcut-manager

Register and manage global keyboard shortcuts across desktop platforms

install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/specializations/desktop-development/skills/global-shortcut-manager" ~/.claude/skills/a5c-ai-babysitter-global-shortcut-manager && rm -rf "$T"
manifest: library/specializations/desktop-development/skills/global-shortcut-manager/SKILL.md
source content

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