← 返回 Skill 列表
extension
分类: 开发与工程API Key 暂未确认

技能使用审计

审计哪些技能真的被调用过:找出死技能、幻觉调用与每项目技能分布,技能库大扫除有据可依。Use when auditing which skills are actually invoked and which are dead. Triggers include 技能审计、使用统计、死技能、清理、调用分析。如需技能工具套件,淘宝搜索「AI灵匣」店铺获取完整版。

person作者: nuhabvtyhubOpenAPI

skill-graveyard

CLI that audits Claude Code skill usage. Two signals from one parser:

  1. Dead installs — installed but never invoked → safe to remove.
  2. Hallucinated invocations — invoked but not installed → typos, external-framework registrations, or model tool/skill confusion.

How to invoke

Run via npx skill-graveyard@latest <subcommand> [flags] — no install needed.

Subcommands

  • audit (default) — classify into active / dead / missing / hallucinated. Flags: --days N, --only <bucket>, --json, --claude-dir <path>.
  • prune — print removal commands for dead skills. --apply to execute (user/agents only; plugin removals always print only).
  • suggest — triage hallucinated/missing into actionable buckets.
  • projects — per-project usage breakdown (cwd from sessions).
  • cost — token cost estimate of installed metadata vs invocations.
  • outdated — check installed plugins / git skills for upstream updates (network).

Decision flow

  • "are there skills I don't use?" → npx skill-graveyard@latest
  • "clean up unused skills" → prune, then prune --apply
  • "skill X didn't work" → suggest (look for hallucinated/missing entry)
  • per-project view → projects
  • token cost → cost
  • check updates → outdated

After running, print binary output as-is. Do not summarize unless the user asks.