smithery/jacklandrin

onlyswitch-deeplink

Invoke OnlySwitch built-in switches or buttons via deeplink.

Installation

$ npx skills add smithery/jacklandrin --skill onlyswitch-deeplink

Summary

  • Invoke OnlySwitch built-in switches or buttons via deeplink.
  • Use when the user asks to toggle or trigger an OnlySwitch action (e.g. empty trash, keep awake, dark mode, mute, hide desktop, clear clipboard, eject discs, Xcode derived data, and any other built-in switch or button).
  • Resolve the request to the correct switch id and open the onlyswitch deeplink.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents clawdbot

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,901 B
  • docs SUMMARY.md 385 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

OnlySwitch Deeplink

Invoke OnlySwitch built-in switches or one-shot buttons by opening its deeplink. OnlySwitch must be installed and allowed to handle the onlyswitch:// URL scheme.

Workflow

  1. Resolve intent to switch id

Map the user's request to a single built-in switch/button using [references/switch-ids.md](references/switch-ids.md). Match phrases like "empty trash", "toggle keep awake", "mute mic", "clear xcode cache" to the correct id (e.g. empty trash → 16384, keep awake → 16).

  1. Open the deeplink

Run on the user's machine (macOS):

``bash open "onlyswitch://run?type=builtIn&id=<id>" ``

Replace <id> with the numeric id from the reference table. Example for "empty trash":

``bash open "onlyswitch://run?type=builtIn&id=16384" ``

  1. Confirm

Tell the user which action was triggered (e.g. "Emptied trash via OnlySwitch" or "Toggled Keep Awake via OnlySwitch").

Notes

  • One deeplink per request: resolve to exactly one switch id per user message.
  • If the request doesn't match any built-in (e.g. custom switch or unknown action), say that OnlySwitch deeplinks only support the built-in list and suggest checking the app or docs.
  • IDs are raw enum values from SwitchType in the OnlySwitch app (see project's SwitchType.swift for the source of truth; this skill's reference table is derived from it).