Audit Native Overlap
Map where repo skills and agents duplicate native Claude Code surfaces; read-only unless apply bakes an approved reference. Use when 'does this skill…
от melodic-software★ 34 звезды на GitHub
Установить Audit Native Overlap в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Audit native overlap
Purpose
Answers one question: which of this repository's components now overlap something Claude Code ships itself, and what should each one do about it?
Claude Code's own surface moves every week. A skill written when no bundled equivalent existed can wake up duplicating one, and nothing in the product says so. We treat ours and the native surface as both loading (see the first gotcha), so the collision is silent. The model then picks between two overlapping capabilities from descriptions alone.
This skill makes the overlap visible, records a ruled verdict per pair in a committed store, and, only when asked, bakes the resulting routing guidance into the components themselves.
Three things it is not: it is not an availability oracle (nothing here asserts a native surface is present in anyone's session), it is not a verdict engine (a person, or a session acting on the owner's recorded direction, writes every verdict, never an unattended run), and it is not a fleet editor (bare invocation mutates nothing at all).
What this skill does not do
| Question | Owner |
|---|---|
| Which of our components overlap a native surface, and what should they say about it? | this skill |
| What can this machine actually invoke, and where did each thing come from? | /harness-ops:inventory |
| Is this machine's install directory healthy? | /harness-ops:audit-install-state |
| Is the plugin fleet current, and at what scope? | /harness-ops:plugins-audit |
| What changed in the last CLI release? | /harness-ops:changelog |
| Do our MCP tools duplicate each other or the built-ins? | /mcp-tools:audit (if enabled) |
| Is this SKILL.md structurally sound, and is the listing over budget? | /skill-quality:check (if enabled) |
| Is each installed skill actually VISIBLE to the model right now, and why not? | /harness-ops:audit-skill-visibility |
The line that matters most: inventory enumerates what resolves; this skill compares that
surface against what we ship and produces a routing verdict. Inventory never judges; this skill
never enumerates for its own sake.
The two substrates, named
Detection has exactly two inputs, and they are not interchangeable.
Native side, an inventory JSON. Produced by the sibling extractor in this same plugin:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/inventory/scripts/inventory.py" \
--deps-dir "${CLAUDE_PLUGIN_DATA}" --binary-only --out ./claude-inventory.json
The consumer asserts schema == 1 and presence-checks every key it reads. builtin_commands,
bundled_skills, plugin_backed, integrity. A missing key is reported as broken
consumer-side, not worked around: the extractor's integrity block guards extraction-level drift,
not the emitter's own top-level key names, so a renamed key would otherwise read as an empty
surface.
Target side. This skill's own repo-tree scan. plugins/*/skills/*/SKILL.md and
plugins/*/agents/*.md frontmatter, in the repository being audited. The extractor scans
installed trees, which are not necessarily the audited repo's. Using it for the target side
would silently audit the wrong fleet.
Seeded candidate pairs live beside this skill in reference/canonical-pairs.json. They are
candidates, never verdicts: a pair there proposes a row for someone to rule on.
Run it
The engine is scripts/overlap.py. Python 3.11+, standard library only, four subcommands:
# Candidates: merge the extraction, the repo tree, and the seeded pairs.
python3 "${CLAUDE_PLUGIN_ROOT}/skills/audit-native-overlap/scripts/overlap.py" detect \
--inventory ./claude-inventory.json --out ./overlap-candidates.json
# Registry: render the store into the generated view (--check diffs instead).
python3 "${CLAUDE_PLUGIN_ROOT}/skills/audit-native-overlap/scripts/overlap.py" generate
# Freshness: the deterministic gate.
python3 "${CLAUDE_PLUGIN_ROOT}/skills/audit-native-overlap/scripts/overlap.py" self-check
# Dismissal: record a "not an overlap" ruling (see Dismissals below).
python3 "${CLAUDE_PLUGIN_ROOT}/skills/audit-native-overlap/scripts/overlap.py" dismiss \
--inventory ./claude-inventory.json --native rename \
--component naming:name-it-better --reason "shared word only: ..."
--repo, --store, --view, and --pairs are flags with repo-relative defaults, so a consumer
repository with a different layout points them wherever its files live. detect also takes
--threshold (lowest discovery score kept, default 0.30) and --top-k (most components kept per
native surface, default 3; 0 turns discovery off). Lower the threshold to 0.25 for a
recall-first sweep; below that, most added pairs share one incidental word.
Every subcommand exits 0 ok, 1 broken, 3 degraded, the sibling extractor's contract, not the
shell gates' 0/1/2, so one lane can carry both; 2 stays argparse's usage error. A degraded exit
is a passing run: it means the data is stale-but-honest or so
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- reference/canonical-pairs.json
- scripts/discover.py
- scripts/overlap.py
- scripts/overlap.test.sh
- scripts/test_overlap.py
FAQ
Что делает скилл Audit Native Overlap?
Map where repo skills and agents duplicate native Claude Code surfaces; read-only unless apply bakes an approved reference. Use when 'does this skill duplicate a built-in', 'refresh the native-surfaces registry', 'which of our skills overlap bundled skills', or what Claude Code already ships. Not for enumerating invocables: /harness-ops:inventory.
Как установить скилл Audit Native Overlap?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Audit Native Overlap запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…