skills/neuroskill-dnd/SKILL.md
NeuroSkill Do Not Disturb automation — EEG-driven focus detection that activates OS-level DND and optional grayscale display when sustained attention exceeds a threshold. Shows rolling average, sample window, and OS state. Supports force-override on/off. Use when managing focus-based DND automation, grayscale mode, or checking DND status.
npx skillsauth add neuroskill-com/skills neuroskill-dndInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When calling these commands via the LLM skill tool, use command + args:
{"command": "dnd"}
{"command": "dnd_set", "args": {"enabled": true}}
Show Do Not Disturb automation status, or force-override it.
With no subcommand, shows the full DND config and live state: automation enabled/disabled, focus threshold, rolling average score, sample window fill, and OS-level Focus state.
With on or off, immediately activates or deactivates DND, bypassing the EEG threshold.
Optional grayscale display mode switches the screen to grayscale when DND activates and restores color when it deactivates (macOS only, off by default). Reduces visual distraction during deep work.
npx neuroskill dnd # show config + live eligibility state
npx neuroskill dnd on # force-enable DND (bypass EEG threshold)
npx neuroskill dnd off # force-disable DND
npx neuroskill dnd --json # raw JSON (pipe to jq)
npx neuroskill dnd --json | jq '{enabled: .enabled, avg_score: .avg_score, threshold: .threshold}'
# Status:
curl -s -X POST http://127.0.0.1:8375/ \
-H "Content-Type: application/json" \
-d '{"command":"dnd"}'
# Force on:
curl -s -X POST http://127.0.0.1:8375/ \
-H "Content-Type: application/json" \
-d '{"command":"dnd_set","enabled":true}'
# Force off:
curl -s -X POST http://127.0.0.1:8375/ \
-H "Content-Type: application/json" \
-d '{"command":"dnd_set","enabled":false}'
⚡ dnd automation status
DND automation
enabled yes
threshold 60 avg focus score (0–100) required to activate
window 60s (~240 samples at ~4 Hz)
mode standard
Rolling average (avg of last 240 focus scores)
████████████████████░░░░ 72.5 / 60
▶ above threshold — DND is active
Sample window
████████████████████████ 240 / 240 samples
State
app activated yes (this app set DND)
OS active yes (macOS Assertions.json / defaults read)
{
"command": "dnd",
"ok": true,
"enabled": true,
"threshold": 60,
"duration_secs": 60,
"window_size": 240,
"mode_identifier": "standard",
"avg_score": 72.5,
"sample_count": 240,
"dnd_active": true,
"os_active": true
}
--full or --json)| Field | Type | Contents |
|---|---|---|
| avg_score | number | Current rolling average focus score (0–100) |
| sample_count | number | How many focus score samples have been collected |
| window_size | number | Target number of samples for the rolling window |
| mode_identifier | string | DND automation mode identifier |
| dnd_active | boolean | Whether this app activated DND |
| os_active | boolean | Whether the OS reports DND as active |
| grayscale | boolean | Whether grayscale display is enabled alongside DND (macOS only) |
tools
NeuroSkill EEG API transport layer — WebSocket and HTTP protocols, port discovery, Quick Start, output modes (default/--json/--full), and global CLI flags. Use when setting up a connection, choosing transport, or understanding output format options.
development
NeuroSkill `say`, `listen`, `notify`, `calibrate`, `calibrations`, `timer`, and `raw` commands — on-device TTS speech, real-time WebSocket event streaming, OS notifications, calibration profile management, focus timer, and raw JSON passthrough. Use when streaming live EEG events, speaking text aloud, sending alerts, starting calibration, or sending arbitrary commands.
development
NeuroSkill `status` command — full system snapshot including device state, signal quality, EEG scores, band powers, ratios, embeddings, labels (with top texts), app usage (top apps by time), screenshots (OCR counts + top apps), hooks summary, sleep summary, and recording history. Use when checking current EEG state, device connection, session metadata, what apps were used, or screenshot statistics.
testing
NeuroSkill `sleep` and `umap` commands — EEG-based sleep stage classification (Wake/N1/N2/N3/REM) with efficiency and bout analysis, and 3D UMAP projection of session embeddings for spatial comparison. Use when analysing sleep quality or visualising neural state separation between sessions.