SkillOpt trains natural-language skill documents for frozen LLM agents using scored rollouts, validation-gated edits, and deployable bestskill.md artifacts without changing model weights.
Overview
SkillOpt is a text-space optimizer that treats a skill document as trainable state while the underlying language model stays frozen. An optimizer model proposes bounded add, delete, or replace edits based on scored trajectories; in the default workflow a change is kept only when it improves a held-out validation score.
Training borrows metaphors from deep learning—epochs, batch size, learning-rate budgets, rejected-edit buffers, and slow meta updates—to make skill iteration reproducible. The output is a compact bestskill.md file, on the order of hundreds to a couple thousand tokens, used at inference without extra optimizer calls.
The framework plugs into multiple chat and exec backends, including OpenAI-compatible APIs, vendor chat targets, and agent harnesses such as Codex CLI and Claude Code CLI. Benchmarks ship as environment packages with adapters, data loaders, rollout scoring, configs, and optional seed skills; documentation describes adding new backends and benchmarks.
An optional WebUI dashboard monitors runs via Gradio, bindable to localhost by default with optional authentication for wider exposure. A related SkillOpt-Sleep preview targets nightly consolidation of validated skills from local coding agent sessions.
Key features
- Validation-gated skill document edits
- Frozen target model at deployment
- Multiple LLM and agent backends
- Benchmark adapters and scored rollouts
- Deployable bestskill.md artifacts
- Optional Gradio monitoring WebUI
- Rejected-edit buffer for stability
- Extensible backend and benchmark plugins
Use cases
- Improving agent skills on fixed models
- Benchmark-driven skill optimization
- Transferring tuned skills across harnesses
- Monitoring skill training experiments
- Offline skill consolidation for coding agents