install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/get-focus-mode" ~/.claude/skills/sundial-org-awesome-openclaw-skills-get-focus-mode && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/get-focus-mode" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-get-focus-mode && rm -rf "$T"
manifest:
skills/get-focus-mode/SKILL.mdsource content
Get Focus Mode
Returns the name of the currently active macOS Focus mode.
Usage
~/clawd/skills/get-focus-mode/get-focus-mode.sh
Output
Prints the Focus mode name to stdout:
- "No Focus" - Focus mode is off
- "Office" - Office focus is active
- "Sleep" - Sleep focus is active
- "Do Not Disturb" - DND is active
Requirements
- macOS
installedjq