electron-protocol-handler-setup
Register and handle custom URL protocols (deep linking) across platforms for Electron applications
npx skills add a5c-ai/babysitter --skill electron-protocol-handler-setup --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# electron-protocol-handler-setup Register and handle custom URL protocols (deep linking) for Electron applications across Windows, macOS, and Linux. This skill enables apps to respond to custom URL schemes like `myapp://` for deep linking and inter-application communication. ## Capabilities - Register custom protocol handlers at OS level - Handle protocol URLs in running application - Configure electron-builder for protocol registration - Implement secure URL parsing and validation - Handle protocol activation on app launch - Support single-instance enforcement with protocol handling - Generate platform-specific registration scripts - Test protocol handling in development ## Input Schema ```json { "type": "object", "properties": { "projectPath": { "type": "string", "description": "Path to the Electron project root" }, "protocols": { "type": "array", "items": { "type": "object", "properties": { "scheme": { "type": "string", "description": "Protocol scheme (e.g., 'myapp')" }, "name": { "type": "string", "description": "Human-readable name" }, "role": { "enum": ["Viewer", "Editor", "Shell", "None"], "default": "Viewer" } }, "required": ["scheme", "name"] } }, "singleInstance": { "typ
- Capabilities
- Input Schema
- Output Schema
- Platform Registration
- macOS (Info.plist)
- Windows (Registry)
- Linux (Desktop Entry)
- Implementation
- Protocol Handler Class
- Main Process Integration
- electron-builder Configuration
- Security Considerations
- Testing
- Related Skills
Test on macOS open "myapp://open?file=test.txt" Test on Windows start "" "myapp://open?file=test.txt" Test on Linux xdg-open "myapp://open?file=test.txt"
What does the electron-protocol-handler-setup skill do?
Register and handle custom URL protocols (deep linking) across platforms for Electron applications
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill electron-protocol-handler-setup --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
