skillopt-sleep

skillopt-sleep is a skill for Claude Code, Codex from microsoft/SkillOpt. It costs 37 tokens per session (1,090 once invoked), scanned A, original, MIT.

A reference-only OpenClaw adaptation shows how to connect a self-improvement cycle to a DeepSeek chat service. OpenClaw is an agent platform, and this adaptation is not ready to run unchanged.

In plain words
What is it for?
Use it as a starting point for adapting the SkillOpt-Sleep cycle to OpenClaw and a DeepSeek backend.
Why use it?
It helps developers study or port the integration while making clear that the included files contain machine-specific assumptions and unfinished interfaces.

Skill for Claude CodeCodex ✓ vendor

Which agent this was written for is unclear — built for openclaw. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

Good fit Use it as a starting point for adapting the SkillOpt-Sleep cycle to OpenClaw and a DeepSeek backend.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/skillopt/openclaw
About the project

SkillOpt is a tool for improving reusable natural-language skills used by fixed-weight language-model agents through training runs, trajectory-based edits, validation checks, and generated best_skill.md files. It is intended for developing, evaluating, and deploying agent skills without changing the underlying model weights. Catalogue add-ons support SkillOpt workflows and integrations with coding agents.

microsoft/SkillOpt · 18,486 stars · on GitHub · aka.ms

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add microsoft/SkillOpt --skill openclaw
Clone the repo
git clone --depth 1 https://github.com/microsoft/SkillOpt

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skillopt-sleep

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/skillopt/openclaw/github.svg)](https://agentmods.dev/skills/microsoft/skillopt/openclaw)
Your own site
<a href="https://agentmods.dev/skills/microsoft/skillopt/openclaw"><img src="https://agentmods.dev/badge/skills/microsoft/skillopt/openclaw/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skillopt-sleep

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/skillopt/openclaw"><img src="https://agentmods.dev/badge/skills/microsoft/skillopt/openclaw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,090 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01090
Opus 5.5 $0.00015 $0.00436
Sonnet 5.5 $0.00007 $0.00218
Haiku 4.5 $0.00004 $0.00109

Measured 1mo ago against content hash d1d9dcd81214, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skillopt-sleep scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (run_sleep_cron.sh, run_sleep.py, skillopt_sleep_openclaw.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/openclaw/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SkillOpt-Sleep OpenClaw reference adaptation

This directory is a contributed reference, not a supported, plug-and-play OpenClaw integration. It illustrates one way to connect the shared skillopt_sleep cycle to a custom DeepSeek Chat Completions backend and a set of environment-specific task fixtures.

Do not run or schedule the files unchanged. Several scripts and the sample configuration preserve assumptions from the contributor's original machine, and parts of the wrapper have not yet been ported to the current shared-engine interfaces. Start with the directory's README.md, which is the authoritative status and adaptation guide.

What is included

  • skillopt_sleep_openclaw.py — a contributed DeepSeek backend prototype. It also contains an Ollama embedding helper, but that helper is not wired into the current shared sleep cycle.
  • run_sleep.py — a custom cycle wrapper with environment-specific paths and a backend-registration shim.
  • slash_sleep.py — an experimental command helper written for an older staging-manifest shape.
  • run_sleep_cron.sh — a machine-specific category runner, not a portable cron installer.
  • config.json — a sample configuration, not a set of guaranteed or enforced runtime limits.
  • tests/*.json — example task fixtures from one environment, not a universal OpenClaw benchmark.

Known porting gaps

Before treating this as an integration, a maintainer must at least:

  1. Replace every absolute workspace, repository, state, skill, log, and task path with explicit user configuration.
  2. Update the custom backend factory to the current get_backend call contract, including the project directory, and update its backend methods and edit records to the current protocol.
  3. Replace the experimental adoption logic with the current staging manifest and skillopt_sleep.staging.adopt behavior. Current staging artifacts use proposed_SKILL.md / proposed_CLAUDE.md, manifest.json, and report files; they do not expose the old manifest.proposed_skill field.
  4. Decide how real OpenClaw transcripts are converted into a supported session format. Pointing claude_home at an arbitrary agent directory does not by itself make its files Claude Code-compatible JSONL.
  5. Build scheduling around the adapted wrapper. The shared scheduler launches the shared CLI; it does not automatically preserve this custom backend or its category task-file flow.
  6. Add isolated end-to-end tests for dry-run, accepted/rejected gates, staging, adoption and backup, credential failure, and scheduled execution.

Read the full file on GitHub · 104 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 104 lines · 37 tokens per session scan A d1d9dcd81214

Subscribe to this mod's changes

skillopt-sleep is a skill published in the GitHub repository microsoft/SkillOpt (18,486 stars, last pushed 11d ago), licensed MIT. It adds 37 tokens to every session and 1,090 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OpenLAIR/OpenSkill · 64 tokens

evo-adaptive-cruise-control

Complete Adaptive Cruise Control simulation system with PID controllers, single-loop ACC architecture (cruise/follow/emergency modes), TTC safety, Euler integration simulation, and full I/O pipeline.

OpenLAIR/OpenSkill · 46 tokens

evo-pptx-embedded-excel-updater

Provides utilities for finding and manipulating embedded Excel OLE objects within PPTX files, reading text boxes for context, modifying Excel cell values while preserving formulas, and saving the updated PPTX. Use when you need to extract embedded Excel spreadsheets from PowerPoint presentations, update exchange rates…

OpenLAIR/OpenSkill · 103 tokens

evo-protein-expression-analysis

Use when populating Excel workbooks for quantitative proteomics tasks - computing expression lookups, group statistics, and log2 fold-change values using Python and writing numeric results via openpyxl while preserving cell formatting. Handles two-sheet workbooks (Task + Data) with 2D protein×sample expression…

OpenLAIR/OpenSkill · 69 tokens

evo-suricata-custom-exfil

Generates and validates Suricata 7.0 rules for detecting data exfiltration hidden in HTTP telemetry traffic, using sticky buffers, exact URI matching, header inspection, and PCRE body pattern matching.

OpenLAIR/OpenSkill · 51 tokens

evo-video-filler-word-remover

Detects filler words in video/audio interviews using ASR (faster-whisper) with word-level timestamps, saves annotations as JSON, and extracts filler clips into a compilation video.

OpenLAIR/OpenSkill · 45 tokens