Audit
Read-only: audits existing enforcement surface (hooks, agent instructions, CI lanes, gate scripts, branch protection, forge apps, integrations) for mechanisms…
от melodic-software★ 34 звезды на GitHub
Установить Audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Audit
Arguments. [--unattended] [--medium <value>] [layer ...] [--repo <repo> ...]. Layer: agent-hooks|agent-instructions|repo-hooks|vcs-hooks|ci-lanes|gate-scripts|satellite-workflows|branch-protection|forge-apps|external-integrations|all (default: all). --medium governs only the rendered-view offer (report-template.md, Layer 3).
Repository context. Gather first
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
- Branch,
git symbolic-ref --quiet --short HEAD - Shallow clone,
git rev-parse --is-shallow-repository
Purpose
Walk the enforcement surface that governs work in this repository, or in each repository a target form names ("Over several repositories"), and report which mechanisms still earn their carry cost. Every incumbent is a retirement candidate until evidence earns its keep, and silence is not evidence in either direction.
Which automation is missing is a question for /harness-config:audit-automation-gaps (if enabled). Route a gap that
surfaces mid-walk there when that plugin is enabled; otherwise record it in the findings artifact
as an observation for the human. This walk never proposes new automation.
The surface is everything that governs work here, wherever it is registered, including settings scopes merged from outside the tree and forge controls in a control plane. Out-of-repo items are audited like any other; only their remediation changes, to a delegation (§12).
Read ${CLAUDE_PLUGIN_ROOT}/context/scrutiny-method.md before judging anything and cite its sections
in findings rather than paraphrasing them: the verdict ladder (§6), evidence tiers (§2), the three
liveness questions (§3), intent reconstruction (§4), rediscovery (§5), protected classes and their
cap (§7), UNPROVEN triage (§8), analogical thresholds (§9), scope boundary (§10), rollback ladder
(§11), ownership (§12). Every bare §N in this skill and its context files is a section of that
document. Shared docs sit under ${CLAUDE_PLUGIN_ROOT}/context/ and ${CLAUDE_PLUGIN_ROOT}/reference/;
this skill's own docs sit under ${CLAUDE_PLUGIN_ROOT}/skills/audit/context/.
Read-only contract
This skill reports only. It never mutates the surface it walks. No hook disabled, no workflow edited, no gate script deleted, no setting changed, no branch rule touched, not even a formatting fix in a file it read.
The one write is the findings artifact, at the memory-tier home
${CLAUDE_PLUGIN_ROOT}/context/findings-artifact.md "Where it lives" defines, a self-ignored scratch
root outside tracked content. Immediately after resolving the home (step 1 of "Before the walk"),
and before any layer is walked, say: "Read-only pass; the only file written is the findings artifact
at <resolved path>."
A run with no branch identity writes nothing at all, and says instead: "Read-only pass; no branch identity resolved, so no findings artifact is written." See "A detached checkout has no branch identity".
Writing the artifact from a delegated run. Our route for a delegated run, chosen so a refused
write to a report-shaped filename does not stop the run: write the full content with the file-write
tool to a neutral filename in the artifact's directory, then rename it to the contract filename. An
--unattended run takes this route from its first write; an attended run writes the contract filename
directly and switches at the first refusal. The route covers every write of the artifact, each
per-layer checkpoint included. Never write the artifact's content through the shell. Where
neither route is available, say so and stop.
One auxiliary write is sanctioned: the once-per-session self-ignore guard, creating the memory
root's own .gitignore (announced) when absent, never the consumer's root .gitignore. Nothing else
is written.
Executing a finding belongs to overengineering:realign, behind an explicit per-item human gate.
Name it as the next step; never start it unasked.
Arguments
Parse $ARGUMENTS, after taking out --unattended wherever it appears:
- Layer scope: one or more of the ten enforcement layers in
${CLAUDE_PLUGIN_ROOT}/context/findings-artifact.md's vo
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- context/report-template.md
- context/surface-walk.md
- evals/evals.json
FAQ
Что делает скилл Audit?
Read-only: audits existing enforcement surface (hooks, agent instructions, CI lanes, gate scripts, branch protection, forge apps, integrations) for mechanisms not earning their keep; security-class items cap at flag-for-human. Use when asking whether CI, hooks or gates are overengineered or 'still earn their keep'. Not for proposing new automation.
Как установить скилл Audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…