review-skill
Inspect a skill's health using observation logs, eval results, and protocol analysis, then propose targeted amendments
SKILL.md.claude/skills/review-skill/SKILL.md
GitHub<Purpose>
Review Skill inspects a skill's health and proposes evidence-based amendments. It closes the feedback loop between skill execution and skill improvement:
opt-in host event → human-reviewed export → inspect → amend → evaluate
This skill implements the inspect and amend phases. Skills never write their own observations. A host operator may opt in to privacy-minimized collection, and a named human reviewer must export redacted events before this skill reads them. Evaluation is handled separately by the eval harness.
5-phase protocol:
- Skill Profile — Read the skill's agent prompt, SKILL.md, and CHANGELOG.md to understand current state
- Observation Analysis — Read
observations/{skill}.yaml, validate its review boundary, and identify category, severity, and outcome patterns - Eval Correlation — Cross-reference observations only with hash-verified results whose adjacent run-manifest-v1 is schema-valid and has
status: valid - Health Diagnosis — Synthesize findings into a structured health report with severity-ranked issues
- Amendment Proposal — For each diagnosed issue, propose a specific, minimal change to the skill prompt with predicted impact</Purpose>
- The codebase it reviews has evolved beyond its assumptions
- Model behavior has shifted after an update
- User tasks have drifted beyond the skill's training distribution
- A tool call pattern the skill relies on has changed
Without systematic inspection, these failures are invisible until someone manually notices worse output. Review Skill automates the inspection and proposes targeted fixes grounded in evidence — not guesswork.
This is the missing piece between "skills as static prompt files" and "skills as living system components." </Why_This_Exists>
<Steps> 1. User invokes `/review-skill {skill-name}` or `/review-skill {skill-name} --focus {area}` 2. Delegate to review-skill agent with the skill name and optional focus area 3. Agent reads the skill's agent prompt, SKILL.md, CHANGELOG.md, and the reviewed `observations/{skill-name}.yaml` export if available 4. Before reading metrics, agent runs `python3 scripts/validate_review_evidence.py {result-artifact}`; only an artifact hash-listed by exactly one adjacent schema-valid run-manifest-v1 with `status: valid` is eligible 5. Agent produces a Health Report with diagnosed issues and proposed amendments 6. User reviews amendments and decides: apply, iterate, or dismissOptional flags:
--focus routing— Focus on whether the skill triggers correctly--focus instructions— Focus on protocol steps and evidence requirements--focus tools— Focus on tool call patterns and environment assumptions--focus calibration— Focus on severity calibration and false positive rate--since 2026-03-01— Only analyze observations after this date</Steps>
Expected validation approach:
- Create synthetic, privacy-minimized reviewed exports for 3-5 skills with known failure patterns
- Run review-skill on each and verify it identifies the planted patterns without accessing raw prompts or outputs
- Verify proposed amendments target the right protocol sections
- Measure false positive rate (amendments proposed for non-issues)</Benchmark_Test_Info>