技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.1
统计:⭐ 1 · 1.9k · 2 current installs · 2 all-time installs
⭐ 1
安装量(当前) 2
🛡 VirusTotal :良性 · OpenClaw :良性
Package:get-focus-mode
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :良性
OpenClaw 评估
The skill's code and instructions match its stated purpose (reading macOS Focus mode from local Do Not Disturb DB); no network exfiltration or unrelated credentials are requested, though the metadata omits the documented jq dependency.
目的
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.
说明范围
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.
安装机制
No install spec is present (instruction-only plus one script). Nothing is downloaded or installed by the skill itself.
证书
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.
持久
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.
综合结论
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-…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Get Focus Mode」。简介:Get the current macOS Focus mode。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/nickchristensen/get-focus-mode/SKILL.md
(来源:yingzhi8.cn 技能库)
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