一键导入
skillopt-sleep
Reference-only OpenClaw adaptation of SkillOpt-Sleep. Use it to study or port the contributed DeepSeek wrapper, not as a ready-to-run installation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reference-only OpenClaw adaptation of SkillOpt-Sleep. Use it to study or port the contributed DeepSeek wrapper, not as a ready-to-run installation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.
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.
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.
| name | skillopt-sleep |
| description | Reference-only OpenClaw adaptation of SkillOpt-Sleep. Use it to study or port the contributed DeepSeek wrapper, not as a ready-to-run installation. |
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.
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.Before treating this as an integration, a maintainer must at least:
get_backend call contract,
including the project directory, and update its backend methods and edit
records to the current protocol.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.claude_home at an arbitrary agent directory does not by
itself make its files Claude Code-compatible JSONL.Until those gaps are resolved, use the supported shared
python -m skillopt_sleep CLI with --backend mock to test SkillOpt-Sleep itself,
and treat this directory only as source material for a future OpenClaw port.
At this revision the supported shared CLI backends are mock, claude,
codex, copilot, handoff, and azure_openai; the
plugin integration reference is the
authoritative list. The shared engine can consolidate a selected skill and
project CLAUDE.md memory (controlled by evolve_skill and evolve_memory),
and its schedule / unschedule actions manage shared-engine cron entries.
Those capabilities do not make the custom OpenClaw wrapper portable: the
shared scheduler will not invoke the prototype backend or its category
fixtures. Use the shared documentation for those features, not this reference
SKILL.
The prototype DeepSeek backend sends task, skill, memory, response, rubric, and reflection content to its configured Chat Completions endpoint. Its source also contains a helper that can send text to an Ollama service if a future port wires that helper into the cycle. Neither path should be assumed to remove every secret or private detail.
Before any port is tested with real data:
The bundled fixtures are examples only. Their scores and any old cost estimates do not establish effectiveness, safety, or a stable nightly price for another OpenClaw deployment.
Contributions that turn this reference into a portable integration should add tests and update all three documents together.