Command Palette

Search for a command to run...

Назад к скиллам
скилл № 96304

Setup

Configure machine-health locally: check (default), apply (overlay/approvals/mutes/services), picks (decision-page imports), schedule (monthly task).

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Setup

Arguments. [check|apply|picks|schedule] [disable=<check>|approve=<remediation>|exclude-service=<name>…]; the full set: [check|apply|picks|schedule] [disable=<check>|deprecate=<check>|demote=<check>|approve=<remediation>|revoke=<remediation>|review-check=<check>|unreview-check=<check>|unmute=<key>|exclude-service=<name>|include-service=<name>], picks followed by the pasted checkup-picks payload, or schedule.

Purpose

Inspect and customize /machine-health:audit on this host per the uniform setup contract (docs/plugin-philosophy.md "Setup is explicit and repeatable" in the marketplace repository): check reads the effective configuration and reports, apply writes it. The machine-local surface is the catalog overlay at <StateBase>/catalog/checks.local.jsonc, the remediation approvals at <StateBase>/state/approvals.json and the finding mutes at <StateBase>/state/mutes.json. Configuration here is machine-local by design. A workstation's check tuning does not belong in any repository. Idempotent: re-running reads the existing files and offers updates rather than overwriting blind.

Action routing: no argument or check runs the check; apply runs the check first, then applies the requested changes. When apply is given complete write arguments (disable=, deprecate=, demote=, approve=, revoke=, review-check=, unreview-check=, unmute=, exclude-service=, include-service=) it applies them non-interactively; with no arguments in an interactive session it runs the full interview below. Custom-check registration is inherently interactive (it authors a script) and always interviews. picks runs the check first, then the picks steps below; it needs an interactive session, because every write waits for the owner's yes. schedule runs the check first, then the schedule steps below; it too needs an interactive session, and creates nothing without the owner's yes.

Resolving the state root

<StateBase> is ${CLAUDE_PLUGIN_DATA}, the per-plugin data directory that survives plugin updates. Create it if missing.

There is no hardcoded fallback path, and inventing one is a defect rather than a safety net. The data directory is not named for the plugin alone, so any literal path written here resolves to a different directory than the one this plugin actually reads and writes. The overlay and approvals land in one place while the audit's state and logs live in another, each half looking complete to whoever wrote it, and the operator's disabled checks silently stop taking effect.

  • Pointer: how the data directory is named is in Environment variables.
  • Observed, not documented: a --plugin-dir session names the directory <name>-inline, and a hardcoded machine-health path split the overlay from the audit's state and logs on a real machine. Basis: this plugin's CHANGELOG.md, ## [0.7.0], the first ### Fixed entry. As of: 2026-10-11. Recheck trigger: check run in a --plugin-dir session prints a resolved path whose last segment does not end in -inline, or the Environment variables section above starts documenting --plugin-dir naming.

So when ${CLAUDE_PLUGIN_DATA} renders as the literal unexpanded token, stop at step 1 of check: report that the skill is running outside plugin context and cannot resolve its state root, run no further probe, and write nothing. Continuing would be worse than stopping. With the root unresolved, an absent overlay and an unreadable one are the same observation, so every verdict below would assert more than the evidence supports. apply refuses outright for the same reason: there is no root to write to. (This differs from /machine-health:audit, which passes a state root to an orchestrator that has its own documented fallback ladder; this skill reads and writes the overlay directly and has no such rung.)

Split-state-root report. Older installs may hold a stray root at the literal ~/.claude/plugins/data/machine-health; check reports a split when it finds one: probe that exact legacy path and any machine-health-* sibling of the resolved <StateBase>, and for each that exists and is not <StateBase>, name it and list what it holds. Only <StateBase> is read. Consolidating is the operator's move. Moving or deleting the stray root is a decision about their data, and this skill neither relocates nor removes files.

Roots block. Every PowerShell command in this skill that names a plugin path is this block, copied unchanged, with the command appended to its last line after a semicolon, run through the PowerShell tool. Never type a path into a quoted string. The three tokens are filled in as the pointer below records; each value lands on its own line inside a single-quoted here-string, behind a | that no closing q

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • reference/apply.md
  • reference/picks.md
  • reference/schedule.md
  • scripts/Install-MonthlyRun.ps1
  • templates/monthly-run.ps1

FAQ

Что делает скилл Setup?

Configure machine-health locally: check (default), apply (overlay/approvals/mutes/services), picks (decision-page imports), schedule (monthly task).

Как установить скилл Setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Setup запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Setup с