This folder is a reference adaptation of SkillOpt-Sleep for OpenClaw. It holds a DeepSeek Chat Completions backend prototype, a cycle wrapper, a slash-command helper, a cron runner and a sample configuration.
The skill says it is not a plug-and-play integration. Paths come from the contributor’s machine and parts of the wrapper predate the current engine interfaces, so it lists the porting gaps to close first.
What You Get
- A DeepSeek backend prototype covering attempt, judge and reflect steps, with an Ollama embedding helper that is not wired in
- A cycle wrapper, a /sleep style command helper and a category-based cron runner as source material
- A sample configuration with gate, edit budget and token limits
- A six-point checklist for turning the reference into a portable integration
Common Use Cases
- Study how a custom backend plugs into the shared skillopt_sleep engine
- Use it as a starting point for an OpenClaw or other custom-agent port
- Review the data boundary of a third-party model backend before adopting one
- Test SkillOpt-Sleep itself with the shared CLI and the mock backend while the port is unfinished
What Makes It Unique
Most skills in the directory are ready to install. This one is source material: its SKILL.md tells the reader not to run or schedule the files unchanged and points to the shared CLI for anything supported. Its value is the worked example of a non-default backend and the explicit list of what a port must fix.
Under The Hood
The SKILL.md is prose that points the reader at the folder’s README and scripts. The scripts include a Python wrapper that imports the engine from a hard-coded repository path, a backend that sends task, skill, memory and rubric text to a DeepSeek chat endpoint using an API key read from an environment variable or a local env file, a helper that posts text to a local Ollama service, a command helper that can copy a staged skill over a live one and delete staging folders, and a shell runner that loops over task files and writes logs. All paths belong to the contributor’s machine and must be replaced before use.