Setup
Check-only setup: verifies Node, Claude Code CLI, and optional Agent SDK for context-budget, printing remediations without installing or writing.
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Pre-computed context
check's node, Claude Code CLI and Agent SDK probes ran at load time; read these rows instead
of re-issuing them. A path row shows the resolved path or absent; a version row shows what the
first PATH match reports, or unavailable when none resolves or it fails to run; the SDK row
shows present, absent, or unavailable when the plugin data directory cannot be read:
node: !command -v node 2>/dev/null || echo absentnode --version: !node --version 2>/dev/null || echo unavailableclaude: !command -v claude 2>/dev/null || echo absentclaude --version: !claude --version 2>/dev/null || echo unavailable- Agent SDK: !
d="${CLAUDE_PLUGIN_DATA}/sdk/node_modules/@anthropic-ai/claude-agent-sdk"; if [ -d "$d" ]; then echo present; elif [ -r "${CLAUDE_PLUGIN_DATA}" ]; then echo absent; else echo unavailable; fi
A node or claude row reading [shell command execution disabled by policy] carries no result:
run that probe via Bash instead. The SDK row is never re-probed: read it as unavailable.
- 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
Check-only setup under the Check-only carve-out (docs/plugin-philosophy.md "Setup is explicit
and repeatable" in the marketplace repository). Every prerequisite is external (node, the
Claude Code CLI the engine measures, the optional @anthropic-ai/claude-agent-sdk for exact
mode), and its option is a native userConfig value stored only in pluginConfigs, which setup
may not write. So check inspects, reports and points at each remediation, and there is no
apply.
No argument or check runs the check. Non-interactive; never prompts.
check (read-only)
What this plugin requires is owned by
${CLAUDE_PLUGIN_ROOT}/skills/audit/SKILL.md § Prerequisites and the header
of ${CLAUDE_PLUGIN_ROOT}/skills/audit/scripts/measure.mjs. Open both with the Read tool,
the section and the top of measure.mjs. Read it first, and do not copy it
into the report as a second inventory. Then read the pre-computed rows, run the remaining probes,
and report a PASS/FAIL/INFO table with one remediation line per FAIL. Modify nothing; install
nothing.
nodeonPATH: report the resolved path and version. It is the one hard prerequisite: the measurement engine is a Node script, so withoutnode/context-budget:auditstops rather than estimating. FAIL when absent.- The Claude Code CLI: PASS when one resolves; report its absolute path and version, the
stamp that makes an audit report a claim. INFO when two installs are present (the audit asks
which to pin). FAIL when none resolves and the operator has no
--binarypath to name. @anthropic-ai/claude-agent-sdk(optional): read the pre-computed Agent SDK row; never probe${CLAUDE_PLUGIN_DATA}yourself, or run the audit or its engine to resolve that row. Present: INFO, exact mode available. Unavailable: INFO, SDK state unknown; the row is final. Absent: INFO, not a defect. Absent or unavailable: the engine degrades to parsing headless/contextoutput (state both caveats: display-rounded, on an undocumented surface), and to a structured error rather than a wrong number when neither mode works.- The settings-write ask (INFO): it ships in guardrails, not here. Say that it runs only when
the guardrails plugin is enabled, that without it
/context-budget:audit fixand any other file-editing write to a settings file go through with no ask, and giveclaude plugin enable guardrails@<marketplace>.
Remediation guidance (printed by check; the operator applies it)
Close by pointing at each resolution. A rerun after everything passes changes nothing and reports "already configured".
Missing
node: the platform's own install channel (https://nodejs.org/en/download). This plugin never downloads a runtime.Missing CLI: install the Claude Code CLI, or run the audit with an explicit
--binarypath.Exact mode wanted: print this one-time install, marked as the operator's. It needs network access, so offer it and never run it:
mkdir -p "${CLAUDE_PLUGIN_DATA}/sdk" && npm install --prefix "${CLAUDE_PLUGIN_DATA}/sdk" @anthropic-ai/claude-agent-sdkOn Windows, print this PowerShell form instead:
New-Item -ItemType Directory -Force -Path "${CLAUDE_PLUGIN_DATA}\sdk" | Out-Null; npm install --prefix "${CLAUDE_PLUGIN_DATA}\sdk" @anthropic-ai/claude-agent-sdk <!-- portability-ok: Windows path, not a shell regex -->
Next
/context-budget:audit
It takes the stamped baseline once check passes.
What this skill does not do
- Measure, attribute, ledger or invoke the audit, even when asked: rou
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(node --version*) - 02
Bash(claude --version*) - 03
Bash(command -v node*) - 04
Bash(command -v claude*)
FAQ
Что делает скилл Setup?
Check-only setup: verifies Node, Claude Code CLI, and optional Agent SDK for context-budget, printing remediations without installing or writing.
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…