agentleFS
wrg32786wrg32786/aigent-os/skills/skill-audit/SKILL.md

Skill Audit

Skill25 starsChanged 7 days agoMITView on GitHub

Audit skill usage and description-trigger fit. Use when finding unused skills, reviewing invocation history, or identifying missing capabilities.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the wrong skill is invoked repeatedly, or the right one never is (a description mismatch)

    line 13
  2. Distinctive:

    When a new feature feels like it should be a skill but you can't remember if you already built one

    line 14
  3. Very specific:

    After importing a skill bundle from another principal (e.g., from a public aigent-OS release)

    line 15
  4. Distinctive:

    When considering retiring a project area and want to know which skills go with it

    line 16
  5. Distinctive:

    Read the skill index and skill folder

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Audit

Auditing the skill catalog itself. As the install grows from 5 skills to 50, the catalog goes from "I remember every skill" to "I have no idea what's in here." This skill makes the catalog legible to its owner.

When to use

  • Once a quarter — hygiene pass
  • When the wrong skill is invoked repeatedly, or the right one never is (a description mismatch)
  • When a new feature feels like it should be a skill but you can't remember if you already built one
  • After importing a skill bundle from another principal (e.g., from a public aigent-OS release)
  • When considering retiring a project area and want to know which skills go with it

What it produces

A markdown report with four sections:

Section 1 — All skills, sorted by last invocation

| Skill | Last used | Total invocations (90d) | Description |
|---|---|---|---|
| /open | today | 47 | Start session, load vault context |
| /close | today | 47 | End session, commit memory |
| /skill-recall | 5 days ago | 12 | Find the skill that fits a task |
| /skill-name | 23 days ago | 3 | Example skill entry |
| /old-experiment | 89 days ago | 1 | DEAD — flagged for retirement |

Section 2 — Dead skills (last used >60 days, <3 total invocations)

These are candidates for retirement. List with:

  • Skill name + path
  • Last-used date
  • Total invocations
  • Recommendation: keep / archive / delete

Section 3 — Description mismatch detection

For each skill, compare the trigger words in its description (and .claude/skill-index.json, where kept) against the actual prompt patterns that preceded each invocation. Flag mismatches:

⚠️ /channel-audit
   Triggers: "channel status", "YPP progress", "kill a channel"
   Actual prompts that led to invocation: "how are channels doing", "performance check", "review channels"
   Suggested words to ADD to the description: "performance check", "review channels", "how are channels doing"

Section 4 — Capability gaps

Heuristic: scan recent prompts (last 30 days) where no skill was invoked and the principal manually invoked Read/Bash/Grep instead of a skill. Cluster by keywords. If a cluster has 3+ instances, flag as a capability gap.

🆕 Possible missing skill: "weekly metrics rollup"
   Inferred from prompts: "weekly metrics", "this week's numbers", "rollup the week"
   Manual tools used: 4 Bash calls per occurrence
   Suggestion: codify as /weekly-rollup skill via /skills-builder

How to execute

  1. Read the skill index and skill folder
  2. Pull session logs / invocation history (location depends on install — check vault/daily/, ~/.claude/projects/, hook output logs)
  3. For each skill: count last 90 days of invocations, last invocation date
  4. Build the four sections above
  5. Output as markdown
  6. Optionally: write report to vault/memory/SKILL_AUDIT_<YYYY-MM-DD>.md for trend tracking

Why this skill exists

Native skill matching only works if the catalog stays useful. Skills accumulate faster than they're retired. Trigger patterns drift from the principal's actual phrasing. Capability gaps go unnoticed for months. Skill audit is the corrective loop.

Anti-patterns this prevents

  • Dead skills nobody has used in 6 months, spending the listing budget (noise)
  • Skills the principal needs going unmatched because their descriptions don't match how they actually phrase things
  • Re-building a skill that already exists (catalog isn't legible to the owner)
  • Frequently-manual workflows that should be skills but never get codified

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.