Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Audit Skills?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ku5ic-audit-skills)
---
name: audit-skills
description: How skills, commands, and agents are written, against Claude Code's own prompt audit and Anthropic's current guidance
argument-hint: "<skill or agent names, paths, or all>"
allowed-tools:
- Bash(git log *)
- Bash(git status *)
- Bash(kit scratch-dir *)
---
# /audit-skills
Read-only audit of how skills, commands, and agents are written, used or not, including lines that repeat what the model already knows. Whether a skill's content is still true to its sources is `/meta-refresh`'s job, and what sessions show is `/meta-improve`'s.
Loading this skill isn't enough. Before the step a row names, read its file.
| Before | Read |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Judging any target | `skills/meta-skill/reference/skill-authoring.md`, `skills/meta-skill/reference/pattern-skill-content.md`, `skills/meta-prompt/reference/prompt-practice.md` |
| Run steps 3 and 4 | [reference/angles.md](reference/angles.md) |
## Run
1. Targets, from the arguments: names, paths, or `all`. None, ask. They're the directories with a `SKILL.md` and the agent and command files of the plugin (`skills/`, `agents/`) when the project root has `.claude-plugin/plugin.json`, else of `.claude/skills/`, `.claude/agents/`, and `.claude/commands/`. A skill's target is its whole directory. When a name matches nothing, say so and ask. More than 5: list them and ask before going on.
2. Read each target's last `skills-*` report in `kit scratch-dir`, when there is one. A target is skipped when, by `git log` and `git status`, neither it nor a file in the "Judging any target" row changed since that report. One changed only to fix its findings gets the line `/audit-verify <report>` in the reply and no new audit.
3. Start the practice and the angles in [reference/angles.md](reference/angles.md) together. The practice: reuse a `practice.md` in a `skills-*` raw folder fetched today that covers every target's model. Otherwise dispatch the researcher agent (subagent_type: kit:researcher). Ask it to fetch, from Anthropic's own documentation only, the pages on writing skills, on subagents, and on prompting each model the targets run on: the one each pins, else the session's. Ask for each rule a reviewer could check in a file, quoted, with its URL, including what a skill that isn't a pattern skill should leave out because the model already knows it, and for each rule in the files above whether a page confirms, contradicts, or doesn't mention it. Write its reply to `practice.md` in the report's raw folder, with the date.
4. Fan out per `skills/kit-rules/reference/subagents.md` section 4, one auditor per angle and per 30 targets, the targets split so each batch holds about the same amount of text. Guidance starts once `practice.md` is written, and the researcher counts as one of the running agents. Each auditor gets its angle from [reference/angles.md](reference/angles.md), The bar, Not a finding, Output per finding, its targets, and the last reports' paths, and Guidance the absolute path of `practice.md`. It writes `candidates-<angle>-<n>.md` and also returns the targets it didn't finish.
5. Merge with the stronger Source kept, not the higher severity. Then refute. Dispatch one agent per target with findings (general-purpose, model `sonnet`), under the same limit on running agents, with that target's findings, its path, The bar, and each finding's angle from [reference/angles.md](reference/angles.md), told to show each one wrong. For each it answers each line of The bar with what it read, then `stands` or `broken`. A finding it can't settle is `broken`; one it doesn't reach is `unrefuted`.
6. Read the decisive line of each finding that stands yourself (`skills/kit-rules/reference/subagents.md` section 2). One you can't confirm is broken too. Write the report from what's left, the broken ones, each with what broke it, to `rejected.md`, and the unrefuted ones to `unrefuted.md`, both in the raw folder. An unrefuted finding isn't rejected, so a later run may raise it.
7. Reply per `skills/kit-rules/reference/output.md` section 3.
## The bar
A finding meets every line, or it's dropped:
- **Quote.** The target's text at its `file:line`, read in this run, word for word.
- **Source.** The second instruction, the path that doesn't exist, the line that promises or needs what's missing, or the rule it breaks, quoted with its `file:line` or URL. A rule that says "can", "consider", or "usually" breaks nothing.
- **Case.** One concrete input, and the wrong result that follows from the text as written. "Could be read as", "might", and a reader who ignores the rest of the file are no case. An angle that sets its own Case or Fix, such as Pattern standard, Known to the model, or Placement, is held to that one instead.
- **Fix.** The replacement text. With it applied, the case gives the right result, and nothing else in the target, the files in the table, or the project's rules contradicts it. A second place that has to change with it is in the Fix.
- **New.** Not a finding the last report fixed or rejected, nor the reverse of its Fix, unless the source changed since, quoted, or the Case shows that Fix itself giving a wrong result.
## Not a finding
- What the built-in guide's keep list keeps, and what it would only flag.
- A rule the project's own instructions set on purpose: a byte budget, a required table, a fixed phrase a test checks. Read the project's CLAUDE.md and its tests for the file first.
- How well a skill works. Nothing here measures it, so the report has no score and no ranking.
- Length, word choice, and order alone.
- A line that names the owner and links it, without restating the rule.
## Output per finding
- The target and its `file:line`, with the text quoted
- Evidence: the source, then the case and its wrong result
- Severity: `failure` when the text can't be followed (a contradiction, or a path that doesn't exist), `warning` for any other finding. There is no `info`
- Fix: the replacement text, noted and never applied
## Output file
Load the report-format skill and use its format. Write to the path `kit scratch-dir skills <target-slug>` prints. Its Scope line names every target, its model, the date of `practice.md`, how many findings were refuted and how many no refuter reached, and each target no auditor finished. No finding standing: the report says so in one line. It's what `/plan` reads next.
Arguments: `$ARGUMENTS`