Audit
Audit markdown, commit message, PR body, interface copy for AI-writing tells (slop, unslop, AI-written, em dash, emoji, filler, hedge, promotional, vague…
от melodic-software★ 34 звезды на GitHub
Установить Audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Audit
Pre-computed context
Effective config: !"${CLAUDE_SKILL_DIR}/scripts/detect.sh" --show-config 2>&1
The output is unbounded on purpose: --show-config prints disabled_rules and every
rule_allowed_paths entry after the fixed lines, and those are the values that decide which
rules ran at all. A shell error in place of the config means the detector did not run. The line
is one command, the detector alone, which an allowed-tools grant names.
- Pointer: when changing this line or its grants, fetch https://code.claude.com/docs/en/skills#permission-checks-on-injected-commands live; the probe that found a zero-turn run under dontAsk is in https://github.com/melodic-software/claude-code-plugins/pull/6732.
Purpose
Detect and remove AI-writing tells in checked-in markdown prose, and in three kinds of text that
never sit in a markdown file: commit messages, pull request bodies, and interface copy (per
Commit messages, PR bodies and interface copy).
Two detection layers over one
rule inventory (reference/catalog.md, distilled from Wikipedia's
"Signs of AI writing", revision-pinned, plus the catalog's "General-prose additions" section
and its repo-owned, evidence-graded "Model-era additions" section of current-generation model
vocabulary):
- Deterministic:
${CLAUDE_SKILL_DIR}/scripts/detect.shruns the catalog'sv1: scriptrules. Its findings carry argued severity tiers (the detector-findings convention's crosswalk) and persist as a conforming findings file, which is how a consumer sees them and how they reach a surface that can rewrite them. Audit step 6 names which surface, and when. - Judgment rubric: the catalog's
v1: rubrictells, applied by reading the prose. Rubric findings reach the human report only, never the findings file.
Both layers sit behind the catalog's policy-level quotation exemption: no rule scans fenced code or inline code spans, wording rules also skip blockquotes and double-quoted spans, and typography rules (em dashes, emoji, paste residue, citation tokens, tracking params) still scan blockquotes and double-quoted spans. A document that quotes a wording tell to document it, and a changelog that backticks the phrase a fix removed, stay marker-free by construction.
A generated region, from a standalone <!-- BEGIN GENERATED: ... --> line through its
<!-- END GENERATED: ... --> line, belongs to the script the marker names. Neither layer audits
it and the fix flow never edits a byte inside it, rubric and voice rewrites included: that script
regenerates the region, and its drift check fails on a hand edit. Fix wording there in the
generator.
Action router
| Argument | Action |
|---|---|
(empty) or audit [target] |
Read-only audit (default). Empty target = repo-wide |
fix [target] |
Explicit fix pass over the target's findings (guarded; below). "Detect and rewrite" or audit fix chains audit then fix in one invocation |
audit or fix with --repo, --repos-from, --owner, --fleet or --skip |
The same action once per selected repository, per Several repositories; fix writes one pull request per repository |
audit user-scope [memory] |
Read-only audit of the user-level Claude Code markdown, per User-scope target |
fix user-scope [memory] |
Fix pass over that same file list, under the same rules |
audit or fix with commit [rev], pr-body, or copy <source files> |
A commit message, a PR body, or interface copy, per Commit messages, PR bodies and interface copy |
Audit flow
- Scope. A path argument narrows to that file or directory. Empty target = the repo's
tracked markdown minus config
excluded_paths. Order repo-wide work by impact class first (instruction surfaces:CLAUDE.md,AGENTS.md,.claude/rules/**,**/SKILL.md,README.md), then by change frequency (git log --since=90.days --name-onlycounts over tracked.md).rubric-fanout.sh planapplies this order to the rubric batches; the detector keeps its own path order, and ordering never changes inclusion. Inside a repository, a directory target expands to its tracked markdown only, so pass untracked in-repo files as file paths. Check the target first: a target outside any repository follows Non-repository targets, the literal targetuser-scopefollows User-scope target, andcommit,pr-bodyandcopyfollow Commit messages, PR bodies and interface copy. A target form runs this flow once per repository, per Several repositories. - Run the detector. Build the target list once:
detect.sh --list-targets <targets>, with its stdout redirected to a list file in the session
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(${CLAUDE_SKILL_DIR}/scripts/detect.sh:*) - 02
Bash("${CLAUDE_SKILL_DIR}/scripts/detect.sh":*) - 03
Bash(${CLAUDE_SKILL_DIR}/scripts/emit-findings.sh:*) - 04
Bash(${CLAUDE_SKILL_DIR}/scripts/emit-fix-record.sh:*) - 05
Bash(${CLAUDE_SKILL_DIR}/scripts/rubric-fanout.sh:*) - 06
Bash("${CLAUDE_SKILL_DIR}/scripts/rubric-fanout.sh":*) - 07
Bash(${CLAUDE_SKILL_DIR}/scripts/cross-check.sh:*) - 08
Bash("${CLAUDE_SKILL_DIR}/scripts/cross-check.sh":*) - 09
Bash(${CLAUDE_SKILL_DIR}/scripts/user-scope.sh:*) - 10
Bash("${CLAUDE_SKILL_DIR}/scripts/user-scope.sh":*) - 11
Bash(${CLAUDE_SKILL_DIR}/scripts/digest-guard.sh:*) - 12
Bash("${CLAUDE_SKILL_DIR}/scripts/digest-guard.sh":*) - 13
Bash(mkdir:*) - 14
Bash(git:*) - 15
Bash(grep:*) - 16
Bash(head:*) - 17
Bash(wc:*)
Вложенные файлы
- context/persist-findings.md
- context/rubric-fanout.md
- evals/evals.json
- reference/catalog.md
- reference/rewrite-guide.md
- scripts/cascade-read.test.sh
- scripts/cross-check.sh
- scripts/cross-check.test.sh
- scripts/detect.sh
- scripts/detect.test.sh
- scripts/digest-guard.sh
- scripts/digest-guard.test.sh
- scripts/emit-findings.sh
- scripts/emit-fix-record.sh
- scripts/emit-fix-record.test.sh
- scripts/generated-docs-regions.test.sh
- scripts/lib/cascade-read.sh
- scripts/lib/config-layers.sh
- scripts/lib/opt-value.sh
- scripts/lib/resolve-targets.sh
- scripts/lib/test-helpers.sh
- scripts/resolve-targets.test.sh
- scripts/rubric-fanout.sh
- scripts/rubric-fanout.test.sh
- scripts/user-scope.sh
- scripts/user-scope.test.sh
FAQ
Что делает скилл Audit?
Audit markdown, commit message, PR body, interface copy for AI-writing tells (slop, unslop, AI-written, em dash, emoji, filler, hedge, promotional, vague attribution, headline); read-only, guarded fix rewrites. Use when 'check for AI slop', 'de-slop this doc', 'does this read AI-written'. Not for code comments: /code-tidying:remove-comments.
Как установить скилл Audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…