Install
openclaw skills install skill-improvementUse when optimizing existing Claude skills, checking skill quality, auditing skill compliance, or when skills have obvious issues. Triggers on skill optimiza...
openclaw skills install skill-improvementSystematically optimize skill quality through a diagnostic-report-select-execute-verify workflow. Ensure skills comply with Claude's official best practices for maximum effectiveness.
Core principle: If you didn't diagnose a skill, you don't know what to fix.
digraph workflow {
"1. Diagnose" [shape=box];
"2. Report" [shape=box];
"3. Select" [shape=box];
"4. Execute" [shape=box];
"5. Verify" [shape=box];
"1. Diagnose" -> "2. Report";
"2. Report" -> "3. Select";
"3. Select" -> "4. Execute";
"4. Execute" -> "5. Verify";
"5. Verify" -> "3. Select" [label="fail"];
}
Scan skill for quality issues across 4 categories.
Categories:
Process:
Output: Raw issue list
Detailed checklist: See diagnostic-checklist.md
Present findings in structured format.
Report structure:
# Skill Diagnostic Report: [name]
**Grade:** [A/B/C/D]
**Issues:** X total (Y high, Z medium, W low)
## High Priority (Y)
[Issues that prevent discovery or execution]
## Medium Priority (Z)
[Issues that impact quality or usability]
## Low Priority (W)
[Minor improvements]
For each issue include:
Report templates: See report-templates.md
User chooses which issues to fix.
Selection interface:
## Select Issues to Fix
### High Priority ⚠️
- [ ] 1. [Problem] - Impact: [brief statement]
- [ ] 2. [Problem] - Impact: [brief statement]
### Medium Priority ⚙️
- [ ] 3. [Problem] - Impact: [brief statement]
### Low Priority 💡
- [ ] 4. [Problem] - Impact: [brief statement]
**Quick Actions:**
- `Fix all high priority` - Auto-select HIGH issues
- `Fix selected` - Process checked items
- `Details [N]` - View detailed analysis
Interaction:
Apply selected fixes to skill files.
Execution rules:
.backup before changesFix application:
For each selected issue:
1. Locate exact position
2. Generate fix content
3. Preview change (diff)
4. Apply edit
5. Log change
6. Update related content if needed
Output: Modified skill files + change log
Quality standards: See quality-standards.md
Test optimization effectiveness with subagents.
Test types:
Process:
If verification fails:
Verification guide: See verification-guide.md
| Phase | Action | Output |
|---|---|---|
| 1. Diagnose | Scan skill | Issue list |
| 2. Report | Format findings | Diagnostic report |
| 3. Select | User chooses | Selected issues |
| 4. Execute | Apply fixes | Modified files |
| 5. Verify | Test changes | Verification report |
| Level | Definition | Action |
|---|---|---|
| HIGH | Prevents discovery/execution | Must fix |
| MEDIUM | Impacts quality/usability | Should fix |
| LOW | Minor improvement | Nice to fix |
Metadata problems:
Architecture problems:
Text problems:
Code problems:
❌ Auto-fix all issues without user selection ❌ Skip verification phase ❌ Ignore context (domain-specific needs) ❌ Break existing functionality ❌ Over-engineer simple skills
Dependencies:
superpowers:writing-skills - Skill authoring patternssuperpowers:test-driven-development - Verification methodologyCoordinates with:
skill-creator - Use quality standards when creating skillssuperpowers:verification-before-completion - Verify before deploying