skillopt-sleep

Automate nightly skill optimization cycles with gated held-out scoring.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jiangmin8/skillopt --skill skillopt-sleep-jiangmin8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skillopt-sleep
Source: https://github.com/jiangmin8/skillopt/tree/main/plugins/openclaw
Command: npx skills add https://github.com/jiangmin8/skillopt --skill skillopt-sleep-jiangmin8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates and refines agent skills through nightly sleep cycles with held-out gates, enabling safer, progressive improvements without impacting live behavior.

Core Features & Use Cases

  • Harvests session transcripts, mines recurring task patterns, and replays baseline vs candidate skills.
  • Gates candidate proposals against held-out scores to prevent regressions.
  • Stages accepted proposals for human adoption and preserves backups of current live skills.

Quick Start

Run one nightly sleep cycle using the provided scripts to harvest transcripts, mine patterns, replay tasks, gate improvements, and stage proposals for review.

Frequently Asked Questions about skillopt-sleep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate nightly self-improvement for agent skills without impacting live behavior?

Automated nightly self-improvement runs a gated optimization cycle that replays baseline and candidate edits, validating against held-out scores to ensure progressive refinement without regressions. Accepted proposals are staged for human adoption while preserving live skill backups.

What are the prerequisites for running a gated skill refinement sleep cycle with DeepSeek?

Running a gated skill refinement sleep cycle requires the OpenClaw and SkillOpt-Sleep stack, a configured DeepSeek API key, and local staging configurations including config.json and run_sleep.py to execute the full harvesting and replay workflow.

How does held-out gating prevent regressions when optimizing agent skills?

Held-out gating prevents regressions by replaying baseline and candidate skills against held-out scores. Candidate proposals must pass these gates before being staged for human adoption, ensuring only validated improvements progress to live deployment.

Can I harvest session transcripts and mine recurring task patterns automatically in OpenClaw?

Yes, the SkillOpt-Sleep workflow automates harvesting session transcripts and mining recurring task patterns within OpenClaw environments. It extracts historical interactions to identify frequent tasks for baseline and candidate skill replays.

What is the best way to safely stage candidate skill proposals for human adoption?

The best way to stage candidate skill proposals safely is through a gated optimization cycle that preserves backups of current live skills. This mechanism stages only proposals that pass held-out score gates for human review.

Why does my nightly skill optimization cycle fail to execute the full workflow?

Nightly skill optimization fails without proper local staging configurations. You need the complete OpenClaw and SkillOpt-Sleep stack, a valid DeepSeek API key, and properly configured config.json and run_sleep.py files to execute the cycle.