From agent-tools
Use when dispatching an auditor or implementing an audit pass: defines the rubric format the auditor expects and the five-phase execution contract (Orient, Evaluate, Triage, File, Report) the auditor follows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-tools:audit-protocolThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The audit-protocol skill defines two interrelated contracts: (1) the rubric
The audit-protocol skill defines two interrelated contracts: (1) the rubric format that a well-formed auditor dispatch must supply, and (2) the five-phase execution contract the auditor follows. Both are load-bearing -- a vague rubric produces vague issues; an auditor that skips phases (especially duplicate-check before filing) produces noise.
Agents dispatching auditors must provide a structured rubric. A vague rubric produces vague, low-value issues. A well-formed rubric has four required sections:
## Rubric
### What "complete" looks like
<Description of the fully-realized end state for this domain>
### Priority heuristics
- `priority: high`: <conditions -- e.g. "gaps that cause silent data loss or cascading failures">
- `priority: medium`: <conditions>
- `priority: low`: <conditions>
### What to skip
<Explicit out-of-scope items for this audit domain>
### Cross-cutting question
Are there concerns that span multiple areas and would be missed by a narrower checklist?
Priority heuristics belong in the rubric, not in agent judgment. When the rubric
says "priority: high for gaps that can cause silent data loss," the auditor
applies that rule; without it, priority becomes a guess.
Five phases, in order:
Read all files listed in files_to_read before drawing any conclusions. If
external_refs are provided, fetch them now. External references make coverage
audits dramatically more accurate -- an external commands reference reveals gaps
that first-principles reasoning misses entirely. Always fetch when provided.
Compare actual state against the rubric. Identify both:
Both matter. Confirmed-good findings prevent re-auditing. Pose the cross-cutting question: are there issues that span areas and would be missed by a narrower checklist?
Decide issue grouping and priority. Grouping calibration:
Apply priority from the rubric's heuristics, not judgment.
For each finding, run a pre-flight duplicate check first:
gh issue list --search "<keywords from the finding title>" --repo <repo>
If a matching issue exists, note it as "already tracked" and skip. If no match, file with a structured body:
The pre-flight check is essential when running parallel auditors on the same repo -- it prevents noise without requiring a post-reconciliation pass.
In dry_run mode: print the issue draft (title, labels, body) but do NOT
call gh issue create.
Return a structured report with three sections:
#N | title | priority | one-line rationale.
The table format is non-negotiable. Prose summaries lose signal; the table
is immediately scannable by the dispatcher reviewing audit output.gh issue list --search
in phase 4 is not optional. Parallel auditors on the same repo converge on the
same gaps; skipping the check creates duplicate issues that clutter the backlog.agents/auditor.md -- the agent that
executes this protocol; the audit-protocol skill is a required preload for itskills/triage/SKILL.md -- triage labels and prioritizes
existing issues; audit-protocol produces new onesskills/orchestration-patterns/SKILL.md
-- "audit + remediate" is the execution shape that uses the auditoragents/runner.md -- the natural next step
after an audit produces a backlog; implements the filed issuesnpx claudepluginhub joshrotenberg/agent-tools --plugin agent-toolsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.