Skip to content

What is SkillOpt?

Microsoft's open-source optimizer that trains an agent's SKILL.md like a model parameter — epochs, learning-rate budgets and a held-out validation gate, with frozen weights.

Pricing
Free
Free plan
Yes
Made by
Microsoft
Released
Updated

Compare SkillOpt alternatives

SkillOpt screenshots

SkillOpt features & details

SkillOpt is a research framework from Microsoft that treats an agent's skill document as trainable state. Instead of fine-tuning weights, it runs a training loop — rollout, reflect, aggregate, select, update, evaluate — over the markdown a frozen model reads, and borrows the machinery that makes weight-space optimisation reproducible: epochs, mini-batches, a textual learning-rate budget, a rejected-edit buffer, and epoch-wise slow/meta updates.

How the loop works

A separate optimizer model converts scored rollouts into bounded add / delete / replace edits on one skill document. In the default path an edit is only accepted when it strictly improves a held-out validation score, which is what stops the loop from drifting into confident nonsense — the failure mode of "let an LLM rewrite its own prompt" approaches.

The deployed artifact is a compact best_skill.md, typically 300–2,000 tokens, that runs against the unchanged target model and adds no inference-time model calls.

Reported results

Across six benchmarks, seven target models and three execution harnesses — direct chat, Codex CLI and Claude Code CLI — the authors report SkillOpt best or tied-best on all 52 evaluated cells. On GPT-5.5 they measure average accuracy lifts over no-skill baselines of +23.5 points in direct chat, +24.8 in the Codex agentic loop and +19.1 in Claude Code, with optimised artifacts transferring across model scales, between harnesses, and to nearby benchmarks. The method, ablations and per-cell numbers are in the arXiv paper (2605.23904).

Using it

pip install skillopt. It ships multi-backend support for OpenAI, Azure, Claude, Qwen, MiniMax and any OpenAI-compatible endpoint, plus exec backends for Codex, Claude Code, Cursor and Copilot; six built-in benchmarks; and an optional Gradio monitoring dashboard. Version 0.2.0 added SkillOpt-Sleep, a nightly offline self-evolution engine that harvests past sessions, replays recurring tasks and consolidates skills behind the same held-out gate, exposed as a skillopt-sleep CLI, together with integration shells for Claude Code, Codex, Copilot and Devin.

MIT licensed. Python 3.10+. Best suited to teams who already measure their agents and want a disciplined way to improve the instructions rather than guessing at prompt rewrites.

No reviews yet — sign in to write the first one

Apps similar to SkillOpt

The closest matches are Lenz and LangChain. See every SkillOpt alternative compared by price and free plan.

App: Lenz

Lenz IO

Audit-grade fact-checking API for AI products — eight models across five stages, adversarial debate, and a full citation trail behind every verdict.

Coding & DevelopmentFreemium

The framework and observability platform most teams use to build, debug, and ship LLM agents.

Coding & DevelopmentFreemium

Open-source LLM observability — trace, evaluate, and improve AI applications with production data.

Data & AnalyticsFreemium

App: Dify

LangGenius

An open-source platform for building production LLM applications — visual workflows, RAG, and agents in one place.

Automation & WorkflowsFreemium
Featured

Open-source testing and evals platform for MCP servers — trace tool calls, debug OAuth, and catch cross-client regressions in CI.

Coding & DevelopmentFreemium

More from Microsoft

Microsoft's low-code platform for building, testing and governing custom AI agents, workflows and apps, published to Teams, Microsoft 365 Copilot and the web.

Automation & WorkflowsPaid
New

Microsoft's AI layer for the Edge browser: Copilot reads across your open tabs to compare, summarise and act, from a sidepane or an AI new tab page.

General PurposeFreemium

Microsoft's open-source, policy-driven sandbox SDK for running agents, model-generated code, tools and plugins with only the files and network access you grant.

Coding & DevelopmentFree

Microsoft's free AI design app for cards, invitations, stickers and social posts, with AI photo edits like background removal.

Image & DesignFreemium

Microsoft's AI assistant for chat, images, voice and files, now one app for personal and work accounts on web, desktop and mobile.

General PurposeFreemium