audit-skill
БесплатноБез исполняемых скриптовНе проверенAudit and improve a Claude Code skill using Skill Crossroads. Use when the user says "audit my skill", "grade my skill", "check my skill quality", "why…
от jeremylongshore★ 2 961 звезда на GitHubОб этом скилле
Audit a skill with Skill Crossroads
Grade the target skill and report every finding evidence-cited (file and line) — work from the receipts, not vibes. Only when the user asks for fixes, apply the highest-impact ones and re-grade until the score stops improving.
Overview
Most skills fail silently: they never trigger, over-grant tools, or leak secrets, and the author only finds out after publishing. This skill closes that loop before you ship. It runs the free skillcrossroads CLI (MIT) against a skill directory, producing a letter grade, a file:line-cited scorecard across six rubric categories, and a ranked fix list. Auditing is read-only; when the user also wants the skill improved, it walks that list, applying the smallest change that resolves each finding, until the grade stops improving.
Prerequisites
- Node.js 20+ with
npxavailable, and network access to the npm registry (the CLI is fetched on demand; the version is pinned below for reproducibility). - A skill directory containing a
SKILL.mdfile. - No credential is required, and by default nothing about your skill leaves the machine.
Every command in this skill passes
--no-llm, so all six rubric categories are scored deterministically and locally. - The one exception is
--suggestin step 4, which is opt-in and requires your explicit consent. Without--no-llm, the CLI sends content to Anthropic's Messages API (api.anthropic.com) wheneverANTHROPIC_API_KEYis present in the environment — it does not prompt. That path upgrades the Triggering category to an LLM judge and adds checks VERIFY-04, CLARITY-02 and CLARITY-05, sending per-check excerpts of 1,500-2,500 characters;--suggestsends up to 24,000 characters of the entry file. Requests are billed to your own key. Treat the key as a credential: never echo or commit it. - Model results are cached on disk between runs, keyed by content hash:
./.beacon-cacheif that directory already exists, otherwise%LOCALAPPDATA%\skillcrossroads\cacheon Windows,$XDG_CACHE_HOME/skillcrossroadswhen set, or~/.cache/skillcrossroads.
Steps
Identify the skill directory (it contains a
SKILL.md). Use Glob to find**/SKILL.mdcandidates or Grep to search for the skill by name. If more than one candidate exists, ask the user which skill to audit.Run the audit and capture the report. Single-quote the directory argument — single quotes prevent the shell from expanding
$(...), backticks, and$variableshidden in a path (double quotes do NOT stop command substitution). Before running, inspect the path: if it contains a single quote,$, a backtick, or a newline, do not pass it to a shell at all — such characters in a skill directory name are themselves a red flag; rename the directory or ask the user for a safe path first.npx [email protected] '<skill-dir>' --no-llm --markdownReport the scorecard and the Top fixes list (ranked by grade impact) to the user. Auditing is read-only. If the user asked only to audit, grade, check, or lint, stop here — do not edit anything. Proceed to step 4 only when the user explicitly asked to fix or improve the skill, or confirms they want the fixes applied after seeing the report.
Apply fixes (only on explicit request or confirmation). The deterministic report from step 2 is normally enough to work from.
Optionally, model-drafted rewrites are available — but
--suggestis the only command in this skill that sends anything off the machine, so ask the user before running it and proceed only on an explicit yes:--suggestsends up to 24,000 characters of this skill's entry file to Anthropic's API (api.anthropic.com), billed to your ownANTHROPIC_API_KEY, and caches the result on disk. Run it, or continue with the local findings?On a yes, and only when
ANTHROPIC_API_KEYis set:npx [email protected] '<skill-dir>' --suggestIf the user declines, or no key is set, continue with the step 2 findings — they already cover all six rubric categories. Either way, treat suggestions as proposals to review and never apply one unread. For each fix, Read the cited file:line, confirm the finding is real, and apply the smallest Edit that resolves it. Typical high-impact fixes: rewrite the frontmatter
descriptionto lead with the use case and include the phrases a user would actually say; add a verification step; state constraints and failure modes; remove hardcoded secrets or over-broadallowed-tools.Re-run the audit. Repeat steps 4–5 until the grade stops improving or only intentional trade-offs remain.
Offer the badge:
npx [email protected] '<skill-dir>' --no-llm --badgewrites an SVG the user ca
Установить audit-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadEditGrepGlobBash(npx:*)Вложенные файлы
FAQ
Что делает скилл audit-skill?
Audit and improve a Claude Code skill using Skill Crossroads. Use when the user says "audit my skill", "grade my skill", "check my skill quality", "why doesn't my skill trigger", or "lint my SKILL.md" — or before publishing any skill, to get an evidence-cited quality score, ranked fix list, and badge. Trigger with "audit my skill".
Как установить скилл audit-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл audit-skill запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic