Audit
Audit workstation/system health: OS-specific checks (disk, updates, security posture, CISA KEV), versioned catalog, trend severity; pre-approved remediation…
от melodic-software★ 34 звезды на GitHub
Установить Audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
machine-health
Overview
This skill performs a scheduled (monthly) or on-demand workstation health audit with a fail-safe posture: surface issues over silently fixing them. Findings always include reproduction commands so the human can rerun the check outside the skill. Remediations are narrow, logged, and only attempted when the OS-specific remediation-policy.md authorizes them. Trend adjusts severity upward only: a worsening metric or a repeat across runs can raise WARN to CRIT, and nothing lowers a reading later. A first run has no history, so every finding in it is a single, unmoderated reading. A custom check from the catalog overlay is capped at WARN until it has reported clean in 3 runs.
The skill is stateless about scheduling and never creates a scheduled task. A scheduled task or an ad-hoc /machine-health:audit invocation calls into it; /machine-health:setup schedule creates the monthly task, only on the owner's yes.
Progressive disclosure by OS. The skill detects the host OS and loads only matching references and scripts. Windows is fully implemented. macOS and Linux are scaffolded as not-implemented.md stubs so they can be populated in future passes without restructuring.
Resolving output locations (do this first)
Two roots, resolved through the plugin's configuration seams:
| Root | Holds | Resolution |
|---|---|---|
Report root (-OutputBase) |
reports/, the human-facing dated reports |
${user_config.report_dir} when set to a non-empty path; if it is empty or still shows an unexpanded ${user_config.report_dir} token (option unset), default to $env:USERPROFILE\Documents\MachineHealth |
State root (-StateBase) |
state/ (history, latest snapshot, approvals), logs/, catalog overlay, custom checks, TODO.md proposals |
${CLAUDE_PLUGIN_DATA}, the per-plugin data directory that survives plugin updates, passed explicitly when the token expands. If it is unexpanded, do not fall through to the orchestrator's environment ladder: a subprocess inherits whichever plugin's CLAUDE_PLUGIN_DATA its parent process already carried, so a skill-invoked tool can inherit an unrelated installed plugin's value and write this plugin's state/, logs/, and catalog overlay into that plugin's directory. Use the report root as the state root instead (the roots block below does). Colocating state with the reports is wrong-but-visible, where the inherited variable is wrong-and-silent. Report that the plugin-specific root could not be resolved. Never substitute a literal path: the data directory is not named for the plugin alone, so a guessed path names a different directory and splits state from the overlay |
Observed behavior: CLAUDE_PLUGIN_DATA is present in the environment of commands run through the Bash tool, and on a host with several plugins installed it can hold a different plugin's data directory. No command here reads it: the roots block takes the substituted token text.
- Pointer: which processes receive the plugin variables is in Where each variable resolves, and how the data directory is named is in Environment variables. Probe: the observation came from printing
CLAUDE_PLUGIN_DATAin a subagent's Bash tool on a host with several plugins installed, which showed another plugin's data directory; no probe script is recorded, so rerun that step to recheck. As of: 2026-10-11. Recheck trigger: the first section changes whether the Bash tool receives the variables, the second changes how the directory is named, or a rerun of the probe findsCLAUDE_PLUGIN_DATAabsent from a Bash-tool environment.
Pass both explicitly to the orchestrator, as $reportRoot and $stateRoot from the roots block. Never write generated state into the plugin's own install directory. A plugin update replaces it.
Roots block. Every PowerShell command in this skill is this block, copied unchanged, with the
command appended to its last line after a semicolon. 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 quote can follow, so no character in a path
reaches the parser as code. The block applies the resolution table above, including both
fallbacks. A root holding a line break is not a path: stop and report it.
$skillRoot, $stateRoot, $reportRoot = @'
|${CLAUDE_PLUGIN_ROOT}/skills/audit
|${CLAUDE_PLUGIN_DATA}
|${user_config.report_dir}
'@ -split '\r?\n' | ForEach-Object { $_.Substring(1) }; $unset = '^(\$\{|[ \t]*$)'; if ($reportRoot -match $unset) { $reportRoot = Join-Path $env:USERPROFILE 'Documents\MachineHealth' }; if ($stateRoot -match $unset) { Write-Warning 'The plugin data folder did not resolve; state goes under the re
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- AGENTS.md
- CLAUDE.md
- README.md
- TODO.md
- catalog/checks.jsonc
- catalog/cisa-kev.json
- catalog/schemas/approvals.schema.json
- catalog/schemas/check-result.schema.json
- catalog/schemas/checks.schema.json
- catalog/schemas/mutes.schema.json
- reference/linux/not-implemented.md
- reference/macos/not-implemented.md
- reference/shared/approvals.md
- reference/shared/catalog-overlay.md
- reference/shared/correlation-rules.md
- reference/shared/discovery-guide.md
- reference/shared/output-schema.md
- reference/shared/remediation-philosophy.md
- reference/shared/report-template.md
- reference/shared/sdk-eol-table.json
- reference/shared/severity-rubric.md
- reference/shared/testing.md
- reference/windows/check-catalog.md
- reference/windows/drive-root-baseline.jsonc
- reference/windows/elevation-matrix.md
- reference/windows/remediation-policy.md
- scripts/build-checkup-view.mjs
- scripts/linux/not-implemented.md
- scripts/macos/not-implemented.md
- scripts/run-tests.ps1
- scripts/windows/Format-ShortReport.ps1
- scripts/windows/Get-ResearchCandidate.ps1
- scripts/windows/Invoke-MachineHealthCheck.ps1
- scripts/windows/checks/Test-AppLastUse.ps1
- scripts/windows/checks/Test-BackupStatus.ps1
- scripts/windows/checks/Test-Battery.ps1
- scripts/windows/checks/Test-BrowserExtensions.ps1
- scripts/windows/checks/Test-CertExpiry.ps1
- scripts/windows/checks/Test-ClaudeTempRoot.ps1
- scripts/windows/checks/Test-ContainerDiskUsage.ps1
FAQ
Что делает скилл Audit?
Audit workstation/system health: OS-specific checks (disk, updates, security posture, CISA KEV), versioned catalog, trend severity; pre-approved remediation only. Dated markdown report + append-only history (Windows; macOS/Linux UNKNOWN). Use when: 'machine health check', 'audit my machine', 'workstation status report', or scheduled monthly task.
Как установить скилл Audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…