SkillOpt
Train reusable natural-language agent skills like neural networks — without touching model weights.
- Source repo
- microsoft/SkillOpt
- Stars
- ★ 18k
- Last updated
- 1mo ago
- FARS reviewed
- Oct 01, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 54/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code · OpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- You have a benchmark and want to lift a frozen agent's accuracy without fine-tuning weights
- Not a fit if
- Teams expecting a zero-config, instant accuracy lift
- Teams unwilling to prepare benchmark and validation splits
- Maintenance
- Commits in the last 6 monthslast commit 2026-10-06+38.8 ★/day over 7 days
- Source review
- 54/100 · Major gaps
What does this agent do, and when should you use it?
SkillOpt is a Microsoft open-source text-space optimizer that treats a skill document as the trainable state of a frozen LLM agent. A separate optimizer model converts scored rollouts into bounded add / delete / replace edits on a single skill file, and in the default paper-style path an edit is accepted only when it strictly improves a held-out validation score. The loop runs rollout → reflect → aggregate → select → update → evaluate, stabilized by a textual learning-rate budget, a rejected-edit buffer, and epoch-wise slow / meta updates. The deployed artifact is a compact best_skill.md of roughly 300–2,000 tokens that runs against the unchanged target model and adds zero inference-time model calls. It ships as the skillopt PyPI package with multi-backend support (OpenAI, Azure, Claude, Qwen, MiniMax), six built-in benchmarks, a Gradio WebUI, and a nightly skillopt-sleep CLI.
SkillOpt loads a benchmark dataset plus an optional seed skill, drives scored rollouts through a backend such as openai_chat, claude_chat, qwen_chat, minimax_chat, openai_compatible, codex_exec or claude_code_exec, then has a separate optimizer model reflect on those trajectories, aggregate candidate edits, bound them with a textual learning-rate budget, and accept only edits that strictly improve a held-out validation score. Rejected edits go into a buffer to avoid repetition, epoch-wise slow / meta updates keep training stable, and the run exports a deployable best_skill.md. The v0.2.0 skillopt-sleep CLI adds a nightly offline loop (harvest → mine → replay → consolidate) gated by held-out validation. Supporting pieces include a Gradio monitoring dashboard (python -m skillopt_webui.app), six built-in benchmarks with SearchQA as the simplest reference, and integration shells for Claude Code, Codex, Copilot and Devin plus an OpenClaw reference adaptation kept in the repository.
- You have a benchmark and want to lift a frozen agent's accuracy without fine-tuning weights
- You already own an eval set plus a validation split and want an automated, reusable skill Markdown file
- You run agents inside Codex CLI or Claude Code CLI and want the gain to hold inside that agentic loop
- You want to reuse an optimized skill across model scales or on nearby benchmarks
- You want a local coding agent to review past sessions overnight and consolidate validated skills
- You need to monitor and compare runs across backends and benchmarks from a dashboard
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install skilloptpip install -e ".[webui]"
- Runtime
- Python 3.10+
How do you install or deploy this agent?
Requires Python 3.10+ and an API key for at least one model provider.
pip install skilloptFor the optional WebUI dashboard, install the webui extra from a checkout:
pip install -e ".[webui]"How do you use this agent?
After installation, prepare your dataset and configure the backend and training parameters as described in the versioned repository documentation (docs/index.md), then run the training / evaluation commands it lists.
Launch the optional monitoring dashboard:
python -m skillopt_webui.appUseful flags:
python -m skillopt_webui.app --port 7860 --host 127.0.0.1The host defaults to loopback only; pass --host 0.0.0.0 to expose it. From v0.2.0 the nightly offline self-evolution tool is a separate command:
skillopt-sleepWhat are this agent's strengths and limitations?
- The skill document is the trainable state, so deployment adds zero inference-time model calls and the artifact is typically 300–2,000 tokens
- Edits are gated on strict held-out validation improvement and a rejected-edit buffer keeps training stable and reproducible
- The README reports best or tied-best results on all 52 evaluated (model, benchmark, harness) cells across six benchmarks, seven models and three harnesses
- Multiple backends (OpenAI, Azure, Claude, Qwen, MiniMax) plus an openai_compatible option for OpenAI-protocol providers
- Optimized artifacts reportedly transfer across model scales, between Codex and Claude Code harnesses, and to nearby benchmarks
- Ships a Gradio WebUI dashboard and a nightly offline skillopt-sleep self-evolution CLI
- You supply model API keys and pay per call; training involves many rollouts
- You must prepare a benchmark dataset and a held-out validation split, or the validation gate has nothing to check against
- End-to-end training and evaluation commands and configuration live in docs/ rather than in the README, so there is no copy-paste quickstart
- The Claude Code, Codex, Copilot and Devin integration shells and the OpenClaw adaptation live in the repository, not in the PyPI wheel
- Headline results come from the project's own paper and site; no independent third-party reproduction is cited
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| SkillOpt This agent | 54 · Major gaps | CLIFree + model costs | ★ 18k | 1mo ago | Python | Codex · Claude Code · OpenAI API · Claude API |
| GEPA Reflective Optimizer | 52 · Major gaps | Library / SDKFree + model costs | ★ 7.5k | 2d ago | Jupyter Notebook | Codex · Claude Code · OpenAI API · Claude API |
| CC Workflow Studio | 50 · Major gaps | IDE extensionFree + model costs | ★ 5.5k | 3mo ago | TypeScript | ChatGPT · Codex · Claude Code |
| Firecrawl CLI | 72 · Some gaps | — | ★ 697 | 4d ago | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Evidence shows: the WebUI binds to 127.0.0.1 by default (minimal exposure), aggregation failures fall back to concatenation rather than destructive action, and a test explicitly asserts that exception text containing a Bearer token must not be logged, indicating some sensitive-data awareness; MIT license and Microsoft copyright attribution are clear. Deductions: the training loop calls external LLM backends and executes Codex/Claude Code CLI targets, yet the README does not describe the data flow of those calls, whether trajectories are uploaded, or any user confirmation step; dependencies are declared only with lower bounds (openai>=1.30.0 etc.) with no lockfile or hash pinning; the fallback is safe but silent, with no explicit user confirmation or versioned rollback of produced artifacts.
Evidence shows: the aggregation module has explicit fallback paths on optimizer RuntimeError or non-JSON output, covered by pytest cases (including invalid payload shapes), and failures are observable via UserWarning; CI runs pytest on 3.10–3.12, and dependencies are consistently declared in pyproject and requirements. Deductions: no lockfile, so dependency availability depends on upstream PyPI state; failure message wording and recovery guidance are not systematically documented and can only be inferred from tests.
Evidence shows: the README lists multiple backends (OpenAI/Azure/Claude/Qwen/MiniMax/Copilot etc.), six benchmarks, and three execution harnesses (direct chat, Codex CLI, Claude Code CLI), with documented extension contracts for new backends and benchmarks; the WebUI exposes host/port/share flags. Deductions: trigger precision is unaddressed — there is no description of when a skill activates or how false triggering is avoided; audience framing is research-oriented, with no onboarding path for non-researchers.
Evidence shows: the README is well structured and points to versioned docs, a changelog, project page, and paper; pyproject declares version 0.2.0, Python>=3.10, optional dependency groups, and CLI entry points; LICENSE is full MIT text; SECURITY.md provides a vulnerability reporting channel; CI covers tests, WebUI, and docs builds. Deductions: examples_and_faq and known_limitations appear only in scattered mentions (e.g., the gradio version-bound comment) with no dedicated examples or FAQ section; maintenance responsibility is only implied by the Microsoft org and SECURITY.md, with no named maintainers or response commitments.
Evidence shows: the deployed artifact is a compact best_skill.md (roughly 300–2000 tokens) requiring no model weight changes, so output is directly usable; the README claims best or tied-best on all 52 evaluated cells and reports GPT-5.5 gains. Deductions: these effectiveness numbers are self-reported and paper-cited, unverifiable in static review; no token/time/cost estimate for training is given, and the conditions under which the marginal gain over hand-written skills holds are not stated.
Evidence shows: the README links a paper, project page, demo video, release notes, and changelog, giving claims traceable external pointers; test files provide code-level evidence for fallback behavior. Deductions: core performance claims (all 52 cells, +23.5 points) cannot be cross-verified within the repository, and no reproducible experiment scripts or result files are included; the boundary between fact and inference is not marked, e.g., the 'zero inference-time model calls' claim lacks a stated verification method.
- Training and evaluation call external LLM backends and execute local CLI agents; the README does not state whether trajectory data leaves the environment or may contain sensitive content — audit the data flow before deployment.
- Dependencies are declared with lower bounds only and no lockfile; pin versions and run vulnerability scanning before production use.
- Performance claims in the README (best on all 52 cells, +23.5 points, etc.) are self-reported and paper-cited and cannot be verified statically; do not treat them as the sole basis for adoption.
- Aggregation failures silently fall back to concatenation, which can mask upstream API outages; add explicit alerting and artifact version rollback at the integration layer.
FAQ
What is skillopt-sleep?
Is SkillOpt free?
Is SkillOpt open source?
Is SkillOpt safe to use?
Is SkillOpt still maintained?
Who makes SkillOpt?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.