Command Palette

Search for a command to run...

Back to skills
skill № 33191

Setup

Check-only setup: verifies Node, Claude Code CLI, and optional Agent SDK for context-budget, printing remediations without installing or writing.

FreeNo executable scripts
melodic-softwareby melodic-software★ 34 GitHub stars

Install Setup in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

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 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.

  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:

    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:

    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
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

  1. 01Bash(node --version*)
  2. 02Bash(claude --version*)
  3. 03Bash(command -v node*)
  4. 04Bash(command -v claude*)

FAQ

What does the Setup skill do?

Check-only setup: verifies Node, Claude Code CLI, and optional Agent SDK for context-budget, printing remediations without installing or writing.

How do I install the Setup skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Setup skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare Setup with