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.
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llm-wiki-adr-memorySkill
- llm-wiki-agent-memory-bridgeSkill
- llm-wiki-archiveSkill
- llm-wiki-capture-pipelineSkill
- llm-wiki-chooseSkill
- llm-wiki-claim-anchorsSkill
- llm-wiki-company-flow-auditSkill
- llm-wiki-conflict-resolverSkill
- llm-wiki-critique-auditSkill
- llm-wiki-designSkill
- llm-wiki-doctorSkill
- llm-wiki-domain-packSkill
- llm-wiki-ecosystem-registrySkill
- llm-wiki-evalSkill
- llm-wiki-eval-toolingSkill
- llm-wiki-export-publishSkill
- llm-wiki-faqSkill
- llm-wiki-github-actionSkill
- llm-wiki-gitlab-operating-modelSkill
- llm-wiki-human-first-designSkill
- llm-wiki-implementation-deep-diveSkill
- llm-wiki-ingestion-stackSkill
- llm-wiki-interviewSkill
- llm-wiki-local-first-stackSkill
- llm-wiki-mcp-integrationSkill
- llm-wiki-migration-plannerSkill
- llm-wiki-model-policySkill
- llm-wiki-news-radarSkill
- llm-wiki-obsidian-hardeningSkill
- llm-wiki-orientSkill
- llm-wiki-paf-adoptionSkill
- llm-wiki-privacy-redactorSkill
- llm-wiki-provenanceSkill
- llm-wiki-refactorSkill
- llm-wiki-repo-docsSkill
- llm-wiki-retrieval-architectSkill
- llm-wiki-security-reviewSkill
- llm-wiki-setupSkill
- llm-wiki-skill-compilerSkill
- llm-wiki-source-refreshSkill
- llm-wiki-team-rolloutSkill
- llm-wiki-threat-modelSkill
- llm-wiki-trust-auditSkill
- llm-wiki-zero-to-working-wikiSkill
- wiki-ingestSkill
- wiki-lintSkill
- wiki-querySkill
- wiki-triageSkill
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
- Very specific: line 20
Before publishing a new or edited SKILL.md in skills/ to catch frontmatter, trigger-clarity, or smell issues early.
- Distinctive: line 21
When a skill's description looks vague, overloaded, or likely to collide with another skill's triggers.
- Distinctive: line 22
Before granting a skill broader permissions (shell, remote scripts, secrets) to check for supply-chain risk.
- Very specific: line 23
When preparing a batch of skills for distribution and skills.sh.json groupings need a release-readiness check.
- Distinctive: line 24
When a skill body may contain stale or unverifiable claims that need re-verification against current sources before shipping.
- Very specific: line 50
Use --strict to fail on warnings in CI.
- Distinctive: line 68
run shell commands without explanation.
- Distinctive: line 73
ask the model to follow instructions inside untrusted content.
- Distinctive: line 101
Do not broaden skill permissions while fixing wording.
- Distinctive: line 102
Do not remove safety gates to make a skill shorter.
- Distinctive: line 103
Do not introduce current facts without browsing and citations.
- Distinctive: line 104
Do not rewrite a skill's purpose without explicit approval.
≈ “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.
Files
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.mdinskills/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.jsongroupings 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.mdfiles. - 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,
namematching 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 runcommands and missing localscripts/,references/orassets/files inself-containedskills; - 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.jsonare 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 readinessSafety 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.
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
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.

