본문으로 건너뛰기
cccskills
무료GitHub에 공개

skill-audit

Use when a skill isn't triggering as expected, before adding a new skill (to check for a name collision), during periodic cleanup of an accumulated skills directory, or when asked to review skill quality — checks frontmatter validity, description quality against Skill Discovery Optimization conventions, body size, and cross-scope name collisions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md3.8 KB
  • scripts/audit.py4.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Skill Audit

Overview

Skills accumulate. Nobody deletes them, most developers hit 8-12 installed skills before the per-session token cost of loading every description starts to outweigh the benefit, and a skill installed at both the personal and project scope with the same name fails silently — the higher-precedence one wins and the other never fires, with no error anywhere. This script checks the mechanical properties that predict a skill working or silently failing: valid frontmatter, a description that leads with the trigger (not a workflow summary), a body under the token-efficiency guideline, and no name collision across scopes.

Core principle: A skill that never triggers and a skill that doesn't exist have the same effect on the user, but only one of them is visible in a directory listing. This script finds the invisible kind.

Usage

python3 ${CLAUDE_SKILL_DIR}/scripts/audit.py [skills_dir ...]

With no arguments, checks .claude/skills/ (project) and ~/.claude/skills/ (personal) if they exist. Pass explicit paths to also check a plugin's skills/ directory (plugin skill dirs aren't auto-discovered, since a plugin's install location varies). Exit code 0 = clean, 1 = findings, 2 = usage error.

python3 ${CLAUDE_SKILL_DIR}/scripts/audit.py .claude/skills ~/.claude/skills ./my-plugin/skills

What it checks

CheckWhy it matters
Frontmatter parsesA SKILL.md without valid ----delimited YAML at the top is invisible to Claude Code — not degraded, just never loaded
name field matches directory nameThe command comes from the directory name for personal/project skills; a mismatched name field is almost always a copy-paste leftover from another skill
Description opens with a trigger phrasePer Skill Discovery Optimization: "Route the task and adopt it as your instructions" (what it does) trains the model to act on the summary instead of reading the body; "Use when the user names a task" (when to fire) doesn't
Description doesn't summarize the workflowA description that describes the process ("dispatches a subagent per task, reviews between each") gives the model a shortcut that has been observed to cause it to skip steps the actual skill body specifies
Description lengthOver 1024 characters fails the Agent Skills spec limit
Body word countPast ~2000 words (~500 lines), token cost per invocation is high enough that a reference file loaded on demand almost always beats keeping everything inline
Cross-scope name collisionsTwo SKILL.md files with the same name (or same directory name) at different scopes — one always wins, the other never triggers, and nothing tells you which

What it does not check

Whether the skill's instructions are correct, whether it actually gets invoked on the prompts it should (that requires running real scenarios — see the with-skill/without-skill baseline in agent-skills-prompt.md), or whether supporting files referenced from the body actually exist and are useful. This script catches the mechanical failure modes; it is not a substitute for testing trigger accuracy.

Remember

A clean audit means the skill is structurally capable of working. It says nothing about whether it triggers on the right prompts or produces the right output — that's a separate, behavioral test, not a static one.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when evaluating, comparing, installing, or recommending a Claude Code plugin, Agent Skill, MCP server, agent toolkit, or GitHub-hosted AI extension, especially when popularity is weak evidence or the candidate requests shell, network, filesystem, or credential access.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rtur2003/Claude-Code-Promts-Skills532026년 9월 22일 업데이트

Use when cutting a release, writing a CHANGELOG entry, or summarizing what changed since a tag — when the repo's commits follow (or mostly follow) Conventional Commits and a mechanically-accurate section breakdown beats a model's reading of the diff.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rtur2003/Claude-Code-Promts-Skills532026년 9월 22일 업데이트

Use before committing, opening a PR, or reporting a task done — when you want ground-truth confirmation there are no conflict markers, live-looking credentials, debug leftovers, untracked TODOs, or oversized files, without spending a model turn re-reading every file yourself.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rtur2003/Claude-Code-Promts-Skills532026년 9월 22일 업데이트

Use before publishing documentation, merging a docs PR, or reporting a Markdown-heavy repo's navigation as complete — when you want ground-truth confirmation that internal links, heading anchors, and directory links resolve, without opening every file yourself.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rtur2003/Claude-Code-Promts-Skills532026년 9월 22일 업데이트

Use when the user names a coding or Claude Code task ("add OAuth", "set up hooks", "review this PR", "pick a model"), asks which prompt to use, says to "use the right prompt", or when you enter this repo and need to orient without reading every file.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rtur2003/Claude-Code-Promts-Skills532026년 9월 22일 업데이트

Use when the user names a coding, Claude Code, research, documentation, or technology-selection task; asks which prompt to use; says to use the right prompt; or when an agent enters this repository and needs to orient without reading every file.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Rtur2003/Claude-Code-Promts-Skills532026년 9월 22일 업데이트

Rtur2003의 스킬 모두 보기

이 스킬의 문제 신고