SkillOpt is a Microsoft Research text-space optimizer that trains a reusable natural-language skill document for a frozen LLM agent the way deep learning trains weights: trajectory-driven bounded edits, a textual learning rate, and a held-out validation gate, exporting a deployable best_skill.md.
SkillOpt turns the skill file into a trainable parameter, and the part that matters is not the optimization loop but the gate: an edit is kept only when it strictly improves a held-out score, which is exactly the discipline hand-written skills never get.
What it is #
A Python package (skillopt on PyPI) where the target model runs scored rollout batches with the current skill, a separate optimizer model proposes bounded add, delete, and replace edits, an edit budget clips each step, and candidates are accepted only on strict validation improvement, with rejected edits feeding a negative-feedback buffer.
The deployable artifact is one compact markdown file, median around 920 tokens, consumed by the unchanged target model with zero extra inference-time calls.
The paper reports best or tied-best results across six benchmarks, seven models, and three harnesses, including runs through Codex CLI and Claude Code, with skills transferring across model scales and between harnesses.
CLI tooling, a Gradio dashboard, multiple chat backends, and v0.2.0 integration shells for Claude Code, Codex, Copilot, Devin, and OpenClaw; a nightly SkillOpt-Sleep mode harvests and consolidates behind the same gate.
MIT, from Microsoft Research Asia with university collaborators, Python 3.10+.
Status #
Research code with unusually strong product trappings: 18.3k stars and 1.7k forks as of 2026-10-13, created 2026-05-08, with 95 open issues and pull requests as of 2026-11-29.
Latest release v0.2.0 (2026-07-02) on PyPI, still the newest as of 2026-11-29, though main has run 459 commits past it as of 2026-12-02 (the 2026-10-29 pushes landed two security fixes: Sleep no longer imports or runs code from the project directory, and the web UI refuses to expose training controls without auth; the 2026-11-04 to 11-07 pushes added provenance tracking on proposed edits, protected-region overlap refusal, Sleep OAuth-replay and legacy-adoption guards, and SearchQA empty-answer handling; the 2026-11-10 batch hardened Sleep harvesting and scoring: cutoffs compared as instants, unreadable transcript lines skipped, api-request-blob records no longer harvested as user prompts, the judge’s 0-to-1 score contract enforced before gating, learned items kept intact across apply_edits, self-reported tool calls not credited on a measured tool route, and recall of a held-out task’s twin blocked as a leak, alongside OfficeQA and livemath scoring fixes, DocVQA evaluator tests, and an ALFWorld output confinement; the 2026-11-17 batch added an opt-in leave-one-out edit ablation for accepted gate trials, a force-written slow-update skill re-measure, a dsh host peer-dependency declaration, Sleep scope-forwarding and Windows scheduled-task and Claude/Codex home-expansion fixes, and eval-loader fixes for OfficeQA numeric-zero, DocVQA stray-tag, and SearchQA single-string gold answers; the 2026-11-21 batch kept a decided night through an edit-ablation replay failure, documented Standard Compute as an openai_compatible provider example, added hard-selection-accuracy reporting to run summaries, taught the env loader to ignore a pre-answer
Strengths #
- Validation-gated by construction, and the ablations show why: an ungated rewrite pushed one benchmark score down.
- The artifact is small, auditable markdown, so trained skills remain readable and reviewable as practitioner rules.
- Documented transfer across model scales and between Codex and Claude Code, which is what makes the artifact worth training at all.
- A working ecosystem: PyPI releases, multi-backend support, and third-party adoptions within months.
Cautions #
- The guarantee is only as good as the automatic scorer: open-ended or subjective tasks weaken the gate, which the authors acknowledge.
- Optimization is not free; training reached hundreds of millions of tokens on academic benchmarks, with community-quoted costs of a few dollars per task plus the engineering cost of a verifier and a representative held-out split.
- Single-document scope: it trains one skill file, not a skill library.
- All results are self-reported on the authors’ benchmarks; no independent replication was found as of 2026-09-18, and the NeurIPS Spotlight and hackathon recognitions are the repo’s own announcements.
Pricing #
Free and open source under MIT. The costs are training-time tokens on your own API budget and the verifier engineering.
Compared to #
- Anthropic Agent Skills: hand-authored SKILL.md folders, free to write but unvalidated; a natural workflow is hand-authoring a seed and letting SkillOpt train it against scored tasks.
- Agent Skills open standard: the portability layer; SkillOpt’s output is standard-compatible markdown, so trained artifacts slot into ordinary skill folders.
- Ouroboros: wraps whole build loops with verification gates; SkillOpt distills experience into one portable artifact, and the two address different layers of self-improvement.
Bottom line #
Recommended for teams that already have scored tasks and a verifier, who want their skill files to earn their place empirically. Not for subjective domains without reliable scoring, or anyone expecting trained-skill magic without building the evaluation harness first.
Changes #
- 2026-08-30 - Created in the owner-directed star sweep as a Skills note.
- 2026-09-25 - Refreshed the volatile numbers (17,456 stars, 1,630 forks, 53 open issues and PRs); release v0.2.0 and the commit count unchanged.
- 2026-09-29 - Refreshed the volatile numbers (17,824 stars, 1,672 forks, 55 open issues and PRs); release v0.2.0 and the commit count unchanged.
- 2026-10-07 - Added the microsoft/SkillOpt star history chart to the Status section.
- 2026-10-20 - Rotation re-verification: every cited URL re-fetched live except the VentureBeat piece, which answered HTTP 429 rate limits on two tries this run (last live fetch 2026-10-18); all other claims held and the volatile figures refreshed (55 open issues and PRs, 369 commits past v0.2.0, pushed 2026-10-18 with two further Sleep fixes).
- 2026-10-24 - Volatile refresh: the 2026-10-23 pushes landed three further fixes (Sleep harvest checkpoint keyed by project and transcript source, generated Codex replay sessions excluded from harvest, a dsh 0.2.x executor-bridge fix), moving main to 372 commits past v0.2.0 with 58 open issues and PRs; v0.2.0 still the newest release.
- 2026-10-26 - Volatile refresh: the 2026-10-25 pushes landed six commits (an offline reproducibility checker for saved evaluation artifacts, keyless Parallel search for OfficeQA rollouts, Sleep fixes harvesting pasted briefs and capping re-run hook templates, plus test and import organization), moving main to 378 commits past v0.2.0 with open issues and PRs down to 52; v0.2.0 still the newest release.
- 2026-10-31 - Volatile refresh: the 2026-10-29 pushes landed two security fixes (Sleep no longer imports or runs code from the project directory, the web UI refuses training controls without auth), moving main to 380 commits past v0.2.0 with open issues and PRs up to 62; v0.2.0 still the newest release.
- 2026-11-07 - The repo’s News section (added 2026-11-04) announces NeurIPS 2026 Spotlight acceptance and a first-place Executive Challenge win at the Microsoft Global Hackathon 2026, the first venue signal the note has recorded for the paper, whose arXiv page remains the preprint; volatile refresh alongside: main pushed 2026-11-07 with provenance tracking on proposed edits, protected-region overlap refusal, Sleep OAuth-replay and legacy-adoption guards, and SearchQA empty-answer handling, moving main to 391 commits past v0.2.0 with open issues and PRs up to 73; v0.2.0 still the newest release.
- 2026-11-12 - Volatile refresh: the 2026-11-10 batch hardened Sleep harvesting and scoring (cutoffs compared as instants, unreadable transcript lines skipped, api-request-blob records no longer harvested as prompts, the judge’s 0-to-1 score contract enforced before gating, learned items kept across apply_edits, self-reported tool calls not credited on a measured route, held-out-twin recall blocked as a leak) alongside OfficeQA and livemath scoring fixes, DocVQA evaluator tests, and an ALFWorld output confinement, moving main to 409 commits past v0.2.0 with open issues and PRs up to 86; v0.2.0 still the newest release.
- 2026-11-17 - Rotation re-verification: every cited URL re-fetched live and all claims held (the arXiv paper still the preprint at v2, the project page serving 200 and now carrying the NeurIPS Spotlight badge plus a companion-project link to SkillLens, the MSR blog unchanged, v0.2.0 still the newest release, The Decoder piece unchanged, VentureBeat answering 429 again through both fetch clients with its last live fetch 2026-10-18), the default branch unchanged since 2026-11-10 with main still 409 commits past v0.2.0, and open issues and PRs moved up to 93; no claims moved.
- 2026-11-22 - Volatile refresh: the 2026-11-17 batch (opt-in leave-one-out edit ablation for accepted gate trials, force-written slow-update skill re-measure, dsh host peer-dependency declaration, Sleep scope-forwarding and Windows scheduled-task and Claude/Codex home-expansion fixes, OfficeQA numeric-zero, DocVQA stray-tag, and SearchQA single-string gold loader fixes) and the 2026-11-21 batch (decided nights kept through edit-ablation replay failures, Standard Compute documented as an openai_compatible provider example, hard-selection-accuracy run reporting, pre-answer
<answer>tags ignored, curly-apostrophe refusal detection) moved main to 429 commits past v0.2.0 with open issues and PRs down to 80; v0.2.0 still the newest release. - 2026-11-24 - Added the SkillEvaluator See also link (NVIDIA’s output-quality evaluator for skills, admitted to evaluation-review), the measurement side this trainer optimizes against.
- 2026-11-25 - Volatile refresh: the 2026-11-23 batch landed seven fixes (scheduled Sleep jobs run with the PATH they were scheduled from, a non-zero Claude CLI exit a failed call, the same learned item no longer written twice on replace, exact and keyword scores matched on token boundaries, SpreadsheetBench codegen routed to the configured target backend, a boxed answer scored as the choice it names, numeric gold answers scored as text), moving main to 436 commits past v0.2.0 with open issues and PRs up to 97; v0.2.0 still the newest release.
- 2026-11-29 - Rotation re-verification and volatile refresh: every cited URL re-fetched live and all claims held (the arXiv paper still the v2 preprint, the project page and the MSR blog unchanged, v0.2.0 still the newest release, The Decoder unchanged, and VentureBeat answering 200 after the 429 walls of 2026-10-20 and 2026-11-17, its cost figures and scorer caveat unchanged); the 2026-11-28 batch landed twenty commits (provider API keys redacted from config.json and summary.json, Sleep symlinked-directory harvest matching and whole-word feedback phrase matching, gate metric normalization with the evaluation gate’s CLI arguments wired, null and non-numeric metrics handled in scoring, a trajectory budget and parse retries for slow-update and meta skills, plus OfficeQA, DocVQA, SearchQA, SpreadsheetBench, and ALFWorld scorer fixes), moving main to 456 commits past v0.2.0 with open issues and PRs down to 95.
- 2026-12-02 - Volatile refresh: the README’s 2026-12-01 and 12-02 pushes added an AgentOpt series section (SkillOpt beside EnvOpt, EvalOpt, and Freehand, each with an arXiv paper, repository, and project page), recorded in Status; main moved to 459 commits past v0.2.0 with v0.2.0 still the newest release.
See also #
- Skills Feature Matrix - the category comparison this note joins
- Anthropic Agent Skills - the format it trains artifacts for
- Agent Skills open standard - the portability layer
- Ouroboros - the loop-level counterpart in self-improvement
- SkillEvaluator - NVIDIA’s output-quality evaluator for skills, the measurement side this trainer optimizes against
References #
https://github.com/microsoft/SkillOpt - repository, method, benchmarks, license; News section announcing the NeurIPS 2026 Spotlight acceptance and the Microsoft Global Hackathon 2026 Executive Challenge first place (raw README fetched 2026-11-07, re-fetched 2026-11-29, the News section unchanged); repo state 456 commits past v0.2.0, pushed 2026-11-28, 95 open issues and PRs (GitHub API and compare endpoint, as of 2026-11-29; re-fetched 2026-12-02 with 459 commits past v0.2.0, pushed 2026-12-02, 105 open issues and PRs, and the README’s AgentOpt series section added)
https://arxiv.org/abs/2605.23904 - the paper behind the method and results (re-fetched 2026-11-29, still the v2 preprint, last revised 2026-05-25)
https://microsoft.github.io/SkillOpt/ - project page, ablations, and transfer numbers (re-fetched 2026-11-29, unchanged, still carrying the NeurIPS Spotlight badge and linking the companion SkillLens project page)
https://www.microsoft.com/en-us/research/blog/skillopt-agent-skills-as-trainable-parameters/ - the MSR blog on skills as trainable parameters (re-fetched 2026-11-29, unchanged)
https://github.com/microsoft/SkillOpt/releases/tag/v0.2.0 - release status and harness integrations (re-fetched 2026-11-29 through the releases endpoint, still the newest release)
https://venturebeat.com/orchestration/microsofts-open-source-skillopt-automatically-upgrades-ai-agent-skills-without-touching-model-weights - the interview with cost figures and the scorer caveat (re-fetched 2026-11-29 at 200 after 429s on 2026-10-20 and 2026-11-17; the community-quoted $1 to $5 per-task figure and the open-ended-task caveat unchanged)
https://the-decoder.com/microsofts-skillopt-boosts-gpt-5-5-by-using-nothing-but-a-trained-markdown-file/ - coverage noting the acknowledged limitations (re-fetched 2026-11-29, unchanged)