skillopt
Skill0 starsChanged 5 months agoMITView on GitHub
Benchmarks and optimizes idev skills using Microsoft SkillOpt. Use when asked to test a skill's quality, optimize a skill, benchmark skill performance, or run SkillOpt on a skill.
- Installs packages
5 other projects use a version of this.
Adopted by
Most recently taken up by
- GstMirabal/Token-Optimized-Agent-Pipelinetheir own version, first seen Nov 8, 2026
- mannyandrs45/agentic-skill-librarytheir own version, first seen Oct 15, 2026
- iliaal/whetstonetheir own version, first seen Jul 12, 2026
- skillberry-ai/cap-evolvetheir own version, first seen Jun 16, 2026
- harrylabsj/skillopttheir own version, first seen Jun 7, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- skillberry-ai/cap-evolve★ 69same name
- iliaal/whetstone★ 36same name
- harrylabsj/skillopt★ 2same name
- GstMirabal/Token-Optimized-Agent-Pipeline★ 1same name
- mannyandrs45/agentic-skill-library★ 0same name
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 repository38 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-contract-validationSkill
- architecture-scannerSkill
- auto-approve-policySkill
- auto-learningSkill
- backend-patternsSkill
- branch-syncSkill
- browser-testSkill
- browseSkill
- build-checkSkill
- cache-refreshSkill
- codebase-explainerSkill
- coding-standardsSkill
- commit-styleSkill
- context-switchingSkill
- continuous-learningSkill
- db-preflightSkill
- env-preflightSkill
- eval-harnessSkill
- feature-completenessSkill
- file-indexSkill
- frontend-patternsSkill
- function-extractSkill
- idev-initSkill
- import-graphSkill
- lessons-learnedSkill
- post-creation-verifySkill
- pre-ship-verifySkill
- project-mapSkill
- self-reviewSkill
- session-resumeSkill
- skill-benchmarkSkill
- smart-contextSkill
- strategic-compactSkill
- task-journalSkill
- tdd-workflowSkill
- test-coverageSkill
- test-mapSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use Microsoft SkillOpt to evaluate and improve idev skills through trajectory-driven edits and validation-gated updates.
- Very specific: line 75
If --optimize is used, SkillOpt produces best_skill.md — the optimized version.
- Distinctive: line 77
Read the optimized skill
- Distinctive: line 78
Check that it preserves the original intent
- Distinctive: line 79
Verify it doesn't overfit to the test scenarios
- Distinctive: line 84
Do NOT optimize without test scenarios — you need data to validate against
- Distinctive: line 85
Do NOT blindly adopt optimized skills — review for correctness
- Distinctive: line 86
Do NOT run optimization on skills that are already passing all scenarios
- Distinctive: line 87
Do NOT use a different model for optimization than what the skill targets
“Common” is measured: kept by at least 6 in 10 of the 4 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
SkillOpt Skill — Benchmark & Optimize Agent Skills
Use Microsoft SkillOpt to evaluate and improve idev skills through trajectory-driven edits and validation-gated updates.
Activation
- User says "benchmark this skill" or "test skill quality"
- User says "optimize this skill" or "improve this skill with SkillOpt"
- User runs
/idev:skillopt <skill-path> - User wants to know if a skill actually helps the agent succeed (not just static analysis)
How It Works
SkillOpt treats the skill document as trainable state and uses a separate optimizer model to improve it through scored rollouts. The flow:
- Generate scenarios from the skill's described behavior
- Run rollouts — execute the skill against scenarios using the target model (Codex CLI)
- Score results — check if the skill guided the agent to correct outcomes
- Reflect on failures — analyze what went wrong and why
- Propose edits — bounded add/delete/replace on the skill text
- Validate — only accept edits that improve held-out validation scores
Prerequisites
pip install --break-system-packages skilloptcodexCLI installed and authenticated (codex login)- Skill file exists at the given path
Using the Command
/idev:skillopt skills/branch-sync/SKILL.md
/idev:skillopt skills/build-check/SKILL.md --optimizeWhat Gets Generated
For each skill, a benchmark directory is created:
benchmarks/<skill-name>/
├── __init__.py
├── dataloader.py # Loads test scenarios
├── evaluator.py # Scores responses
├── rollout.py # Runs skill against scenarios
├── adapter.py # SkillOpt integration
├── config.yaml # Training config
├── skills/
│ └── initial.md # Current skill text (seed)
└── data/
├── train/items.json
├── val/items.json
└── test/items.jsonEvaluation Dimensions
Each scenario is scored on three dimensions:
| Dimension | Weight | What it checks |
| Commands | 40% | Correct commands present in response |
| Anti-patterns | 30% | No forbidden patterns (--ours, --theirs, force push, etc.) |
| Behaviors | 30% | Expected behaviors demonstrated |
A scenario passes if the weighted soft score ≥ 0.6.
After Optimization
If --optimize is used, SkillOpt produces best_skill.md — the optimized version. Review it before adopting:
- Read the optimized skill
- Check that it preserves the original intent
- Verify it doesn't overfit to the test scenarios
- Merge improvements into the original skill
Anti-Patterns
- Do NOT optimize without test scenarios — you need data to validate against
- Do NOT blindly adopt optimized skills — review for correctness
- Do NOT run optimization on skills that are already passing all scenarios
- Do NOT use a different model for optimization than what the skill targets
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.

