skill-audit

Score agent skills against a structured checklist and output a ranked scorecard with fixes.

4|Updated Jun 17, 2026
One-click install
npx skills add https://github.com/exiao/meta-skills --skill skill-audit-exiao
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-audit
Source: https://github.com/exiao/meta-skills/tree/main/skill-audit
Command: npx skills add https://github.com/exiao/meta-skills --skill skill-audit-exiao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Agent skills decay silently: descriptions stop triggering, references go dangling, and instructions written for older models actively degrade current ones. This Skill audits any skill directory against a structured checklist and produces a scorecard with specific, ranked fixes instead of vague impressions. ## Core Features & Use Cases - Structured checklist scoring: Scores structure (S1-S4), content quality (C1-C6), design patterns (D1-D2), executability (E1), prompt-attention hygiene (P1-P3), dated prompting (DP1-DP5), and model fit (M1-M4) as a fraction of applicable items. - Reference health checks: Ships a script that detects dangling pointers and orphaned reference files across the whole skills tree, with an exit code suitable for gating commits. - Drift and budget audits: Verifies that paths, constants, and CLI commands named in a skill still exist in the codebase, and measures description and body token weight. - Use Case: Point it at a skill that has grown to 800 lines over months of edits. It flags the mega-file accretion pattern, identifies orphaned references, catches dated prompting fossils like "think step by step", and returns a scorecard ranking the highest-impact fixes first. ## Quick Start Audit the skill in my current directory and give me a scorecard with the top fixes ranked by impact.

Frequently Asked Questions about skill-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit an agent skill for best practices?▼

Run the skill-audit checklist against the skill directory: read every file, score items S1-S4, C1-C6, D1-D2, E1, P1-P3, DP1-DP5, and M1-M4 as a fraction of applicable points, then write a scorecard ranking fixes by impact. Quote the offending line for every failing item.

How to check for broken reference links in a skill directory?▼

Run the bundled check_reference_health.py script against the skill directory or the whole tree. It reports dangling pointers that resolve nowhere and, with --orphans, skills where over 40% of reference files are unreachable, exiting 1 on any dangling pointer.

What is the difference between skill-audit and skill-improver?▼

skill-audit scores a skill's structure and design statically against a checklist and outputs fixes, without measuring output quality. skill-improver runs the skill against evaluation cases and hill-climbs on measured results. Audit is the fast first pass before spending tokens on optimization.

Does the audit catch outdated prompting patterns for older models?▼

Yes. The DP1-DP5 items flag dated prompting such as ambient CRITICAL/NEVER emphasis, step-by-step scaffolds, update suppressors, anti-formatting rules, and numeric output clamps written for retired models. Each finding is tagged High, Medium, or Low confidence with git blame used to date rules.

Why does the audit say not to trim a skill description under DP1?▼

Because routing text like the frontmatter description may carry calibrated urgency since skills under-trigger, while behavioral text should explain rather than shout. These look identical to a grep, so the audit classifies text by function before flagging emphasis as a DP1 failure.

When should a large SKILL.md be split instead of edited?▼

Split when the file exceeds 500 lines or 20KB with duplicate-topic reference clusters and many orphaned references, which indicates mega-file accretion. The references/mega-file-split.md guide covers cluster mapping, parallel consolidation merges, and rewriting SKILL.md as a router with a grouped reference index.