OpenParable
Skip to content
← Back to skills

Global Shortcut Manager

Apps & Automation
global-shortcut-manager

Global Shortcut Manager is an Agent Skill for apps & automation published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Register and manage global keyboard shortcuts across desktop platforms

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/desktop-development/skills/global-shortcut-manager/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/global-shortcut-manager, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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