skillopt-sleep

skillopt-sleep is a skill in microsoft/SkillOpt, last changed 18 Oct 2026. It can touch credentials, run shell commands, reach the network, name web addresses and bundle scripts — read the findings before installing. Our pattern check found 1 item to review at commit e2edfa9 on 27 Oct 2026.

Pattern check: 1 item to review · commit e2edfa9 · 27 Oct 2026

Install
From the author
Reference-only OpenClaw adaptation of SkillOpt-Sleep. Use it to study or port the contributed DeepSeek wrapper, not as a ready-to-run installation.
Licence
MIT
Repo stars
18.7k
Publisher
microsoft
Checked
e2edfa9 (opens in a new tab) · 27 Oct 2026

Install

Each tab says whether it installs commit e2edfa9, the one we checked, or the latest version.

No tab for your agent? Use Any agent for OpenCode, Goose, Windsurf (Devin Desktop), Zed, Roo Code, Factory Droid, Junie, Amp and Antigravity, and Claude Code for Cline. Kiro needs the folder copied by hand.

Pinned to commit e2edfa9, the one we checked.

From your project's root folder:

tmp="$(mktemp -d)" &&
  git clone -q --depth 1 --filter=blob:none --no-checkout https://github.com/microsoft/SkillOpt.git "$tmp" &&
  git -C "$tmp" fetch -q --depth 1 origin e2edfa9721ce41c98e50fa129da87cf1f53c2f7f &&
  git -C "$tmp" sparse-checkout set -- plugins/openclaw &&
  git -C "$tmp" checkout -q e2edfa9721ce41c98e50fa129da87cf1f53c2f7f &&
  mkdir -p .claude/skills &&
  mkdir .claude/skills/skillopt-sleep &&
  cp -R "$tmp"/plugins/openclaw/. .claude/skills/skillopt-sleep/ &&
  rm -rf "$tmp"

If Claude Code was already running and this created the skills folder, run /reload-skills.

Claude Code docs (opens in a new tab)

What it can touch

From the files and frontmatter at commit e2edfa9. This is how much a skill can do, not whether it is risky.

What it can touch: Shell, network or credentials

  • Runs shell commands

    Its instructions or files give the agent commands to run on your computer.

  • Reaches the network

    It sends or fetches data over the internet, for example with curl, an HTTP library or a package install.

  • Names web addresses

    It mentions outside web addresses the agent may visit. We list them but don't follow them.

  • Bundles scripts

    The folder holds code files the agent may run.

  • Touches credentials

    It reads, asks for or contains keys, tokens, passwords or similar secrets.

    run_sleep_cron.sh:43 · run_sleep_cron.sh:44

Pattern check

Pattern check: 1 item to review · commit e2edfa9 · 27 Oct 2026

We checked every text file in this skill, at commit e2edfa9 on 27 Oct 2026, against 45 published patterns such as download-and-run commands, hidden text and credential access. We don't run the skill, we don't read the web pages it points to, and we can't judge everything its instructions might lead an agent to do. In published tests, pattern checks like this one missed most malicious skills. Read the skill before you install it — especially anything it asks you to download or run.

How the check worksReport an incorrect finding

Outside links we did not follow

  • https://github.com/microsoft/SkillOpt
  • https://github.com/openclaw/openclaw
  • https://github.com/microsoft/SkillOpt.git
  • https://api.deepseek.com/v1
  • https://geoxylia.com

Format check

Each agent reads SKILL.md a little differently. We check the file against each one's published rules; we don't run the skill in any agent.

  • Agent Skills specFails

    The open format from agentskills.io, held to what the strictest agents enforce, so one folder loads everywhere.

    • Error

      The name "skillopt-sleep" doesn't match its folder "openclaw". The spec requires them to match. N4

      Fix: Set name: openclaw, or rename the folder to skillopt-sleep.

    • Warning

      Paths that may not work once the skill is installed: line 65: ../README.md#supported-cli-surface (outside the skill folder), line 97: ../README.md (outside the skill folder) and line 99: ../../docs/sleep/README.md (outside the skill folder). B6

      Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.

    • Note

      There is no license field, so readers can't tell whether they may reuse the skill. O2

      Fix: Add license: with an SPDX name such as MIT or Apache-2.0, or the name of a bundled licence file.

  • Claude CodePasses with warnings

    Claude Code reads its own extra fields, ignores unknown ones, and still loads a skill whose frontmatter is broken, without its fields.

    • Warning

      Paths that may not work once the skill is installed: line 65: ../README.md#supported-cli-surface (outside the skill folder), line 97: ../README.md (outside the skill folder) and line 99: ../../docs/sleep/README.md (outside the skill folder). B6

      Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.

    • Note

      The name "skillopt-sleep" doesn't match its folder "openclaw". Claude Code shows the skill as /skillopt-sleep, and the folder name also invokes it. N4

      Fix: Set name: openclaw, or rename the folder to skillopt-sleep.

  • Claude apps & API uploadFails

    Uploading to claude.ai or the Claude API, or packaging with Anthropic's script, accepts only the six spec fields and stops on anything else.

    • Error

      The name "skillopt-sleep" doesn't match its folder "openclaw". claude.ai refuses an upload whose folder name doesn't match the skill name. N4

      Fix: Set name: openclaw, or rename the folder to skillopt-sleep.

    • Warning

      Paths that may not work once the skill is installed: line 65: ../README.md#supported-cli-surface (outside the skill folder), line 97: ../README.md (outside the skill folder) and line 99: ../../docs/sleep/README.md (outside the skill folder). B6

      Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.

  • OpenAI (Codex & API)Passes with warnings

    Codex finds SKILL.md by its exact name and needs a description; OpenAI's Skills API checks the frontmatter against the spec and caps uploads.

    • Warning

      The name "skillopt-sleep" doesn't match its folder "openclaw". OpenAI's own upload example uses a differently named folder, but the spec it follows says they must match. N4

      Fix: Set name: openclaw, or rename the folder to skillopt-sleep.

    • Warning

      Paths that may not work once the skill is installed: line 65: ../README.md#supported-cli-surface (outside the skill folder), line 97: ../README.md (outside the skill folder) and line 99: ../../docs/sleep/README.md (outside the skill folder). B6

      Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.

  • VS Code & CopilotPasses with warnings

    VS Code reads skills one folder below .github/skills, .claude/skills or .agents/skills and falls back to the folder name when the name is missing or differs; GitHub's Copilot docs require the exact name SKILL.md.

    • Warning

      The name "skillopt-sleep" doesn't match its folder "openclaw". VS Code uses the folder name, openclaw, instead. N4

      Fix: Set name: openclaw, or rename the folder to skillopt-sleep.

    • Warning

      Paths that may not work once the skill is installed: line 65: ../README.md#supported-cli-surface (outside the skill folder), line 97: ../README.md (outside the skill folder) and line 99: ../../docs/sleep/README.md (outside the skill folder). B6

      Fix: Use forward-slash paths relative to SKILL.md, and copy shared files into the skill.

SKILL.md

Files

More from microsoft/SkillOpt

  • skillopt-sleep

    microsoft/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.

    • Runs shell commands
    • Names web addresses
    Pattern check: Nothing flagged

    MIT · 18.7k repo stars · Updated 12 Aug 2026

  • skillopt-sleep

    microsoft/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.

    • Changes agent settings
    • Runs shell commands
    • +1 more
    Pattern check: Nothing flagged

    MIT · 18.7k repo stars · Updated 20 Aug 2026

  • skillopt-sleep

    microsoft/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.

    • Runs shell commands
    Pattern check: Nothing flagged

    MIT · 18.7k repo stars · Updated 20 Aug 2026

  • skillopt-sleep

    microsoft/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.

    • Changes agent settings
    • Runs shell commands
    • +2 more
    Pattern check: Nothing flagged

    MIT · 18.7k repo stars · Updated 21 Aug 2026