Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/melodic-software-setup-1cffd112)
---
description: "Check-only setup: verifies Node, Claude Code CLI, and optional Agent SDK for context-budget, printing remediations without installing or writing."
argument-hint: "[check]"
user-invocable: true
disable-model-invocation: true
allowed-tools:
- "Bash(node --version*)"
- "Bash(claude --version*)"
- "Bash(command -v node*)"
- "Bash(command -v claude*)"
shell: bash
---
# 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 absent`
- `node --version`: !`node --version 2>/dev/null || echo unavailable`
- `claude`: !`command -v claude 2>/dev/null || echo absent`
- `claude --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](https://code.claude.com/docs/en/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`](../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.
1. **`node` on `PATH`**: report the resolved path and version. It is the one hard prerequisite:
the measurement engine is a Node script, so without `node` `/context-budget:audit` stops
rather than estimating. FAIL when absent.
2. **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 `--binary` path to name.
3. **`@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
`/context` output (state both caveats: display-rounded, on an undocumented surface), and to a
structured error rather than a wrong number when neither mode works.
4. **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 fix` and any other
file-editing write to a settings file go through with no ask, and give
`claude 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 `--binary` path.
- **Exact mode wanted:** print this one-time install, marked as the operator's. It needs network
access, so offer it and never run it:
```shell
mkdir -p "${CLAUDE_PLUGIN_DATA}/sdk" && npm install --prefix "${CLAUDE_PLUGIN_DATA}/sdk" @anthropic-ai/claude-agent-sdk
```
On Windows, print this PowerShell form instead:
```powershell
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: route to `/context-budget:audit`.
- Install `node`, the CLI, or the Agent SDK.
- Write the plugin cache, Claude Code user settings, `pluginConfigs`, or any other settings
surface.