mirror of
https://github.com/microsoft/SkillOpt.git
synced 2026-07-03 14:02:58 +08:00
Adds a thin OpenClaw shell wrapping the SkillOpt-Sleep engine. Enables nightly validation-gated skill improvement cycles for OpenClaw agents. Components: - skillopt_sleep_openclaw.py: DeepSeek V4 Pro + Ollama nomic-embed-text backend, mirroring the Claude/Codex/Copilot backend pattern. - run_sleep.py: CLI entry point supporting dry-run and pre-built task files. - run_sleep_cron.sh: bash wrapper for nightly cron invocation. - slash_sleep.py: /sleep command (status / run / adopt / reject / cost). - config.json: engine config tuned for our stack. - SKILL.md: OpenClaw skill manifest. - tests/: 14 held-out tasks across 3 categories (research-cron, devops, wiki). OpenClaw is the 4th ecosystem in which SkillOpt-Sleep can be deployed, joining Claude Code, Codex, and Copilot. The shell follows the same single-engine / thin-shell pattern as the existing three plugins. End-to-end tested: pipeline runs against real OpenClaw session transcripts, gate correctly rejects non-improvements, staging artifacts land in ~/.skillopt-sleep/staging/<night>/. Cost: ~$0.02/night on DeepSeek V4 Pro.
31 lines
763 B
JSON
31 lines
763 B
JSON
{
|
|
"_comment": "OpenClaw adaptation of skillopt-sleep. Edit and run via run_sleep.py",
|
|
|
|
"claude_home": "/home/ethanclaw/.openclaw/agents",
|
|
"invoked_project": "/home/ethanclaw/.openclaw/workspace",
|
|
"projects": "invoked",
|
|
"lookback_hours": 168,
|
|
|
|
"max_tasks_per_night": 12,
|
|
"max_tokens_per_night": 800000,
|
|
"holdout_fraction": 0.34,
|
|
"val_fraction": 0.34,
|
|
"test_fraction": 0.0,
|
|
|
|
"backend": "openclaw-deepseek",
|
|
"model": "deepseek-v4-pro",
|
|
"gate_mode": "on",
|
|
"edit_budget": 3,
|
|
"gate_metric": "mixed",
|
|
"gate_mixed_weight": 0.5,
|
|
"replay_mode": "fresh",
|
|
"evolve_memory": true,
|
|
"evolve_skill": true,
|
|
"llm_mine": false,
|
|
|
|
"auto_adopt": false,
|
|
"managed_skill_name": "skillopt-sleep-learned",
|
|
"redact_secrets": true,
|
|
"seed": 42
|
|
}
|