get-focus-mode
获取当前 macOS 焦点模式
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~nickchristensen-get-focus-modecURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~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 --- ## 中文说明 # Get Focus Mode 返回当前激活的 macOS 焦点模式的名称。 ## 用法 ```bash ~/clawd/skills/get-focus-mode/get-focus-mode.sh ``` ## 输出 将焦点模式名称打印到 stdout: - "No Focus" - 焦点模式已关闭 - "Office" - Office 焦点已激活 - "Sleep" - Sleep 焦点已激活 - "Do Not Disturb" - 勿扰模式已激活 ## 要求 - macOS - 已安装 `jq`