본문으로 건너뛰기
Skillpedia
자동화6.0k · #14449

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/jacklandrin/OnlySwitch/blob/main/OpenClaw/skills/onlyswitch-deeplink/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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

  1. 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).

  2. 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"
    
  3. 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).
자주 묻는 질문

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.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬