Microsoft's optimizer that trains agent skill documents like model weights, without touching the model
open sourceMITfree
SkillOpt, from Microsoft, trains reusable natural-language skills for frozen LLM agents: it treats a skill document as the trainable state, has an optimizer model turn scored rollouts into bounded add, delete and replace edits, and accepts an edit only when it improves a held-out validation score, with epochs, batches, a textual learning-rate budget and a rejected-edit buffer. The result is a compact best_skill.md that runs against the unchanged model with no extra inference calls, across direct chat, Codex CLI and Claude Code. SkillOpt-Sleep is a nightly offline companion that reviews a local coding agent's past sessions and consolidates validated skills.
Problems it solves
- automatically improve my coding agent's skill file from its past sessions
- optimize an agent's instructions against a benchmark without fine-tuning
- train a reusable skill for Claude Code or Codex
Features
- trains a skill document against a frozen model
- validation-gated edits
- epochs, batches and a textual learning-rate budget
- deployable best_skill.md artifact
- works with direct chat, Codex CLI and Claude Code
- SkillOpt-Sleep nightly self-evolution for local coding agents
Alternatives
The same job
These do what SkillOpt does.
- skill-distill Distill a good Claude Code / Codex session into a skill an open-weight model can follow to reproduce the task
- inference-optimisation Agent skill for hill-climbing local LLM serving speed on any hardware and quantization
- ARIS (Auto-claude-code-research-in-sleep) Markdown agent skills that run machine learning research overnight: idea discovery, experiments, cross-model review and paper writing.
- Chops Your AI agent skills, finally organized
- Vibe Coding Directory, comparisons and prompt and skill generators for AI coding tools
- Cangjie Skill Agent skill that distills the methods in books, long videos and podcasts into callable AI agent skills
