Audit Instructions
If claude-api resolves in this session, prefer it for app prompts; this skill audits Claude Code instructions (CLAUDE.md, AGENTS.md, rules, skills, agents…
от melodic-software★ 34 звезды на GitHub
Установить Audit Instructions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Audit instructions
Purpose
Audit whether the instructions you have written for Claude Code are still earning their context cost against current model capability. As models improve, prior-model-era scar tissue accretes: workarounds for mistakes the model no longer makes, prescriptive step lists that now constrain more than they help, bare prohibitions, and show-your-thinking directives. This skill sweeps the locally-owned instruction surfaces, cites each finding to current official prompting doctrine, tiers it by how confident the evidence can be, and packages proposed removals or rewrites as a human-gated diff, so instruction surfaces shrink as models get better instead of only ever growing.
The check catalog, covering the checks I1–I42, their evidence tier, authority tag, severity,
per-surface applicability, and the OPINION-tier enablement policy, lives in
reference/criteria.md; the deterministic pre-scan is ${CLAUDE_PLUGIN_ROOT}/skills/audit-instructions/scripts/instruction-scan.sh.
One check has a different unit of judgment, do two surfaces contradict each other, and Phase B2
answers it against reference/conflict-criteria.md.
Every context/, reference/ and scripts/ path below, linked or bare, is under ${CLAUDE_PLUGIN_ROOT}/skills/audit-instructions/. Open this plugin's own files by the ${CLAUDE_PLUGIN_ROOT} paths this skill names, one Read each, never a shell read (cat, sed or head) and never a Glob or Grep of the plugin directory: the paths are already known, a sandbox can deny a Glob or Grep on the plugin directory and invalidate the run, and a recursive search of the plugin cache that a subagent abandons can leave an orphaned grep process pinning a CPU on Windows.
Read-only contract
This skill is report-only. There is no --fix: instruction files are the operator's voice, so
every change is applied by the human (or explicitly delegated afterward), never by this skill.
Diffs are proposed artifacts. A clean audit is a valid outcome.
disallowed-tools: Edit, NotebookEdit narrows the surface; it does not make the contract
mechanical. Write stays for lane reports and the Phase D report under runs/<state-key>/<run-id>/,
and Bash for the pre-scans, lane-runs.sh, the run-state.sh lease writes under runs/, and
Phase D's persist-report.sh. Either can mutate a file this skill has already read, so
this is an instruction-held contract with a narrowed accident surface, not an enforced one. Never
describe it to an operator as a guarantee. We treat the restriction as clearing on the operator's
next message, so whoever accepts a diff can apply it (Pointer: the
skills frontmatter reference). audit-prompting-postures carries the identical declaration and caveat: both state one contract.
Scope boundary (route out)
This skill owns instruction content vs current model capability. It does not own the adjacent concerns its siblings already cover, so route rather than re-answer:
- Posture guidance that is absent and needed is
harness-config:audit-prompting-postures(same plugin), the additive lane to this one. This skill judges instruction text that is present and wrong; that one proposes text the official prompting guide says a component's purpose needs and the component does not carry. Neither finds the other's defects, so a sweep that wants both runs both, and a request phrased as "what guardrails is this skill missing" belongs there, not here. - Structural skill lint (frontmatter, line caps, broken refs) is
skill-quality:check. - Token brevity for its own sake is
docs-hygiene:compress. - Config-file mechanics (settings.json, .mcp.json, hooks wiring) is
harness-config:audit; grant portability isharness-config:audit-permission-grants. - The empirical bare-baseline experiment, stripping the surfaces, observing the bare model, and
re-adding on repeated stumble evidence, is
unhobble(same plugin): this skill judges instruction text against doctrine; unhobble measures the model.
On memory-layer surfaces (CLAUDE.md, a natively read AGENTS.md, CLAUDE.local.md,
.claude/rules/, and rules/ under the user root Phase A resolves), this skill runs only the
model-era checks I6–I39. It never runs or reports the hygiene checks I1–I5 (line-necessity, length,
placement, inferable content, rule-to-hook) on these surfaces; that layer belongs to the
harness-memory plugin. When it is enabled, route memory-layer hygiene to its audit skill; when
it is not, emit a single one-line pointer to the official CLAUDE.md include/exclude guidance
(recorded with I1–I5 in reference/criteria.md). Either way, no I1–I5
hygiene finding is ever produced here. On non-memory surfaces (skill bodies, agent definitions,
hook instruction text, output styles) the catalog applies, since no incumbent audit
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- context/multi-repository.md
- context/no-dispatch.md
- context/persist-findings.md
- context/phase-a-inventory.md
- context/report-keying.md
- evals/evals.json
- reference/bundled-claude-api.md
- reference/conflict-criteria.md
- reference/criteria.md
- reference/finding-identity.md
- reference/native-doctor.md
- scripts/conflict-scan.sh
- scripts/conflict-scan.test.sh
- scripts/emit-findings.sh
- scripts/emit-findings.test.sh
- scripts/finding-ids.sh
- scripts/finding-ids.test.sh
- scripts/instruction-scan.sh
- scripts/instruction-scan.test.sh
- scripts/lane-runs.sh
- scripts/lane-runs.test.sh
- scripts/restatement-scan.py
- scripts/restatement-scan.test.sh
- scripts/test-helpers.sh
FAQ
Что делает скилл Audit Instructions?
If claude-api resolves in this session, prefer it for app prompts; this skill audits Claude Code instructions (CLAUDE.md, AGENTS.md, rules, skills, agents, hooks) report-only for stale/conflicting text. Use when: 'audit instructions', 'too prescriptive', 'which instruction wins'. Not for missing text: /harness-config:audit-prompting-postures.
Как установить скилл Audit Instructions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Audit Instructions запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…