skill-optimizer
Skill3 starsChanged 3 months agoMITView on GitHub
Analyzes and optimizes existing skills based on official best practices. Evaluates quality score, proposes structural improvements (Progressive Disclosure), description enhancement, and error handling additions. Use when: "improve skill", "optimize skill", "follow best practices", "review skill", "check SKILL.md", "analyze SKILL.md quality".
18 other projects use a version of this.
Adopted by
Most recently taken up by
- rohitg00/pro-workflowtheir own version, first seen Sep 29, 2026
- chujianyun/skillstheir own version, first seen Sep 25, 2026
- wulaosiji/skillstheir own version, first seen Sep 9, 2026
- 2021291696/weaver-evolvetheir own version, first seen Sep 8, 2026
- HyperVon/agent-guidance-kittheir own version, first seen Aug 30, 2026
- WiseWong6/wise-skillstheir own version, first seen Aug 18, 2026
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- rohitg00/pro-workflow★ 2.9ksame name
- mcollina/skills★ 1.9ksame name
- chujianyun/skills★ 740same name
- tdimino/claude-code-minoan★ 40same name
- AutoByteus/autobyteus-skills★ 34same name
- wulaosiji/skills★ 28same name
- xiaohei-info/oh-my-agent-skills★ 28same name
- crystian/skills★ 24same name
- Harmeet10000/skills★ 7same name
- WiseWong6/wise-skills★ 7same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- pr-review-responseSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
2
Distinctive
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
- Distinctive: line 28
With argument: Use specified skill path directly.
- Very specific: line 37
Read the target SKILL.md
- Distinctive: line 71
Output language: Follow detected skill language.
“Common” is measured: kept by at least 6 in 10 of the 13 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.
Files
Skill Optimizer
Analyze and optimize skills based on official Anthropic best practices.
Workflow
Phase 1: Skill Identification
With argument: Use specified skill path directly.
Without argument:
- Scan
skills/directory for SKILL.md files - List found skills with names
- Let user select via AskUserQuestion
Phase 2: Analysis
- Read the target SKILL.md
- Auto-detect language from content (Japanese/English)
- Analyze from these perspectives:
| Category | Points | Check Items |
| Frontmatter | 20 | YAML syntax, name/description required, security constraints |
| Description | 25 | Trigger phrases, specificity, includes both WHAT and WHEN |
| Structure | 20 | Progressive Disclosure, SKILL.md size (under 5000 words) |
| Content | 20 | Error handling, examples, clear instructions |
| Additional | 15 | references/ usage, MCP integration (if applicable) |
- Calculate quality score:
- A: 90-100 (Almost no issues)
- B: 75-89 (Minor improvements available)
- C: 60-74 (Improvement recommended)
- D: 40-59 (Needs improvement)
- F: 0-39 (Fundamental issues)
- Organize improvement proposals by category
Reference files for analysis criteria:
./references/yaml-frontmatter.md- YAML spec & constraints./references/description-writing.md- Description field best practices./references/progressive-disclosure.md- Structure design guide./references/patterns.md- Workflow patterns./references/mcp-integration.md- MCP integration guidance./references/troubleshooting.md- Common issues & solutions./references/checklist.md- Quality checklist
Phase 3: User Confirmation
Display analysis results and confirm with AskUserQuestion.
Output language: Follow detected skill language.
## Analysis Result
**Skill**: {skill_name}
**Quality Score**: {score} ({grade})
### Issues Found
#### Frontmatter ({points}/20)
- {issue_1}
- {issue_2}
#### Description ({points}/25)
- {issue_1}
...
### Improvement Proposals
Select categories to apply:
- [ ] Structure improvements (split to references/)
- [ ] Trigger improvements (description field)
- [ ] Error handling additions
- [ ] MCP integration improvementsPhase 4: Execution
For selected categories:
- Maintain original style (writing style, terminology, tone)
- Output in detected language
- Overwrite original directory (git recovery possible)
- Display updated score after execution
Edge Cases
| Case | Response |
| YAML error | Propose fix as "improvement" |
| Wrong filename | Propose rename as "improvement" |
| No improvement needed | Show score only, report "no issues" |
| Mixed Japanese/English | Detect main language, unify output |
| Multiple language templates | Optimize each in respective language |
Analysis Details
Frontmatter Checks (20 points)
---delimiters presentnamefield exists and is kebab-casedescriptionfield exists- No XML tags (< >)
- No "claude" or "anthropic" prefix in name
- Valid YAML syntax
Description Checks (25 points)
- Includes WHAT (what the skill does)
- Includes WHEN (trigger conditions)
- Under 1024 characters
- Contains specific trigger phrases
- Not too vague ("Helps with projects" is bad)
- Mentions relevant file types if applicable
Structure Checks (20 points)
- SKILL.md under 5000 words
- Uses Progressive Disclosure (references/ for detailed docs)
- Critical instructions at top
- Uses clear headers (## Important, ## Critical)
- Bullet points and numbered lists for clarity
Content Checks (20 points)
- Error handling included
- Examples provided
- Instructions are specific and actionable
- References clearly linked
- No ambiguous language
Additional Checks (15 points)
- references/ used appropriately for large skills
- MCP tool names correct (if applicable)
- Validation steps included (if applicable)
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.

