← Back to Skills Marketplace
nickchristensen

Get Focus Mode

by NickChristensen · GitHub ↗ · v1.0.1
cross-platform ✓ Security Clean
2196
Downloads
1
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install get-focus-mode
Description
Get the current macOS Focus mode
README (SKILL.md)

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
Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill Name: get-focus-mode Version: 1.0.1 The skill bundle is benign. The `get-focus-mode.sh` script reads specific macOS system files (`~/Library/DoNotDisturb/DB/Assertions.json` and `~/Library/DoNotDisturb/DB/ModeConfigurations.json`) using `jq` to determine the active Focus mode, which is directly aligned with its stated purpose. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts in `SKILL.md`.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install get-focus-mode
  3. After installation, invoke the skill by name or use /get-focus-mode
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Skill description shortened to "Get the current macOS Focus mode" - Removed mention of "to know if Nick is sleeping, working out, etc." from description
v1.0.0
Initial release of get-focus-mode. - Provides the active macOS Focus mode name ("No Focus", "Office", "Sleep", "Do Not Disturb"). - Outputs the mode name to stdout for use in scripts and automation. - Requires macOS and jq.
Metadata
Slug get-focus-mode
Version 1.0.1
License
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is Get Focus Mode?

Get the current macOS Focus mode. It is an AI Agent Skill for Claude Code / OpenClaw, with 2196 downloads so far.

How do I install Get Focus Mode?

Run "/install get-focus-mode" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Get Focus Mode free?

Yes, Get Focus Mode is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Get Focus Mode support?

Get Focus Mode is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Get Focus Mode?

It is built and maintained by NickChristensen (@nickchristensen); the current version is v1.0.1.

💬 Comments