Skip to content
Back to skills

Get Focus Mode

ASecurity

Get the current macOS Focus mode

  • 665 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added February 7, 2026
toolsbash

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add openclaw/skills --skill get-focus-mode --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Get Focus Mode?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Get Focus Mode
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openclaw-get-focus-mode/badge)](https://www.skillsdirectory.com/skills/openclaw-get-focus-mode)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: get-focus-mode
description: Get the current macOS Focus mode
---

# 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

Files in this skill

  • SKILL.md457 B
  • _meta.json289 B
  • get-focus-mode.sh634 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…