get-focus-mode

ClawSkills 作者 clawskills

Get the current macOS Focus mode

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install clawskills:clawskills~nickchristensen-get-focus-mode
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/clawskills%3Aclawskills~nickchristensen-get-focus-mode/file -o nickchristensen-get-focus-mode.md
# Get Focus Mode

Returns the name of the currently active macOS Focus mode.

## Usage

```bash
~/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
- `jq` installed