skills-audit
Audit agent skills for triggering quality, correctness, context efficiency, redundancy, structure, failure guidance, and coverage gaps. Use when the user asks to review, improve, compare, simplify, or evaluate skills in global, repo-local, Claude, Codex, or custom skill paths.
- License 许可
- MIT
- 最近更新
- 2026-11-08
- Stars
- ★ 46
- Forks
- 3
01 前言 Front Matter
- name
- skills-audit
- description
- Audit agent skills for triggering quality, correctness, context efficiency, redundancy, structure, failure guidance, and coverage gaps. Use when the user asks to review, improve, compare, simplify, or evaluate skills in global, repo-local, Claude, Codex, or custom skill paths.
02 资源文件 2
- 参考文档references/categories.md3.9 KB
- 参考文档references/checklist.md7.9 KB
03 SKILL.md 正文
Audit Skills
Perform a read-only, evidence-backed audit of the requested skills. Default to decision-relevant findings, not an exhaustive ceremony.
Discover
Inspect the paths in scope, including when relevant:
~/.agents/skills/,~/.claude/skills/, and~/.claude/commands/;- repo-local
.agents/skills/and.claude/skills/; - custom paths named by the user.
Deduplicate synced or linked copies and identify the source of truth. Note agent system, folder resources, frontmatter, and broken links or scripts.
Evaluate
Read references/checklist.md and apply only relevant checks. Use references/categories.md when classification helps reveal mixed responsibilities or a repository-level coverage gap; do not force classification when it adds no decision value.
Prioritize:
- incorrect, stale, conflicting, or unsafe instructions;
- duplicated guidance likely to drift;
- always-loaded detail better routed through references or scripts;
- weak trigger descriptions;
- missing real-world failure guidance;
- rigid procedures that prevent capable agents from adapting;
- missing skills only when repository evidence shows repeated value.
Numeric scores are optional comparison aids, not required output. Never penalize a short behavioral skill for lacking unnecessary resources.
Report
Use concisely. Include every material finding, ordered by impact, with exact file evidence and the smallest useful change. Group clean or low-priority skills rather than producing filler.
Distinguish observed evidence from inference. Do not impose a fixed findings count.
Apply Mode
Audit first. If the user asks for changes, edit only the approved scope, preserve useful non-obvious guidance through progressive disclosure, validate the changed skills, and report proof.
Gotchas
- Do not audit installed mirrors as independent skills when they share one source.
- Do not optimize for line count at the cost of deleting real failure knowledge.
- Do not treat a large command reference as always-loaded context when it is properly routed.
- Do not recommend generic new skills without repository evidence that they would recur.
04 同仓库更多 Skills
teach
Build a working mental model of code: the components and how they interact, then the interfaces, schemas, and function signatures. Use when asked to teach or explain how code works, walk through an architecture, deep-dive a subsystem, or understand a change, including code outside the current repo. For a concept with no code, use pstack:teach.
repo-setup
Set up or refactor a repository so agents naturally follow its intended architecture and important mistakes fail mechanically. Use when the user invokes $repo-setup, asks to make a repo agent-friendly, or wants important repository rules enforced through structure, types, tooling, tests, or CI.
record-screen
Record a small MP4 while demonstrating or verifying a UI change, then attach the video as proof. Linux cloud sessions record the private virtual display; macOS records only the app window under test. Use for any repo whenever a UI change is verified or demoed.
ori-pr
Take an OpenRouterIncubator/ori or OpenRouterTeam/openrouter-web PR from ready to merged. Matthew runs /ori-pr once he has decided the PR is ready and understands the change. Asks perry for review once CI is green, handles perry's comments, and enqueues the merge once perry approves the head and CI is green, within quiet hours.
new-task
Clarify a new task by stating the goal the agent believes the user wants, showing its current understanding, and asking only product-related or high-priority questions that could materially change the outcome. Use before planning or implementation when the task needs alignment.
learn-from-mistake
Find why an agent produced a bad result, strengthen the code, repository, verification, tooling, or workflow that enabled it, then retry the original task. Use when the user asks to learn from a mistake, prevent recurrence, or postmortem an agent failure.