onlyswitch-deeplink
This skill links user requests to OnlySwitch action IDs to trigger macOS features like clearing caches.
Install
mkdir -p .claude/skills/onlyswitch-deeplink && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5887" && unzip -o skill.zip -d .claude/skills/onlyswitch-deeplink && rm skill.zipInstalls to .claude/skills/onlyswitch-deeplink
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
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.Key capabilities
- →Maps natural language requests to specific integer IDs
- →Triggers macOS system actions via deeplinks
- →Validates supported built-in switch features
- →Executes command-line calls to OnlySwitch
How it works
Uses a reference lookup table to map intent to an enum ID, then executes a bash command invoking the macOS URL handler.
Inputs & outputs
When to use onlyswitch-deeplink
- →Clearing Xcode derived data
- →Toggling dark mode
- →Muting the microphone
About this skill
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
-
Resolve intent to switch id
Map the user's request to a single built-in switch/button using 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). -
Open the deeplink
Run on the user's machine (macOS):open "onlyswitch://run?type=builtIn&id=<id>"Replace
<id>with the numeric id from the reference table. Example for "empty trash":open "onlyswitch://run?type=builtIn&id=16384" -
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
SwitchTypein the OnlySwitch app (see project'sSwitchType.swiftfor the source of truth; this skill's reference table is derived from it).
When not to use it
- →Toggling custom or non-builtin OnlySwitch actions
- →Situations where OnlySwitch app is not installed or running
Prerequisites
Limitations
- →Requires OnlySwitch app to be installed
- →Limited to predefined built-in action IDs
How it compares
It programmatically bridges conversational intent to local system-level toggles rather than manually navigating application menus.
Compared to similar skills
onlyswitch-deeplink side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| onlyswitch-deeplink (this skill) | 1 | 6mo | Review | Beginner |
| pptx | 393 | 6mo | Review | Advanced |
| nano-pdf | 63 | 2mo | Review | Beginner |
| video-downloader | 101 | 7mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
pptx
anthropics
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks
nano-pdf
openclaw
Edit PDFs with natural-language instructions using the nano-pdf CLI.
video-downloader
ComposioHQ
Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.
youtube-transcript
michalparkola
Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.
using-superpowers
obra
Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists
browser-automation
browserbase
Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications. Triggers include "browse", "navigate to", "go to website", "extract data from webpage", "screenshot", "web scraping", "fill out form", "click on", "search for on the web". When taking actions be as specific as possible.