Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
athola avatar

Skill Graph Audit

  • 69 installs
  • 325 repo stars
  • Updated August 2, 2026
  • athola/claude-night-market

Interpret skill-graph audit metrics so you retire real orphans—not library, entrypoint, or hook-target skills that legitimately have zero edges.

About

Skill-graph-audit interpretation teaches solo and indie builders—and small plugin maintainers—how to read dependency-graph metrics without misclassifying healthy skills as orphans. Hyperlinked skill catalogs and night-market-style repos generate isolates and hubs that look alarming until you map them to library skills consumed via dependencies or imports, entrypoints invoked by slash commands or external orchestrators, and hook-target skills referenced from PreToolUse or PostToolUse hooks. The skill is editorial procedure knowledge: when an isolate appears, you confirm callers, command files, or hook wiring instead of deleting nodes. When inbound counts spike, you treat the skill as load-bearing, enumerate Skill() references across plugins, and plan deprecation with notice and a migration path. Use it whenever you audit, refactor, or document agent skill integration—not as a trading or codegen tool, but as the interpretive layer on top of graph audit output.

  • Three-role isolate taxonomy: library (dependencies), entrypoint (slash commands), hook-target (hooks.json)—with concrete
  • False-positive guidance so zero inbound/outbound edges are not auto-flagged as broken
  • Hub-sensitivity playbook: rg Skill() callers, 30-day deprecation notice, migration target before retiring high-inbound s
  • Documents top-5 hub awareness (as of 2026-04-25) for load-bearing skill change management
  • Aligns interpretation with docs/skill-integration-guide skill-role taxonomy

Skill Graph Audit by the numbers

  • 69 all-time installs (skills.sh)
  • Ranked #293 of 782 Skill Development skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/athola/claude-night-market --skill skill-graph-audit

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs69
repo stars325
Security audit3 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryathola/claude-night-market

What it does

Interpret skill-graph audit metrics so you retire real orphans—not library, entrypoint, or hook-target skills that legitimately have zero edges.

Files

SKILL.mdMarkdownGitHub ↗

Skill Graph Audit

Overview

Build a directed graph of Skill(plugin:name) invocations across the marketplace and surface composition patterns: which skills are heavily referenced (hubs), which orchestrate many others (orchestrators), which have no incoming or outgoing references (isolates), and which point at non-existent skills (dangling references).

The federation graph is now derivable from source rather than hand-curated.

When To Use

  • Before a documentation pass on skill composition
  • After a renaming or retirement to catch broken Skill() references
  • During quarterly audits to spot orphaned skills
  • When evaluating consolidation candidates (hubs are higher-risk to merge)
  • When a new skill's outbound references should be sanity-checked

When NOT To Use

  • For per-skill quality scoring, use Skill(abstract:skills-eval) instead
  • For frontmatter/structure validation, use Skill(abstract:plugin-review)
  • For hook-specific audits, use Skill(abstract:hooks-eval)

Quick Start

python3 plugins/abstract/scripts/skill_graph.py \
  --plugins-root plugins --top-n 10

For machine-readable output:

python3 plugins/abstract/scripts/skill_graph.py \
  --plugins-root plugins --format json --output reports/skill-graph.json

See modules/usage.md for full CLI reference and example workflows.

Core Outputs

OutputMeaningAction when high
HubsMost-referenced skillsTreat as core API; retire with extreme care
OrchestratorsSkills that call many othersVerify each ref still resolves
IsolatesZero in / zero outCheck role: library? entrypoint? typo?
Dangling: bugsMissing internal targetFix immediately (typo or retired skill)
Dangling: externalReference to external pluginDocument plugin dependency
Dangling: placeholdersTemplate text like -NAMEVerify intentional

See modules/interpretation.md for false-positive guidance and isolation taxonomy.

Dogfood Evidence

This skill itself was scaffolded TDD-first; on first run against plugins/, it caught two genuine dangling refs that the manual audit (2026-04-25) had missed:

  • attune:makefile-generation -> abstract:makefile-dogfooder

(script name confused with skill name)

  • imbue:karpathy-principles -> spec-kit:speckit-clarify

(command referenced as skill)

Both were converted to correct command-style references in the same session.

Verification

Two ways to validate the audit output is trustworthy:

1. Test-suite correctness check: Run pytest -o addopts= plugins/abstract/tests/scripts/test_skill_graph.py to confirm extraction, graph construction, ranking, isolate detection, and dangling-ref classification all pass on the current code. The -o addopts= flag bypasses the package-wide coverage gate, which would otherwise fail on a single-file run. 2. Round-trip smoke check: Note the dangling-ref count from a baseline run, fix one or more flagged references, then rerun and verify the count drops by at least the number fixed. If the count does not move, the report is stale or the regex missed a syntax variant.

Exit Criteria

  • [ ] The graph builds: skill_graph.py runs against plugins/

without error and emits a node/edge count.

  • [ ] Dangling references are classified into bugs, external, and

placeholders (the three Core Outputs rows resolve).

  • [ ] Every Dangling: bugs entry is either fixed in the same

session or filed as a tracked issue.

  • [ ] pytest -o addopts= plugins/abstract/tests/scripts/test_skill_graph.py

passes.

  • [ ] The round-trip smoke check shows the dangling-ref count drops

by at least the number of references fixed.

Related Skills

  • Skill(abstract:skills-eval): per-skill quality scoring
  • Skill(abstract:plugin-review): plugin manifest and structure
  • Skill(abstract:hooks-eval): hook-specific validation
  • Skill(abstract:rules-eval): rules directory validation

References

  • Implementation: plugins/abstract/scripts/skill_graph.py
  • Tests: plugins/abstract/tests/scripts/test_skill_graph.py
  • Composition documentation:

docs/quality-gates.md#skill-level-quality-gate-composition

  • Skill role taxonomy: docs/skill-integration-guide.md#skill-role-taxonomy

Related skills

FAQ

Is Skill Graph Audit safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Skill Developmentagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.