Назад към всички

get-focus-mode

// Get the current macOS Focus mode

$ git log --oneline --stat
stars:370
forks:70
updated:February 19, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameget-focus-mode
descriptionGet the current macOS 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