Get Focus Mode

v1.0.1

Get the current macOS Focus mode

1· 2.2k· 2 versions· 2 current· 2 all-time· Updated 11h ago· MIT-0

Install

openclaw skills install get-focus-mode

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
  • jq installed

Version tags

latestvk976bhk9bt61smpzk8006w8hws7z4yew