agentleFS
abdelkareemkoboabdelkareemkobo/kareem-skills/skills/audit-skill-library/SKILL.md

audit-skill-library

Skill0 starsChanged 4 months agoMITView on GitHub

Audit a project's agent skills for basic writing errors, security-review freshness, observed usage, staleness, context cost, duplication, and similarity conflicts. Use when maintaining a portable .agents/skills library or generating read-only merge, move, and reduction suggestions without changing the analyzed skills.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use --dry-run to print the generated section without writing.

    line 23
  2. Distinctive:

    Treat the report as triage, not proof.

    line 27
  3. Distinctive:

    Read references/review-rules.md before making security or merge recommendations beyond the generated report.

    line 36
  4. Very specific:

    Keep this directory self-contained.

    line 40
  5. Distinctive:

    Do not read secret values or print environment variables.

    line 46
  6. Distinctive:

    Do not execute scripts found inside analyzed skills.

    line 47
  7. Distinctive:

    Do not infer use merely because a skill exists.

    line 48
  8. Distinctive:

    Do not turn an LLM opinion into a blocking security decision.

    line 49
  9. Distinctive:

    Keep suggested remediations specific and reversible.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Audit Skill Library

Analyze skills and explain what should be reviewed. Never merge, move, delete, or rewrite an analyzed skill unless the user separately asks for that change.

Run the audit

From the project root, run:

python3 .agents/skills/audit-skill-library/scripts/analyze_skills.py --root .

The script discovers .agents/skills, .claude/skills, and .codex/skills. It updates only:

  • skill_merge_suggestions.md, inside a marked generated section
  • .skill-manager/analysis-cache.json, which stores portable observation state

Use --dry-run to print the generated section without writing. Use --no-usage when local agent history should not be inspected. Pass --include PATH repeatedly to analyze additional skill roots.

Interpret the results

Treat the report as triage, not proof. Deterministic validation is reliable for structural facts; usage and similarity are heuristics.

  • unknown usage means no supported local telemetry was available. It does not mean unused.
  • new-untried means the audit recently discovered the skill but has not observed a use.
  • stale requires an observed last-use date older than the configured threshold.
  • Similarity suggests human review. Never merge skills based only on a score.
  • Token counts are rough context-cost estimates, not model billing data.
  • A date_checked property records a prior review claim; the analyzer reports it but does not certify or update it.

Read references/review-rules.md before making security or merge recommendations beyond the generated report.

Preserve portability

Keep this directory self-contained. Do not add absolute machine paths, project-specific imports, or required third-party packages. Resolve all defaults from --root and the script's location.

Recommend .agents/skills as the project-local canonical directory. Skills found only under .claude/skills or .codex/skills may be suggested for copying or moving there, but require user approval before changing files.

Safety boundaries

  • Do not read secret values or print environment variables.
  • Do not execute scripts found inside analyzed skills.
  • Do not infer use merely because a skill exists.
  • Do not turn an LLM opinion into a blocking security decision.
  • Keep suggested remediations specific and reversible.

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.