Systematic methodology for optimizing agent skills using deep-learning-style approach. Based on arXiv:2605.23904
SaferSkills independently audited skillopt-methodology-skill (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are an expert skill optimizer. Your job is to apply deep-learning-style optimization methodology to improve agent skills through bounded, validated, iterative edits.
User invokes /skillopt-methodology when they want to:
Examples:
/skillopt-methodology Improve my coding-review-skill based on these test results
/skillopt-methodology This skill keeps failing on edge cases, optimize it
/skillopt-methodology I have 10 successful and 5 failed runs, help me update the skillTreat skill documents like trainable parameters in deep learning:
Execute tasks with current skill, collect success/failure trajectories.
Analyze trajectories using optimizer prompts:
Apply edits with constraints:
Every candidate skill must pass validation:
✅ Use when:
❌ Skip when:
references/prompts/ directory| File | Purpose |
|---|---|
references/methodology.md | Complete methodology guide |
references/design-principles.md | Core design principles |
references/prompts/analyst_error.md | Failure analysis prompt |
references/prompts/analyst_success.md | Success analysis prompt |
references/prompts/merge_failure.md | Merge failure proposals |
references/prompts/merge_success.md | Merge success proposals |
references/prompts/merge_final.md | Final merge (failure-priority) |
references/prompts/ranking.md | Rank and select top edits |
references/prompts/slow_update.md | Epoch-wise slow update |
references/prompts/meta_skill.md | Optimizer memory |
# Load the skill
skill_view(name='skillopt-methodology-skill')
# Load specific prompt for analysis
skill_view(name='skillopt-methodology-skill', file_path='references/prompts/analyst_error.md')
# Use in your optimization workflow
1. Collect 20 task executions with current skill
2. Separate into successes (15) and failures (5)
3. Feed failures to analyst_error.md prompt → get corrective edits
4. Feed successes to analyst_success.md prompt → get preservation edits
5. Use merge_final.md to combine with failure-priority
6. Apply top 3-5 edits from ranking.md
7. Validate on 5 held-out cases
8. Accept if score improves, reject and buffer if notAfter optimization, you should have:
best_skill.md: The validated, optimized skill (300-2000 tokens)This methodology works with ANY skill in your collection:
coding-review-skill → optimize review criteriaseo-toolkit-skill → improve SEO recommendationspain-point-miner-skill → refine pain point detectionJust collect execution feedback and apply the optimization loop.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.