स्किल्स पर वापस
get-focus-mode
nickchristensen द्वारा
Apple Apps & Services1.8kclawskills.sh द्वारा बताए गए डाउनलोड
1स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग
संक्षिप्त
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।