skill-compliance-auditor
Audit reusable plugin skills, project-local .codex skills, AGENTS.md, nested instructions, context cost, stale guidance, duplicated rules, routing gaps, and daily-vs-library placement. Use when mainta
Files2
View on GitHubSKILL.mdskills/skill-compliance-auditor/SKILL.md
GitHubSkill Compliance Auditor
Purpose
Find whether agent instructions and skills are usable, discoverable, current, and placed at the right scope instead of bloating daily context.
Inspect First
- plugin
skills/, project.codex/skills, root and nestedAGENTS.md - README, docs indexes, validation scripts, generated local skills, and recent skill changes
- any existing skill compliance report
Procedure
Inventory instruction surfaces.
- Separate plugin skills, project-local skills, root instructions, nested instructions, and docs.
- Treat plugin skills as reusable authoring workflows and project-local skills as thin repo-specific operating workflows.
Check compliance and signal.
- Run
scripts/check_skill_compliance.py <repo-or-plugin> --jsonwhen available. - Flag missing frontmatter, missing required sections, oversized local skills, stale file links, duplicated hard rules, weak routing links, and instruction content that belongs in docs.
- Classify local skills as
daily,on_demand, orlibrarybased on frequency and evidence.
- Run
Produce a report when requested.
- Use
assets/templates/skill-compliance-report.md.tmpl. - Prioritize fixes that reduce daily context, remove contradiction, or make a skill trigger more reliably.
- Use
Route fixes.
- Use
$project-local-skill-generatorfor repo-local skill generation. - Use
$agents-md-authoror$nested-agents-md-authorfor instruction map cleanup. - Use
$harness-diagnosticswhen compliance issues are part of a broader maturity audit.
- Use
Validation
- Run
scripts/check_skill_compliance.py <repo-or-plugin>. - Confirm every finding names a concrete file, skill, or missing route.
- Confirm recommendations preserve the plugin/project-local split.
Completion Criteria
- Skill and instruction issues are grouped by severity and scope.
- Daily instructions are lean, local skills are backed by repo artifacts, and reusable harness logic remains in plugin skills.