Audit
Audit MCP server tool definitions (Python, TypeScript, .NET; optional path): PASS/WARN/FAIL scorecard on descriptions, parameters, naming, annotations, _meta…
от melodic-software★ 34 звезды на GitHub
Установить Audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Audit
Arguments. [path]. A directory to scope the audit to (e.g. a single server dir), or omit for the whole project.
Purpose
Evaluate MCP server tool definitions against design quality criteria drawn from three upstream authorities, cited (not recapped) so the current text always governs:
- MCP specification 2026-07-28: Tools. The normative protocol (MUST / SHOULD / OPTIONAL requirements for names, schemas, annotations); why this revision is in reference/checklist.md, "Spec revision record".
- Define tools: best practices for tool definitions. Tool-design guidance for descriptions, parameters, namespacing, and workflow-shaped granularity (correlate with Anthropic: Writing effective tools for AI agents).
- Claude Code's MCP page, for Claude-Code-specific client behavior: result-size limits in MCP output limits and warnings, and the
_metaannotations in Raise the limit for a specific tool, Require approval for a specific tool and Tool search for MCP server authors. The dated pointer records for the values C4 and C17-C19 turn on are in reference/checklist.md, "Client-behavior record" and "Description length record".
Produces a per-tool scorecard with actionable findings. Catches description gaps, missing annotations, and naming issues before they degrade LLM tool selection accuracy.
This skill runs as a blocking fork (context: fork, background: false; what that changes is
owned by the
invocation-context rubric).
$ARGUMENTS (an optional path) and the working tree are the whole input.
Server discovery configuration
Phase 1 enumerates MCP servers and their tool source files by scanning the project for the per-language
tool markers. The tool-marker, name-extraction, description-extraction, and meta-extraction
rules are upstream MCP-SDK conventions, stable across repos. See
reference/server-discovery.md for the per-language discovery rules and
how servers are grouped.
Arguments
Parse $ARGUMENTS:
<path>. Audit a single scope. A directory to narrow the scan to (typically one server's directory).- (empty). Audit every tool discovered under the project root.
Track progress
For multi-server audit runs (Phases 1-3 across ≥2 servers), keep an in-response checklist of the three phases and tick each as it completes. Phase 2 may run subagent fan-out for ≥5 tools; check each subagent's evidence before accepting its verdicts, then consolidate them into the one Phase 3 report.
Workflow
Phase 1: Discover servers and tools
Run bash "${CLAUDE_PLUGIN_ROOT}/skills/audit/scripts/discover.sh", adding --path <dir> when
$ARGUMENTS supplies a directory, to scope the scan to that directory.
Phase 2: Evaluate against checklist
Read each Tool file: from Phase 1. Per the language rules in
reference/server-discovery.md, extract descriptions, parameters,
wire-level annotations (C12-C14), and the tool's _meta object (C17-C19). The last via
meta-extraction, recording each key's JSON type and not merely its presence, because C18 turns on
it. Also record each parameter schema's x-mcp-header value, if any (C20). Load the detailed checklist from reference/checklist.md.
Once per server, also resolve its instructions field. See Server instructions in
reference/server-discovery.md and evaluate C4's per-server clause
against it. Phase 1's records are per-tool, so this is the only step that reaches it; its result lands
in the server-level row of the Phase 3 report, not in any tool's table.
Evaluate every criterion in the checklist against each tool, and C4's per-server clause once per server. Record each result as:
- PASS. Criterion met
- WARN. Criterion partially met or could be improved
- FAIL. Criterion not met
- info. An optimization opportunity rather than a defect; the severity
reference/checklist.mdassigns to C8, C11, C14, C21, and by default to C17-C19 - n/a. The criterion has no subject here, so it cannot pass: a server whose construction site
declares no
instructionsgives C4's per-server clause nothing to size - undetermined. The subject was not reachable in the scanned scope (no server construction site found), which is not the
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- reference/checklist.md
- reference/server-discovery.md
- scripts/discover.sh
- scripts/discover.test.sh
FAQ
Что делает скилл Audit?
Audit MCP server tool definitions (Python, TypeScript, .NET; optional path): PASS/WARN/FAIL scorecard on descriptions, parameters, naming, annotations, _meta, instructions budget. Use when: 'audit MCP tools', 'check MCP tool descriptions', 'tool annotations'. Not for MCP server safety (/mcp-tools:audit-posture) or config (/harness-config:audit).
Как установить скилл Audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Audit запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…