Command Palette

Search for a command to run...

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

Audit

If update-config resolves in this session, prefer it to change settings; this skill audits settings.json, settings.local.json, .mcp.json, hooks, plugins…

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

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

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

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

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

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

Audit

Arguments. [--fix] [permissions|mcp|hooks|plugins|issues|effort-pins|all]. default: all

Pre-computed context

Claude Code version: !claude --version 2>/dev/null || echo "unknown"

Purpose

Periodic audit of Claude Code configuration files against current official documentation and the consuming project's own conventions: are our settings correct, secure, complete, and up to date?

Adapting to your environment (graceful degrade)

Where a phase names an adjacent capability, such as a Claude Code issue-tracking skill or a hook plugin's coverage manifest, treat it as optional: use it when your setup provides it, otherwise follow the inline guidance here. Project-specific conventions (required permission patterns beyond the baseline, documented reasons for disabled servers, launcher-script wrappers) come from the consuming repo's own CLAUDE.md (or the AGENTS.md a session reads natively, whether in place of a CLAUDE.md or alongside one) and .claude/rules/. Read them when present; never assume them.

Neighboring questions belong elsewhere: the sibling audit-automation-gaps skill asks whether the configured automation SET is the right set (landscape gaps); the audit skill in the harness-memory plugin audits the instruction layer (CLAUDE.md / a natively read AGENTS.md / rules / auto-memory). This skill asks whether the configuration FILES are correct against upstream truth.

Arguments

Parse $ARGUMENTS for:

  • --fix: Apply corrections automatically (with user confirmation per fix). Without this flag, report-only mode
  • Scope filter: Limit audit to a single category. If omitted, run all categories
    • permissions: deny/ask/allow rules, security gaps
    • mcp: MCP server definitions, commands, env vars, connectivity
    • hooks: hook scripts exist, timeouts, matchers
    • plugins: enabled/disabled status, marketplace availability
    • issues: recheck known GitHub issues only (Category J and Phase 3.2)
    • effort-pins: run only the effort-pin drift check (Phase 3) and report its lines verbatim; no engine run and no fixes
    • all: run everything (default)

Division of labor: the engine decides, the model judges

scripts/audit-engine.sh settles every row a script can decide without a reading and emits one JSON document plus a findings file. The model never re-derives a row the engine settled; it reads the document and does only what needs judgment:

Engine (deterministic, emitted once) Model (judgment, on the engine's output)
A: $schema presence and URL, misplaced mcpServers, personal hooks in the local file, whether each top-level key and each key inside an object the page documents children of (such as permissions, sandbox, worktree or statusLine) is documented or deprecated on the fetched settings-reference (the installed binary settles an undocumented one), and the A/consent-receipt label for an undocumented top-level key reference/consent-receipts.json records (gates in validation-categories.md Category A) A: nothing
B: presence of each baseline pattern, deny rules in the local file, blanket Bash(git *), the allow-completeness rows at info, narrowing 3 where a hook plugin ships a coverage manifest, suppression-record matching B: narrowings 1 and 2 (a documented exemption, a documented hook convention), narrowing 3 for hooks with no manifest, the consuming repo's extra required patterns
C: command resolution, ${VAR} syntax, URL shape, enableAllProjectMcpServers, enabled/disabled coverage and name validity C: documented reasons for disabled servers, launcher-wrapper conventions
D: path resolution and readability, event names against the fetched hooks page, millisecond-shaped timeouts, matcher class and anchoring, placeholder quoting in shell form, duplicates, lever state, cache-versus-loaded divergence D: whether a timeout is reasonable for its tool, exec-form resolution on a Windows-targeting repo
E: marketplace membership, every false key as an inventory row (a finding only when an enabled plugin depends on it), ORPHAN / RENAME / REMOVED drift, catalog plugins with no entry in any scope as one inventory row per marketplace, keys the drift check did not diff, strict versus plugin.json E: the fix for a disabled dependency, orphan-true review, rename confirmation
F: token-shaped values, documentation status against the fetched env-vars page F: whether an undocumented custom variable is justified
G: the measurement, read from an existing debug log; skillOverrides keys that name a known plugin (inert, warning), colon keys whose prefix names no plugin (skip), and entries in the user dir's settings.local.json (info) G: the levers, scoped to the roster's composition, and what an undecided colon key names
H and I: every value check; the accepted effortLevel and disableDeepLinkRegistration values, the version enforceAvailableModels req
Полный SKILL.md на GitHub

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

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

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

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

  • context/fix.md
  • context/procedures.md
  • context/validation-categories.md
  • evals/evals.json
  • reference/audit-checklist.md
  • reference/consent-receipts.json
  • reference/doc-citations.tsv
  • reference/effort-table.baseline
  • reference/known-issues.md
  • reference/native-update-config.md
  • reference/required-permissions.md
  • scripts/audit-engine.sh
  • scripts/audit-engine.test.sh
  • scripts/check-doc-citations.sh
  • scripts/check-doc-citations.test.sh
  • scripts/check-effort-pins.sh
  • scripts/check-effort-pins.test.sh
  • scripts/check-hook-coverage.sh
  • scripts/check-hook-coverage.test.sh
  • scripts/check-plugin-drift.sh
  • scripts/check-plugin-drift.test.sh
  • scripts/check-structure.sh
  • scripts/check-structure.test.sh
  • scripts/fix-plugin-drift.sh
  • scripts/fix-plugin-drift.test.sh
  • templates/checklist.md

FAQ

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

If update-config resolves in this session, prefer it to change settings; this skill audits settings.json, settings.local.json, .mcp.json, hooks, plugins, permissions, env vars (correctness, security, drift vs official docs; --fix confirms auto-fix). Use when: 'audit settings', 'check config', 'check for config drift', after Claude Code update.

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

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

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

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

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

Сравнить Audit с