Setup
Verify desktop-notification hook prerequisites and per-OS channel configuration (check, read-only), or resolve findings (apply).
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Pre-computed context
check's node and jq probes and OS-family detection ran at load time. Read these rows instead
of re-issuing them. The node and jq rows show the tool's path, or absent when missing; the
uname -s row shows the kernel name, or unknown when it fails to run:
node: !command -v node 2>/dev/null || echo absentjq: !command -v jq 2>/dev/null || echo absentuname -s: !uname -s 2>/dev/null || echo unknown
A row reading [shell command execution disabled by policy] carries no result: run that probe via
Bash instead.
- Pointer: for the placeholder a skipped load-time command leaves, fetch skills § Inject dynamic context live.
- As of: 2026-11-11
- Recheck trigger: the placeholder text changes.
Purpose
Thin check-centric setup per the uniform setup contract (docs/plugin-philosophy.md
"Setup is explicit and repeatable" in the marketplace repository): check inspects and
reports, apply resolves. This plugin owns no consumer-project configuration. The only
tunables are the five native userConfig toggles (master, one per channel, mod-toast forwarding), and every
remaining prerequisite is a system tool or an OS package. So apply is pure
guidance-and-verify with no write path: it installs nothing and edits nothing.
Action routing: no argument or check runs the check; apply runs the check first, then
offers the resolution for each finding. Both are non-interactive. Never prompt when the
action is given.
check (read-only)
The hook script and the shared library it sources are the single source of truth for what this
plugin requires and how it degrades: ${CLAUDE_PLUGIN_ROOT}/hooks/desktop-notification.sh and
${CLAUDE_PLUGIN_ROOT}/hooks/hook-utils.sh.
Read it first. Probe what it actually does, don't recite this file. Then read the pre-computed
node, jq and uname -s rows, run the remaining probes via Bash, and report a PASS/FAIL/INFO table with
one remediation line per FAIL. Do not modify anything.
Read each option value from this text; never put a ${user_config.*} string in a shell command.
Open plugin files by the ${CLAUDE_PLUGIN_ROOT} paths this skill names; never Glob or Grep the plugin directory.
An installed plugin runs from a deeply nested cache path, and a search passed that path can fail
to start on some hosts because the path is too long, while reading a named file still works.
When the plugin's toggle is disabled, every prerequisite absence except Node.js (step 3)
downgrades from FAIL to INFO. The hook exits through its enabled-gate before probing anything, so
a deliberately disabled plugin is not broken. Report the probes informationally and note that
re-enabling restores the FAIL semantics. A missing Node.js stays FAIL in either state: every hook
row launches node, and the gate runs only after hooks/exec-bash.mjs starts.
- Bash version. Check
${BASH_VERSION}against the hook's documented floor (README Requirements: Bash 3.2+). INFO when below 5.0:EPOCHREALTIMEis unset there, so the opt-in telemetry envelope is skipped while notifications still fire, a degrade, not a failure. jq. The pre-computedjqrow. FAIL if absent: without it the hook can neither classify the notification nor emit its terminal sequence, so it drops every notification without a notice. This check is where a missing jq surfaces: the hook cannot report it to the user or the model. Pointer: Notification.- Node.js. The pre-computed
noderow. FAIL if absent: every hook row launches throughnode hooks/exec-bash.mjs, so without it the hook does not launch and no notification fires. The probe runs through the Bash tool, so it works when the launcher cannot. Remediation: install Node.js fromhttps://nodejs.org/en/download, or from the platform package manager. Node is a prerequisite separate from Claude Code. Pointer: Install with npm and Exec form and shell form. - Per-OS
os_toastdependency. Take the current OS family from the pre-computeduname -srow and probe only that family's requirement (the hook'scase "$(uname -s)"does exactly this):- Linux.
command -v notify-send(libnotify). FAIL only if theos_toastchannel is enabled and it is absent; otherwise INFO. Absent → theos_toastchannel is a documented silent no-op; remediation is the missing-notify-sendentry underapply. The terminal channels are unaffected. - macOS (Darwin). INFO:
osascriptis built-in, no dependency. Note the first toast prompts to allow notifications for the terminal app. - Windows / other. INFO: the hook has no
os_toastbranch on this platform (a fire-and-fo
- Linux.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(uname -s*) - 02
Bash(command -v node*) - 03
Bash(command -v jq*)
FAQ
Что делает скилл Setup?
Verify desktop-notification hook prerequisites and per-OS channel configuration (check, read-only), or resolve findings (apply).
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…