skill-audit 技能树体检

Audit Claude Code skill trees by inventorying skills and ranking usage from local logs.

8|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/runesleo/claude-skill-audit --skill skill-audit-runesleo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-audit 技能树体检
Source: https://github.com/runesleo/claude-skill-audit/tree/main
Command: npx skills add https://github.com/runesleo/claude-skill-audit --skill skill-audit-runesleo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you detect which Claude Code skills in your local skill tree are actually being used, which ones appear dead, and which ones likely overlap or compete in their trigger conditions, while also finding “rule-execution gaps” where rule text references a behavior that never fires.

Core Features & Use Cases

  • Inventory & usage ranking: Counts skills, hooks, and aliases, then ranks skills by real invocations using local execution logs (from a PreToolUse hook).
  • Dead skill detection: Flags archive candidates using a “30 days with zero triggers” signal combined with missing hook bindings and lack of CLAUDE.md references.
  • Rule-execution gap detection: Identifies iron-rule skills that are referenced in rules but show zero actual executions, turning “wrote rules” into measurable operational evidence.
  • Conflict diagnostics: Detects likely overlapping trigger word groups by scanning skill trigger/descriptions for common phrases.

Quick Start

Ask your assistant to run /skill-audit (or “技能树体检”) after ensuring your PreToolUse hook writes invocation data to ~/.claude/skill-usage.log.

Frequently Asked Questions about skill-audit 技能树体检

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect unused or dead skills in my Claude Code skill tree?

You can detect dead Claude Code skills by computing real usage rankings from local execution logs. This process identifies archive candidates by flagging skills with zero triggers over 30 days combined with missing hook bindings and CLAUDE.md references.

How do I find overlapping trigger conditions across multiple Claude Code skills?

Finding overlapping trigger conditions requires scanning skill descriptions for common phrases to diagnose conflicts. This approach detects likely competing trigger word groups across your skill tree, highlighting overlapping logic that may cause unintended execution paths.

Why do some Claude Code rules reference behaviors that never fire during execution?

Rules that never fire indicate a rule-execution gap where iron-rule skills are referenced in text but show zero actual executions. Auditing local execution logs identifies these gaps, turning written rules into measurable operational evidence.

Do I need a PreToolUse hook to track Claude Code skill invocations?

Yes, tracking Claude Code skill invocations requires a PreToolUse hook configured to write invocation data to a local log file. The audit process reads this execution log to compute zero-invocation indicators and generate accurate usage rankings.

What is the best way to prepare safe archive decisions for conflicting Claude Code skills?

Preparing safe archive decisions involves inventorying skills and computing real usage rankings with a human review loop. By combining zero-invocation signals, missing hook bindings, and conflict diagnostics, you can safely identify unused candidates for archiving.

Can I audit my Claude Code skill tree without local logging enabled?

Auditing a Claude Code skill tree requires reading local execution logs to compute real usage rankings and zero-invocation indicators. Without local logging enabled via a PreToolUse hook, the audit cannot detect dead skills or measure rule-execution gaps accurately.