onlyswitch-deeplink
하는 일
이 스킬은 AI가 Mac에서 화면 깨어 있기나 휴지통 비우기 같은 OnlySwitch 기본 동작을 실행하도록 합니다. 이미 OnlySwitch 메뉴 막대 앱을 쓰는 사람을 위한 것입니다.
사용하는 경우
- ✓AI를 통해 다크 모드나 음소거 같은 OnlySwitch 스위치를 켜거나 끄고 싶을 때.
- ✓한 번의 요청으로 휴지통을 비우거나 클립보드를 지우고 싶을 때.
- ✓Xcode 파생 데이터 삭제처럼 캐시를 정리하는 동작을 원할 때.
스킬 링크
https://github.com/jacklandrin/OnlySwitch/blob/main/OpenClaw/skills/onlyswitch-deeplink/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“OnlySwitch로 화면 깨어 있기를 켜 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 요청을 OnlySwitch의 기본 동작 하나에 맞춘 뒤, 그 동작의 링크를 Mac에서 열어 앱이 해당 동작을 실행하게 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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).
자주 묻는 질문
OnlySwitch가 설치되어 있어야 하나요?
네. 앱이 설치되어 있고 onlyswitch 링크를 처리하도록 허용되어 있어야 합니다.
OnlySwitch의 모든 동작을 실행할 수 있나요?
아니요. 참고 목록에 있는 기본 동작만 작동하며, 사용자 지정 스위치는 지원하지 않습니다.
Windows에서도 되나요?
아니요. 이 스킬은 macOS용으로 작성되었으며, 각 동작을 시작하기 위해 open 명령을 사용합니다.
상세 정보
작성자의 원본 설명
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.
repo: jacklandrin/OnlySwitch
인기도
- GitHub 스타
- 6.0k
- 순위
- #14449
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
app-store-review
6.0k에이전트가 Apple 앱 코드를 App Store 심사 지침과 대조해, 제출 전에 거절될 수 있는 문제를 찾도록 돕습니다.
swift-concurrency-pro
6.0k에이전트가 Swift 비동기 코드를 검토해 동시성 실수, 액터 문제, 오래된 비동기 패턴을 찾도록 돕습니다.
swift-testing-pro
6.0k에이전트가 최신 테스트 API, 비동기 테스트 패턴, 깔끔한 테스트 구조로 Swift Testing 코드를 작성하고 검토하도록 돕습니다.