스킬로 돌아가기
get-focus-mode
nickchristensen 제작
Apple Apps & Services—아직 평가 없음
내 평가
요약
Get the current macOS Focus.
설명
이 스킬이 하는 일
Reads the currently active macOS Focus mode and prints its name to stdout. Returns 'No Focus' when no mode is active, or the mode name (e.g. 'Do Not Disturb', 'Office', 'Sleep') when one is on.
Gives scripts direct programmatic access to Focus mode state without any GUI interaction or AppleScript boilerplate.
사용 시점
- Check Focus mode before sending automated notifications
- Branch automation scripts based on current distraction settings
- Log Focus mode changes over time
- Trigger different workflows depending on work vs sleep hours
- Verify Focus mode state in shell pipelines
예시 워크플로
입력
User asks: what Focus mode am I in right now?
에이전트
- 1
Run get-focus-mode.sh
- 2
Read stdout output
- 3
Return the printed Focus mode name
출력
'Do Not Disturb'
설치
clawhub install nickchristensen/get-focus-modeCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.