Skip to content
mcp/skillhub

Agent Skill

Skillopt Sleep skill

skillopt-sleepmicrosoft/SkillOptplugins/openclaw/SKILL.md

Reference-only OpenClaw adaptation of SkillOpt-Sleep. Use it to study or port the contributed DeepSeek wrapper, not as a ready-to-run installation.

19kMIT

always on

37 tokname + description

once used

1,047 tokSKILL.md body

bundled files

94 scripts

repo stars

19kGitHub

Install the Skillopt Sleep skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/microsoft/SkillOpt --skill skillopt-sleep

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/microsoft/SkillOpt.git /tmp/SkillOpt
mkdir -p ~/.claude/skills
cp -R /tmp/SkillOpt/plugins/openclaw ~/.claude/skills/skillopt-sleep

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description37 tok
When the agent uses itThe SKILL.md instructions1,047 tok
Only if opened9 bundled files (52 KB)varies

Until it is used, skillopt-sleep costs about 37× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 5 skills from microsoft/SkillOpt would load 473 tokens of descriptions. Skills vs MCP study

Checks

  • Ships scripts the agent can run. Read them before installing.
  • The name doesn't match its folder name, as the specification requires.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • SkillOpt-Sleep OpenClaw reference adaptation
  • What is included
  • Known porting gaps
  • Shared-engine features are not wrapper features
  • Data and credential boundary
  • Further information

More skills from microsoft/SkillOpt

All skills in this repo
  1. skillopt-sleepmicrosoft/SkillOpt

    Use when the user wants Cursor to learn from recent local sessions, asks for an offline sleep or dream cycle, wants to consolidate recurring work into a Cursor skill, or requests SkillOpt-Sleep status, harvest, dry-run, run, scheduling, review, or adoption. Drives the validation-gated skillopt_sleep engine with Cursor transcripts and the optional Cursor Agent CLI backend.

    19k79 tok idle · 2,170 in use
  2. skillopt-sleepmicrosoft/SkillOpt

    Use when the user wants their Claude agent to self-improve from past usage, asks about a nightly/offline 'sleep' or 'dream' cycle, memory/skill 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: harvest past sessions -> mine recurring tasks -> replay through a selected backend -> consolidate validated CLAUDE.md/SKILL.md behind a held-out gate.

    19k127 tok idle · 2,075 in use
  3. skillopt-sleepmicrosoft/SkillOpt

    Use when the user wants Codex to self-improve from past usage, asks about a nightly/offline 'sleep' or 'dream' cycle, wants Codex to review past sessions, learn preferences, consolidate memory/skills, run dry-run/run/adopt/status for SkillOpt-Sleep, or schedule background self-optimization. Drives the skillopt_sleep engine: harvest past sessions -> mine recurring tasks -> replay through a selected backend -> consolidate validated memory + skills behind a held-out gate.

    19k103 tok idle · 2,249 in use
  4. skillopt-sleepmicrosoft/SkillOpt

    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.

    19k127 tok idle · 1,314 in use