skillopt-sleep
Skill18k starsChanged 4 months agoMITView on GitHub
Use when the user wants the dsh agent to self-improve from past usage, asks about a nightly/offline 'sleep' or 'dream' cycle, skill/memory consolidation, or says things like 'make my agent better the more I use it', 'review my past sessions', 'learn my preferences', 'consolidate what you learned', 'run the sleep cycle', or wants to schedule background self-optimization. Drives the skillopt_sleep engine through the skillopt_* tools: harvest past sessions -> mine recurring tasks -> replay via a selected backend -> consolidate validated skills behind a held-out gate.
- Installs packages
2 other projects use a version of this, 2 of them edited.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- Hassaan146/claude-skillsedited, first seen Jul 25, 2026
- wm2313/my-skillsedited, first seen Jul 2, 2026
Who's talking about microsoft/SkillOpt
- @camilleroux.com“SkillOpt (Microsoft) : un optimizer de skills en langage naturel pour agents LLM. Le skill s'améliore via …”Bluesky · Aug 21, 2026 · 6 likes
- A Hacker News story“SkillOpt: Executive Strategy for Self-Evolving Agent Skills”Hacker News · Jul 6, 2026 · 2 points
- bradygaster/squad“Think about using SkillOpt”GitHub · Sep 17, 2026 · 1 reactions
- All-The-Vibes/ATV-Phoenix“feat(learn): adopt SkillOpt-style bounded-edit proposer -- keep the measured-gain gate”GitHub · Jul 29, 2026 · 1 reactions
- @agentpalisade.bsky.social“SkillOpt treats a single skill document as trainable state, editing it through validation-gated updates …”Bluesky · Jul 28, 2026 · 1 likes
The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 51
Talked about on GitHub, Bluesky and Hacker News (51 times).
On GitHub · 48
- Sep 17, 2026Think about using SkillOpt — bradygaster/squad1 reaction · 3 comments
- Jul 29, 2026feat(learn): adopt SkillOpt-style bounded-edit proposer -- keep the measured-gain gate — All-The-Vibes/ATV-Phoenixsays it tested it1 reaction
- Oct 24, 2026[Plugin]: SkillOpt-Sleep (dsh-skillopt) — kaixinbaba/dshub1024-submissions0 reactions
- Oct 18, 2026A skill trainer: optimize a plugin's skill with SkillOpt, starting from Jira — lucabro81/mercury-fw0 reactions · 8 comments
- Oct 15, 2026[P1][Research] Evaluate SkillOpt mechanisms for role guidance and offline reliability evaluation — catchmeee2002/cc-builder-loop0 reactions
43 more on GitHub
- Oct 11, 2026Spike: validate SkillOpt for optimising Snotra's skills — kkrafft1999/snotra0 reactions
- Oct 8, 2026[Candidate] microsoft/skillopt/plugins/cursor/skills/skillopt-sleep - skillopt-sleep — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 8, 2026[Candidate] microsoft/skillopt/plugins/claude-code/skills/skillopt-sleep - skillopt-sleep — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 5, 2026feat: integrate an eval-gated skill improvement loop — Goldziher/ai-rulez0 reactions · 1 comment
- Oct 4, 2026Clean up the Google Sheet so the graph gets real topics (Category values, duplicates, empty tabs) — Amitro123/knowledgeBase-Agent0 reactions · 3 comments
- Oct 3, 2026AET learning plane: governed intake of EvoSkill and SkillOpt -- pinned provenance, read-only security review, PROPOSED registration (nothing executed) — bstBizEra/badf0 reactions
- Sep 30, 2026agent-skills.github.microsoft.skillopt: init at 0.2.0 — sudosubin/agents.nix0 reactions
- Sep 29, 2026[Research] Trajectory diagnosis → evidence eval → validation-gated improvement — serevy/agent-kpt0 reactions · 4 comments
- Sep 29, 2026feat(catalog): add SLSA provenance review skill — turenlabs/turenos0 reactions · 1 comment
- Sep 28, 2026Skills Optimiser — Beneficial-AI-Foundation/formal-verification-skills0 reactions
- Sep 27, 2026[Research] Agentic Evidence / Skill Evolutionの外部事例をPDDRへどう接続するか — serevy/pddr-kit0 reactions · 4 comments
- Sep 12, 2026Build Ascendant skill assurance and tighten council routing — jeffgreen726-creator/openclaw-skills0 reactions
- Sep 10, 2026Ship the strict-Dart guidance as a skill, and keep it in sync with the rules — peter-trost/flutter_agent_lints0 reactions · 2 comments
- Aug 23, 2026Prototype: SkillOpt evaluation spike - skill optimizer behind the §31 port (ADR-016) — rian010194/cortxt0 reactions · 2 comments
- Aug 15, 2026Eval infrastructure: measure whether a skill rewrite still routes — Lancetnik/slop-writer0 reactions
- Jul 28, 2026[FEATURE] Validation-gated skill self-optimization (SkillOpt: rewrite-reject-validate loop) — Lexus2016/hermes-agent-evolution0 reactions · 1 comment
- Jul 28, 2026feat: add tk-skill-diagnose for empirical Agent Skill behavior and efficiency diagnosis — MTGVim/tiger-kit0 reactions · 1 comment
- Jul 27, 2026[FEATURE] Validation-gated skill self-optimization (SkillOpt: rewrite-reject-validate) — Lexus2016/hermes-agent-evolution0 reactions · 2 comments
- Jul 23, 2026docs(evaluating-skill-quality): SkillOpt pilot precondition-check finding (#319) — tvna/gitapex0 reactions
- Jul 22, 2026Evaluate & integrate Microsoft SkillOpt-Sleep (self-optimizing agent skills) into workspaces — imran31415/kube-coder0 reactions · 1 comment
- Jul 22, 2026Adopt SkillOpt-style validation gate and edit-optimization discipline in the improve loop — itlackey/akm0 reactions · 2 comments
- Jul 22, 2026Self-improvement loop over skills/harness (SkillOpt discipline, AIDE² safeguards) — michaeljabbour/amplifier-app-tui0 reactions · 2 comments
- Jul 16, 2026Optimization: Implement SkillOpt-style Loop for benchmarks — boston-harness-group/remote-factorysays it tested it0 reactions · 2 comments
- Jul 10, 2026fix(eval): move the SkillOpt git pin out of published metadata (unblocks the pydocs-mcp-eval publish) — msobroza/pydocs-mcp0 reactions
- Jul 4, 2026chore(skillopt-sleep): report review findings on vendored engine to upstream microsoft/SkillOpt — pleaseai/claude-code-plugins0 reactions · 2 comments
- Jul 3, 2026Audit candidate: microsoft/SkillOpt — xiaolai/nlpm0 reactions · 2 comments
- Jul 1, 2026Implement agent skill learning runtime surface — pomazanbohdan/vida-stack0 reactions
- Jun 28, 2026Eval framework: run-record telemetry contract (Option 1 keystone) — jstoup111/ai-conductor0 reactions · 2 comments
- Jun 26, 2026docs(governance): ADR-135 — agent-skill evolution gate (held-out validation, propose-and-test) [IL-559] — CarmiBanxe/banxe-architecture0 reactions · 1 comment
- Jun 16, 2026SkillOpt ビジュアル解説ページの追加 — 53able/docs-site0 reactions
- Jun 12, 2026[Feature] Implement skill_improver trigger:'scheduled' as a sleep-time consolidation pass (SkillOpt-Sleep shape) — ZaxbyHub/opencode-swarm0 reactions · 2 comments
- Jun 12, 2026[Feature] Validation-gated skill changes (SkillOpt pattern): replay-based strict-improvement gate + rejected-edit buffer before any skill is promoted — ZaxbyHub/opencode-swarm0 reactions · 2 comments
- Jun 8, 2026feat(sme): enable external skill research — ZaxbyHub/opencode-swarm0 reactions · 1 comment
- Jun 8, 2026Track opt-in SkillOpt-style external skill curation pipeline — ZaxbyHub/opencode-swarm0 reactions · 2 comments
- Jun 8, 2026[프로젝트] SkillOpt: 자연어 스킬 문서를 평가로 개선하는 방식 — sergiobuilds/til0 reactions · 1 comment
- Jun 7, 2026Add optional SkillOpt-based skill optimization setting — can1357/oh-my-pi0 reactions · 7 comments
- Jun 5, 2026Actually use microsoft/SkillOpt as an optional optimizer backend (feature 006) — objectivlabs/reposkillopt0 reactions
- Jun 5, 2026feat: SkillOpt integration + gardener memory + anti-cheat gate (建议 1+2+4) — leonluo2008-ops/hermes-skill-toolkit0 reactions · 1 comment
- Jun 1, 2026Add daily paper summary for 2026-06-01: SkillOpt — SihoonSung/Daily-Paper-Summary0 reactions
- May 29, 2026[scout:integrate] SkillOpt — Self-Evolving Agent Skills (skill optimization loop) — baekenough/oh-my-customcode0 reactions · 3 comments
- May 27, 2026[분석] SkillOpt: frozen LLM 에이전트 스킬을 텍스트 공간에서 최적화 (Microsoft Research) — roomedia/ax-trend0 reactions
- May 26, 2026[Roadmap 68] SkillOpt-lite inside adaptive skill amendments — HybridAIOne/hybridclaw0 reactions · 3 comments
- May 12, 2026may 2026 — kimtth/azure-openai-llm-notes0 reactions
On Bluesky · 2
- Aug 21, 2026SkillOpt (Microsoft) : un optimizer de skills en langage naturel pour agents LLM. Le skill s'améliore via des rollouts scorés, sans toucher… — @camilleroux.com6 likes and reposts · 2 replies
- Jul 28, 2026SkillOpt treats a single skill document as trainable state, editing it through validation-gated updates until a frozen model improves, then… — @agentpalisade.bsky.social1 likes and repost
On Hacker News · 1
- Jul 6, 2026SkillOpt: Executive Strategy for Self-Evolving Agent Skills2 points
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- Hassaan146/claude-skills★ 1812% same
- wm2313/my-skills★ 012% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- skillopt-sleepSkill
- skillopt-sleepSkill
- skillopt-sleepSkill
- skillopt-sleepSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Prefer the tools over hand-editing files:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SkillOpt-Sleep: usage-driven self-evolution for the dsh agent
SkillOpt-Sleep is Microsoft's SkillOpt deployment-time companion engine: it reviews your past sessions (harvest), mines recurring tasks (mine), replays them through a selected backend (replay), and consolidates what it learns into skill documents behind a held-out validation gate (consolidate).
This skill drives the engine through the 7 skillopt_* tools exposed by the
dsh-skillopt plugin. The default mock backend makes no model calls, which is
useful for verifying the plumbing; a real backend consumes your API budget.
When to use
- "make my agent better the more I use it" / "learn my preferences across sessions"
- a one-off offline self-evolution / sleep / dream run (immediate or scheduled)
- review past sessions/trajectories and distill recurring tasks
- consolidate feedback into
AGENTS.md/SKILL.md/ managed skills - schedule (cron) the cycle, or adopt a staged proposal
The cycle (six stages)
- Harvest — read-only scan of supported local session records → digests
- Mine — digests → recurring task records (intent + outcome labels + checkable refs)
- Replay — re-run tasks under the current skill+memory with the selected backend → (hard, soft) scores
- Consolidate — reflect on failures → propose bounded edits → validation gate on a held-out slice (default: accept only on strict improvement)
- Stage — write accepted proposals to
<project>/.skillopt-sleep/staging/<timestamp>/. Live files are unchanged. A rejected run still has a report but no proposal files. - Adopt — explicit (or operator-configured
--auto-adopt) copies staged files over live ones, backing up first.
Driving it
Prefer the tools over hand-editing files:
| Tool | Behavior |
skillopt_status | state, engine availability, latest staged proposal & report |
skillopt_dry_run | full preview (harvest+mine+replay), stages nothing |
skillopt_run | full cycle, stages a proposal (live files unchanged by default) |
skillopt_adopt | apply latest staged proposal (with backup) — the live-change boundary |
skillopt_harvest | read-only show/export of mined tasks |
skillopt_schedule / skillopt_unschedule | install/remove the nightly cron entry for this project |
Typical flow:
# 1. check state (default mock backend, zero cost)
skillopt_status
# 2. preview the cycle
skillopt_dry_run project=<dir> source=<claude|codex|…>
# 3. real run (consumes the selected backend's API budget)
skillopt_run project=<dir> backend=<codex|claude|…> preferences="Prefer pytest; keep commits imperative."
# 4. review the report, then adopt
skillopt_adopt project=<dir>
# 5. schedule nightly at 03:17
skillopt_schedule project=<dir> hour=3 minute=17 backend=<codex>Parameters
| Parameter | Default | Meaning |
project | config or cwd | project directory to evolve |
backend | mock | mock|claude|codex|copilot|cursor|pi|opencode|handoff|azure_openai (mock = no model calls) |
source | config | transcript source: claude|codex|copilot|cursor|pi|opencode|auto |
model | backend default | replay model override |
maxTasks | 40 | mined-task cap |
preferences | empty | house rules for the reflection prior (e.g. "always use async/await") |
Configuration (cordis.yml / bundle patch)
- insert:
- id: skillopt
name: './src/index.js'
config:
backend: codex
project: /path/to/project
preferences: 'Always use async/await'
# auto-adopt is OPERATOR-ONLY — the model cannot set it
autoAdopt: falseAdvanced engine keys go in ~/.skillopt-sleep/config.json:
gate_mode (on/off), gate_metric (hard/soft/mixed), gate_no_regression,
dream_rollouts, recall_k, evolve_memory / evolve_skill.
Hard rules
- Never hand-edit
AGENTS.md/SKILL.mdaroundskillopt_adopt; let the engine's explicit adopt (or operator-configured--auto-adopt) apply the staging manifest, backing up live files first. - Harvest is read-only;
mockreplay has no side effects. - Real backends send truncated transcript excerpts and derived tasks to the
selected provider for mining/replay/judging/reflection. For sensitive
sessions, export tasks first (
skillopt_harvest output=<file>), redact, set the top-level"reviewed"totrue, then replay with--tasks-file; real backends refuse unreviewed task files. - Show the user the held-out baseline → candidate score and the exact proposed edits before suggesting adoption. Evidence before adoption.
Validate / demo (no API spend)
pip install skillopt
python -m skillopt_sleep.experiments.run_experiment --persona researcher --assert-improvesDeterministic synthetic demo: the score rises and the gate blocks a regression. It validates the mechanism, not effectiveness on your own tasks.
See the SkillOpt-Sleep docs for recorded results and limitations.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

