Get Focus Mode

v1.0.1

Get the current macOS Focus mode

1· 2.2k·2 current·2 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for nickchristensen/get-focus-mode.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Get Focus Mode" (nickchristensen/get-focus-mode) from ClawHub.
Skill page: https://clawhub.ai/nickchristensen/get-focus-mode
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install get-focus-mode

ClawHub CLI

Package manager switcher

npx clawhub@latest install get-focus-mode
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description (get current macOS Focus mode) align with the included script which reads macOS Do Not Disturb DB files and prints the active mode. One minor metadata mismatch: the registry lists no required binaries, but SKILL.md and the script require jq.
Instruction Scope
The SKILL.md instructs running get-focus-mode.sh which reads two files in ~/Library/DoNotDisturb/DB/ (Assertions.json and ModeConfigurations.json) and prints a single string. This is consistent with the stated purpose, but it does read user-local files (privacy-sensitive data about Focus/DND state) — expected for this feature.
Install Mechanism
No install spec is present (instruction-only plus one script). Nothing is downloaded or installed by the skill itself.
Credentials
No environment variables or external credentials are requested, which is appropriate. However, SKILL.md lists jq as a requirement but the registry metadata did not declare any required binaries; the script will fail if jq is absent.
Persistence & Privilege
Skill does not request persistent presence, does not modify system or other skills, and does not require elevated privileges. It only reads local files when invoked.
Assessment
This skill is coherent for its stated purpose: it reads two local macOS files and prints the active Focus mode. Before installing or running it, note: (1) it requires jq and macOS — install jq or update the skill metadata to list it; (2) it reads files under ~/Library/DoNotDisturb/DB/, which is expected but is local user data (no network calls); (3) there is no installer or network activity in the package — you can safely open and inspect get-focus-mode.sh yourself to confirm behavior. If you are uncomfortable with any local file reads, do not enable the skill.

Like a lobster shell, security has layers — review code before you run it.

latestvk976bhk9bt61smpzk8006w8hws7z4yew
2.2kdownloads
1stars
2versions
Updated 2mo ago
v1.0.1
MIT-0

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

Comments

Loading comments...