Torna alle skill
get-focus-mode
di nickchristensen
Apple Apps & Services1.8kDownload riportati da clawskills.sh
1Stelle
0Visualizzazioni
0 likeAccedi per mettere like a questa skill—Non ancora valutato
La tua valutazione
Sintesi
Get the current macOS Focus.
Descrizione
Cosa fa questa skill
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.
Quando usarla
- 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
Esempio di workflow
INPUT
User asks: what Focus mode am I in right now?
AGENT
- 1
Run get-focus-mode.sh
- 2
Read stdout output
- 3
Return the printed Focus mode name
OUTPUT
'Do Not Disturb'
Installazione
clawhub install nickchristensen/get-focus-modeEsegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.