agentleFS
danielbrodiedanielbrodie/skill-tree/skills/audit/SKILL.md

audit

Skill2 starsChanged 7 months agoApache-2.0View on GitHub

Survey the entire skill ecosystem on this machine — every registry, every installer's lock file, every cluster manifest — and produce a ranked list of findings with safe-action proposals. USE WHEN the user asks "audit my skills", "what's going on with my skill setup", "clean up my skill installs", or mentions confusion about where skills live.

  • Deletes or force-pushes

164 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use overdrive, delight and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nikafastovets-langSkill

    overdrive

    Push interfaces past conventional limits with technically ambitious implementations. Whether that's a shader, a 60fps virtual table, spring physics on a dialog, or scroll-driven reveals — make users ask "how did they do that?

    Also in 12 projects that use this

  • mtctSkill

    delight

    Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful.

    Also in 18 projects that use this

  • mtctSkill

    teach-impeccable

    One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.

    Also in 12 projects that use this

  • nikafastovets-langSkill

    arrange

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.

    Also in 6 projects that use this

  • zwy123zwySkill

    normalize

    将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。

    Also in 10 projects that use this

  • tdiminoSkill

    shape

    Plan the UX and UI for a feature before writing code. Run a structured discovery interview, then produce a design brief (.design-context.md) that guides implementation. Establishes design direction, constraints, and strategy before any code is written. Triggers on plan the design, design brief, shape the UX, before we build, design discovery.

    Also in 8 projects that use this

  • +4 more from mtct
  • +1 more from nikafastovets-lang

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 147 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before you start, read these two docs — they explain each signature and hold the per-installer fix commands:

    line 7

“Common” is measured: kept by at least 6 in 10 of the 147 edited versions of this file we could read. “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

You are the audit diagnostician. The failure-mode detection is now deterministic code (skill-tree doctor); your job is to run it, merge it with the manifest and dead-inventory checks, present a ranked picture, and apply fixes safely with the user.

Before you start, read these two docs — they explain each signature and hold the per-installer fix commands:

  1. ${CLAUDE_PLUGIN_ROOT}/docs/registry-map.md — every place skills can live on a machine
  2. ${CLAUDE_PLUGIN_ROOT}/docs/ecosystem-map.md — platforms, packagers, installers, frontmatter, and the numbered failure-mode signatures

Step 1 — run the deterministic scan

${CLAUDE_PLUGIN_ROOT}/bin/skill-tree doctor --json

This walks every registry and returns a JSON findings array. Each finding carries signature_id (matches the numbered signatures in ecosystem-map.md), severity (error/warning/info), observation, suggested_fix, confidence, and paths. Findings are pre-ranked (error → warning → info). The doctor covers the deterministic signatures:

  • #1 vercel-labs fan-out to agents not installed here
  • #2 plugin-cache version skew (a version dir present but unreferenced in installed_plugins.json)
  • #4 symlink rot (~/.claude/skills/* → missing target)
  • #5 skill in ~/.agents/skills not linked into ~/.claude/skills (info — scope vs missing fan-out)
  • #7 same skill name in two registries (resolver picks one arbitrarily)

Step 2 — add the checks the doctor doesn't cover

# Signature #3 — skill-tree's own cluster-manifest integrity (only if a manifest exists)
${CLAUDE_PLUGIN_ROOT}/bin/skill-tree check

# Signature #8 — dead inventory: installed but not invoked over the window
${CLAUDE_PLUGIN_ROOT}/bin/skill-tree archive --list --window-days 60

check validates the manifest graph; doctor validates the machine. They're complementary — run both. Signature #6 (disable-model-invocation orphan) is a manifest concept and is reported by check. Signature #9 (/reload-plugins only refreshes the plugin tier) is advisory, not a scannable state — mention it only if the user's symptom matches.

Step 3 — present each finding with its safe action

Merge the doctor findings with check / archive output, keep the doctor's ranking, and show the top 5–10. For each:

  • What — the observation (already has concrete paths)
  • Why — cite the signature_id so the user can read the full description in ecosystem-map.md
  • Safe action — the suggested_fix, cross-checked against ecosystem-map.md § "Installers"

Step 4 — apply, with confirmation, never blind

Walk findings one at a time. Apply only on a clear yes; record applied actions to the audit log; skip cleanly when declined.

Finding: symlink rot on ghost → ~/.agents/skills/ghost (gone). Safe action: rm ~/.claude/skills/ghost. Apply? (y/n/skip)

#2 findings demand extra care — read which of the three they are. The doctor distinguishes: (a) stale manifest (high confidence) — installed_plugins.json references a version dir that's gone while another is present; the present dir is the live plugin, so the fix is "do NOT delete", refresh the record; (b) duplicate extraction (medium) — an unreferenced dir whose plugin.json version matches the installed one, safe to remove after confirming; (c) version skew (medium) — an unreferenced dir at a different version. For (b) and (c), run claude plugin details <plugin>@<marketplace> and confirm which version is live before removing anything. Never pipe doctor findings straight into rm -rf.

Report-only findings are valid. Dead inventory (#8) is often intentional reserves for infrequent workflows — surface it, explain, move on. Don't fabricate an action for the sake of having one.

Notes

  • When you hit a registry, packager, or installer not in ecosystem-map.md, name it in your output and recommend a PR to add it — and, if it's a deterministically-detectable signature, a PR to add a detector to scripts/doctor.py. The doc and the doctor only stay current that way.
  • For destructive actions, default to the least-destructive equivalent (archive over rm when unarchive exists).

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.