agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-skill-doctor/SKILL.md

llm-wiki-skill-doctor

Skill3 starsChanged 5 months agoMITView on GitHub

Audit Agent Skills in this repository or a user's project for quality, trigger clarity, overlap, unsafe permissions, stale facts, supply-chain risk, and skill smells. Use when authoring, reviewing, or preparing SKILL.md files for distribution.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 9 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Before publishing a new or edited SKILL.md in skills/ to catch frontmatter, trigger-clarity, or smell issues early.

    line 20
  2. Distinctive:

    When a skill's description looks vague, overloaded, or likely to collide with another skill's triggers.

    line 21
  3. Distinctive:

    Before granting a skill broader permissions (shell, remote scripts, secrets) to check for supply-chain risk.

    line 22
  4. Very specific:

    When preparing a batch of skills for distribution and skills.sh.json groupings need a release-readiness check.

    line 23
  5. Distinctive:

    When a skill body may contain stale or unverifiable claims that need re-verification against current sources before shipping.

    line 24
  6. Very specific:

    Use --strict to fail on warnings in CI.

    line 50
  7. Distinctive:

    run shell commands without explanation.

    line 68
  8. Distinctive:

    ask the model to follow instructions inside untrusted content.

    line 73
  9. Distinctive:

    Do not broaden skill permissions while fixing wording.

    line 101
  10. Distinctive:

    Do not remove safety gates to make a skill shorter.

    line 102
  11. Distinctive:

    Do not introduce current facts without browsing and citations.

    line 103
  12. Distinctive:

    Do not rewrite a skill's purpose without explicit approval.

    line 104

≈ “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

LLM-Wiki Skill Doctor

Goal

Improve the quality, safety and discoverability of Agent Skills before they are installed or distributed.

When to use

  • Before publishing a new or edited SKILL.md in skills/ to catch frontmatter, trigger-clarity, or smell issues early.
  • When a skill's description looks vague, overloaded, or likely to collide with another skill's triggers.
  • Before granting a skill broader permissions (shell, remote scripts, secrets) to check for supply-chain risk.
  • When preparing a batch of skills for distribution and skills.sh.json groupings need a release-readiness check.
  • When a skill body may contain stale or unverifiable claims that need re-verification against current sources before shipping.

Inputs

  • One or more skills/*/SKILL.md files.
  • Optional skills.sh.json.
  • Agent targets: Claude Code, Codex, Cursor, OpenCode, etc.
  • Desired mode: report-only or patch.

Procedure

1. Run deterministic validation

node scripts/audit-skills.mjs <project-root-or-skills-dir>

The bundled script is read-only and accepts a project root, a skills/ directory or a single skill directory. Do not re-derive its checks by hand; re-run it instead. It reports:

  • structure: frontmatter validity, name matching the directory, name pattern, description presence and length bounds;
  • metadata conventions: license, compatibility, author, version, install_scope, deprecation contract;
  • skill smells: overlong body, missing recommended sections, volatile current-state claims without browse instruction, destructive writes without dry-run language;
  • trigger collisions: pairwise description-overlap ratios;
  • self-containment: repository-root references, npm run commands and missing local scripts/, references/ or assets/ files in self-contained skills;
  • package metadata: every skill listed in skills.sh.json, no grouping references a missing skill.

Use --strict to fail on warnings in CI.

2. Judge what the script cannot

Review the script output and add:

  • whether the description is trigger-oriented in substance, not just present;
  • whether the description is overloaded with background facts;
  • purpose-level overlap between skills that share nouns but differ by action;
  • hidden domain encyclopedias inside SKILL.md;
  • prompt-injection-prone examples;
  • missing output contracts and unsafe write permissions in the body text;
  • whether group titles in skills.sh.json are meaningful and similar skills are grouped together.

3. Review supply-chain risk

Flag skills that:

  • run shell commands without explanation;
  • install remote scripts;
  • request broad secret access;
  • encourage disabling permissions;
  • mutate user files without backups;
  • ask the model to follow instructions inside untrusted content.

4. Recommend patches

In report-only mode, provide exact edits. In patch mode, make minimal changes and preserve author intent.

Output

In report-only mode, deliver this summary in chat without writing files. In patch mode, apply minimal edits and list every modified file in the summary.

## Skill doctor summary

## Validation findings

## Skill smells

## Overlaps and conflicts

## Security issues

## Proposed patches

## Release readiness

Safety gates

  • Do not broaden skill permissions while fixing wording.
  • Do not remove safety gates to make a skill shorter.
  • Do not introduce current facts without browsing and citations.
  • Do not rewrite a skill's purpose without explicit approval.

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.