[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69AVMGBV7KJX0NF043FPDQ6":3,"skill-same:01M69AVMGBV7KJX0NF043FPDQ6":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M69AVMGBV7KJX0NF043FPDQ6","skillopt-sleep",null,"Use when the user wants Codex to self-improve from past usage, asks about a nightly\u002Foffline 'sleep' or 'dream' cycle, wants Codex to review past sessions, learn preferences, consolidate memory\u002Fskills, run dry-run\u002Frun\u002Fadopt\u002Fstatus 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.","microsoft\u002FSkillOpt","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AVF76KYARHPEXXWV3G0QZ",19078,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSkillOpt\u002Fblob\u002Fmain\u002Fplugins\u002Fcodex\u002Fskills\u002Fskillopt-sleep\u002FSKILL.md",[],[19,20,21,22,23,24],"skillopt sleep","review","codex","memory","sessions","status","2026-11-10 10:12:30",false,"---\nname: skillopt-sleep\ndescription: \"Use when the user wants Codex to self-improve from past usage, asks about a nightly\u002Foffline 'sleep' or 'dream' cycle, wants Codex to review past sessions, learn preferences, consolidate memory\u002Fskills, run dry-run\u002Frun\u002Fadopt\u002Fstatus 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.\"\n---\n\n# SkillOpt-Sleep: usage-driven self-evolution for a local Codex agent\n\nSkillOpt-Sleep gives the user's Codex agent a sleep cycle. On demand or on a\nnightly schedule, it reviews past local sessions, re-runs recurring tasks\nthrough the selected backend, and proposes changes to a configured skill and to\nthe project's `CLAUDE.md`. With the default validation gate enabled, it keeps\nonly changes that improve a held-out score. Live files change only through\nexplicit adoption or a user-requested `--auto-adopt`. There is no model-weight\ntraining.\n\nThe current shared engine does **not** write `AGENTS.md`. For a Codex-visible\nresult, always select a Codex skill explicitly with `--target-skill-path` (for\nexample `.agents\u002Fskills\u002F\u003Cname>\u002FSKILL.md`). If project `CLAUDE.md` is not a\ndesired secondary target, set `\"evolve_memory\": false` in\n`~\u002F.skillopt-sleep\u002Fconfig.json` before running.\n\n## When to use\n\nTrigger when the user wants any of:\n\n- Codex to learn from past sessions or get better the more they use it;\n- a nightly\u002Fscheduled or on-demand sleep\u002Fdream\u002Foffline self-improvement run;\n- to review past sessions and distill recurring tasks;\n- to consolidate feedback into memory or managed skills;\n- to run `status`, `harvest`, `dry-run`, `run`, or `adopt` for SkillOpt-Sleep.\n\n## The cycle\n\n1. **Harvest** - read local session transcripts according to the engine\n   configuration and normalize them into session digests.\n2. **Mine** - turn digests into recurring `TaskRecord`s with outcomes and\n   checkable references where possible.\n3. **Replay** - re-run mined tasks through the selected backend under the\n   current skill and memory.\n4. **Consolidate** - reflect on failures and propose bounded edits.\n5. **Gate** - with the default gate enabled, accept edits only when the held-out\n   validation score improves.\n6. **Stage** - write the proposal under\n   `\u003Cproject>\u002F.skillopt-sleep\u002Fstaging\u002F\u003Cdate>\u002F`; nothing live changes.\n7. **Adopt** - explicitly, or through user-requested auto-adopt, copy staged\n   files over live files with backups for existing targets.\n\n## How to drive it\n\nInvoke the bundled runner via shell (Codex `exec` has shell access). The runner\nfinds the engine and a Python >= 3.10 automatically.\n\n```bash\n# point at the repo if it isn't auto-detected from CWD:\nexport SKILLOPT_SLEEP_REPO=\u002Fpath\u002Fto\u002FSkillOpt\nTARGET_SKILL=.agents\u002Fskills\u002Fexample\u002FSKILL.md\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" status --project \"$(pwd)\"\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" harvest --project \"$(pwd)\" \\\n  --source codex --target-skill-path \"$TARGET_SKILL\"\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" dry-run --project \"$(pwd)\" \\\n  --source codex --target-skill-path \"$TARGET_SKILL\" --backend mock\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" run --project \"$(pwd)\" \\\n  --source codex --target-skill-path \"$TARGET_SKILL\" --backend codex \\\n  --max-sessions 5 --max-tasks 3 --progress\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" status --project \"$(pwd)\"\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" adopt --project \"$(pwd)\" --legacy\n```\n\nFor a fan-out night, select reviewed proposals with repeatable\n`--skill NAME` or `--all-skills`; do not treat bare adopt as “adopt everything.”\n\nOn Windows (CMD \u002F PowerShell):\n```cmd\n:: CMD\nset SKILLOPT_SLEEP_REPO=C:\\path\\to\\SkillOpt-Sleep\n\"%SKILLOPT_SLEEP_REPO%\\plugins\\run-sleep.cmd\" status --project \"%CD%\"\n```\n```powershell\n# PowerShell\n$env:SKILLOPT_SLEEP_REPO = \"C:\\path\\to\\SkillOpt-Sleep\"\npowershell -File \"$env:SKILLOPT_SLEEP_REPO\\plugins\\run-sleep.ps1\" status --project \"$(pwd)\"\n```\n\nActions are `status`, `harvest`, `dry-run`, `run`, `adopt`, `schedule`, and `unschedule`.\n\n- Default backend is `mock`, which is deterministic and spends no API budget.\n- `--backend codex` uses the user's Codex budget for model-driven optimization.\n  An accepted held-out gain is run-specific evidence, not a guarantee of\n  broader improvement; results depend on the tasks, model, and checks.\n- `--source codex` reads Codex Desktop archived sessions from `~\u002F.codex\u002Farchived_sessions`;\n  use `--codex-home \u002Fpath\u002Fto\u002F.codex` if the archive lives elsewhere.\n- `--target-skill-path` is required for a Codex skill target. Without it, the\n  shared default is a Claude-managed skill under `~\u002F.claude\u002Fskills\u002F`, not an\n  `.agents` skill.\n- Keep `dry-run --backend mock` as the first smoke check unless the user\n  explicitly asked for a real optimization run.\n\n### Scheduling\n\n```bash\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" schedule --project \"$(pwd)\" \\\n  --backend codex --hour 3 --minute 17\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" unschedule --project \"$(pwd)\"\n```\n\nThe scheduler persists the project, backend, time, and optional auto-adopt flag;\nit does not persist `--source` or `--target-skill-path` from this command. Before\nscheduling a Codex-targeted run, set `\"transcript_source\": \"codex\"` and an\nabsolute `\"target_skill_path\"` in `~\u002F.skillopt-sleep\u002Fconfig.json`. On systems\nwithout `crontab`, `schedule` prints a line for manual installation.\n`unschedule --all` removes every managed entry.\n\n### All backends\n\n- `--backend mock` — deterministic, no API spend (default)\n- `--backend claude` — uses the Claude CLI\n- `--backend codex` — uses the Codex CLI\n- `--backend copilot` — uses the GitHub Copilot CLI\n- `--backend handoff` — emits prompt\u002Fanswer files for an interactive session\n- `--backend azure_openai` — uses the configured Azure OpenAI endpoint\n\n### Additional flags\n\n| Flag | Description |\n|------|-------------|\n| `--auto-adopt` | Auto-adopt if the gate passes (default: stage only) |\n| `--edit-budget N` | Max bounded edits per night (default: 4) |\n| `--lookback-hours N` | Harvest window in hours (default: 72) |\n| `--json` | Machine-readable JSON output |\n\n### Config keys (`~\u002F.skillopt-sleep\u002Fconfig.json`)\n\n- **`preferences`** — free-text house rules for the optimizer\n- **`gate_mode`** — `on` (validation-gated, default) or `off` (greedy)\n- **`gate_metric`** — `hard` | `soft` | `mixed` (default)\n- **`gate_no_regression`** — `false` by default; set it to `true` to reject a candidate when any validation task's gate score decreases\n- **`dream_rollouts`** — >1 for multi-rollout contrastive reflection\n- **`recall_k`** — >0 recalls similar past tasks from the archive\n\n### Memory consolidation\n\nThe shared sleep cycle consolidates project **memory** (`CLAUDE.md`) and the\nselected **skill** (`SKILL.md`) by default. It does not update `AGENTS.md`.\nEach target is independently toggleable through `evolve_memory` \u002F\n`evolve_skill`, and both are gated by the same held-out validation score.\n\n## Steps\n\n1. Run the requested action; capture stdout.\n2. For `dry-run` and `run`, report the held-out baseline -> candidate score,\n   gate action, task count, session count, and exact proposed edits.\n3. If a staging directory is printed, read `report.md` before summarizing.\n4. `run` stages by default; if `--auto-adopt` was explicitly supplied, report\n   the paths it updated instead of claiming nothing changed.\n5. Offer adoption only after the user has reviewed a still-staged proposal.\n6. Never hand-edit the configured `CLAUDE.md` or target skill as a substitute\n   for the engine's adopt path; adoption is the safety boundary and backs up\n   existing targets first.\n\n## Hard rules\n\n- Harvest is read-only. Do not edit archived sessions or raw transcripts.\n- Codex transcript harvesting removes known secret-shaped strings, developer\n  instructions, and raw tool payloads, but pattern-based redaction is not a\n  guarantee. A real backend still sends truncated transcript\u002Ftask content to\n  its provider. Review sensitive sessions and provider policy first; prefer a\n  reviewed `--tasks-file` workflow when the data boundary matters.\n- Keep raw secrets, credentials, private user data, and transcript contents out\n  of messages, logs, generated artifacts, and commits.\n- Show validation evidence before recommending adoption.\n- Treat generated edits as proposals, not as source of truth.\n- Do not rely on deprecated custom prompts or `\u002Fsleep` slash commands for this\n  Codex integration. This skill is the entrypoint.\n\n## Validate\n\n```bash\npython -m skillopt_sleep dry-run --project \"$(pwd)\" --source codex \\\n  --target-skill-path .agents\u002Fskills\u002Fexample\u002FSKILL.md --backend mock --json\npython -m skillopt_sleep.experiments.run_gbrain --backend codex \\\n  --seeds brief-writer --data-root \u002Fpath\u002Fto\u002Fgbrain-evals\u002Feval\u002Fdata\u002Fskillopt-v1 \\\n  --nights 2 --limit-replay 3 --limit-holdout 3\n```\n\nIn the recorded `brief-writer` gbrain run, the deliberately deficient fixture\nwent 0.00 -> 1.00 on that run's held-out set. Treat this as reproducible\nbenchmark evidence for that configuration, not a guarantee for other skills,\ntasks, or models; see the\n[recorded results](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSkillOpt\u002Fblob\u002Fmain\u002Fdocs\u002Fsleep\u002FRESULTS.md)\nfor context and limitations.\n","# SkillOpt-Sleep: usage-driven self-evolution for a local Codex agent\n\nSkillOpt-Sleep gives the user's Codex agent a sleep cycle. On demand or on a\nnightly schedule, it reviews past local sessions, re-runs recurring tasks\nthrough the selected backend, and proposes changes to a configured skill and to\nthe project's `CLAUDE.md`. With the default validation gate enabled, it keeps\nonly changes that improve a held-out score. Live files change only through\nexplicit adoption or a user-requested `--auto-adopt`. There is no model-weight\ntraining.\n\nThe current shared engine does **not** write `AGENTS.md`. For a Codex-visible\nresult, always select a Codex skill explicitly with `--target-skill-path` (for\nexample `.agents\u002Fskills\u002F\u003Cname>\u002FSKILL.md`). If project `CLAUDE.md` is not a\ndesired secondary target, set `\"evolve_memory\": false` in\n`~\u002F.skillopt-sleep\u002Fconfig.json` before running.\n\n## When to use\n\nTrigger when the user wants any of:\n\n- Codex to learn from past sessions or get better the more they use it;\n- a nightly\u002Fscheduled or on-demand sleep\u002Fdream\u002Foffline self-improvement run;\n- to review past sessions and distill recurring tasks;\n- to consolidate feedback into memory or managed skills;\n- to run `status`, `harvest`, `dry-run`, `run`, or `adopt` for SkillOpt-Sleep.\n\n## The cycle\n\n1. **Harvest** - read local session transcripts according to the engine\n   configuration and normalize them into session digests.\n2. **Mine** - turn digests into recurring `TaskRecord`s with outcomes and\n   checkable references where possible.\n3. **Replay** - re-run mined tasks through the selected backend under the\n   current skill and memory.\n4. **Consolidate** - reflect on failures and propose bounded edits.\n5. **Gate** - with the default gate enabled, accept edits only when the held-out\n   validation score improves.\n6. **Stage** - write the proposal under\n   `\u003Cproject>\u002F.skillopt-sleep\u002Fstaging\u002F\u003Cdate>\u002F`; nothing live changes.\n7. **Adopt** - explicitly, or through user-requested auto-adopt, copy staged\n   files over live files with backups for existing targets.\n\n## How to drive it\n\nInvoke the bundled runner via shell (Codex `exec` has shell access). The runner\nfinds the engine and a Python >= 3.10 automatically.\n\n```bash\n# point at the repo if it isn't auto-detected from CWD:\nexport SKILLOPT_SLEEP_REPO=\u002Fpath\u002Fto\u002FSkillOpt\nTARGET_SKILL=.agents\u002Fskills\u002Fexample\u002FSKILL.md\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" status --project \"$(pwd)\"\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" harvest --project \"$(pwd)\" \\\n  --source codex --target-skill-path \"$TARGET_SKILL\"\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" dry-run --project \"$(pwd)\" \\\n  --source codex --target-skill-path \"$TARGET_SKILL\" --backend mock\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" run --project \"$(pwd)\" \\\n  --source codex --target-skill-path \"$TARGET_SKILL\" --backend codex \\\n  --max-sessions 5 --max-tasks 3 --progress\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" status --project \"$(pwd)\"\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" adopt --project \"$(pwd)\" --legacy\n```\n\nFor a fan-out night, select reviewed proposals with repeatable\n`--skill NAME` or `--all-skills`; do not treat bare adopt as “adopt everything.”\n\nOn Windows (CMD \u002F PowerShell):\n```cmd\n:: CMD\nset SKILLOPT_SLEEP_REPO=C:\\path\\to\\SkillOpt-Sleep\n\"%SKILLOPT_SLEEP_REPO%\\plugins\\run-sleep.cmd\" status --project \"%CD%\"\n```\n```powershell\n# PowerShell\n$env:SKILLOPT_SLEEP_REPO = \"C:\\path\\to\\SkillOpt-Sleep\"\npowershell -File \"$env:SKILLOPT_SLEEP_REPO\\plugins\\run-sleep.ps1\" status --project \"$(pwd)\"\n```\n\nActions are `status`, `harvest`, `dry-run`, `run`, `adopt`, `schedule`, and `unschedule`.\n\n- Default backend is `mock`, which is deterministic and spends no API budget.\n- `--backend codex` uses the user's Codex budget for model-driven optimization.\n  An accepted held-out gain is run-specific evidence, not a guarantee of\n  broader improvement; results depend on the tasks, model, and checks.\n- `--source codex` reads Codex Desktop archived sessions from `~\u002F.codex\u002Farchived_sessions`;\n  use `--codex-home \u002Fpath\u002Fto\u002F.codex` if the archive lives elsewhere.\n- `--target-skill-path` is required for a Codex skill target. Without it, the\n  shared default is a Claude-managed skill under `~\u002F.claude\u002Fskills\u002F`, not an\n  `.agents` skill.\n- Keep `dry-run --backend mock` as the first smoke check unless the user\n  explicitly asked for a real optimization run.\n\n### Scheduling\n\n```bash\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" schedule --project \"$(pwd)\" \\\n  --backend codex --hour 3 --minute 17\nbash \"$SKILLOPT_SLEEP_REPO\u002Fplugins\u002Frun-sleep.sh\" unschedule --project \"$(pwd)\"\n```\n\nThe scheduler persists the project, backend, time, and optional auto-adopt flag;\nit does not persist `--source` or `--target-skill-path` from this command. Before\nscheduling a Codex-targeted run, set `\"transcript_source\": \"codex\"` and an\nabsolute `\"target_skill_path\"` in `~\u002F.skillopt-sleep\u002Fconfig.json`. On systems\nwithout `crontab`, `schedule` prints a line for manual installation.\n`unschedule --all` removes every managed entry.\n\n### All backends\n\n- `--backend mock` — deterministic, no API spend (default)\n- `--backend claude` — uses the Claude CLI\n- `--backend codex` — uses the Codex CLI\n- `--backend copilot` — uses the GitHub Copilot CLI\n- `--backend handoff` — emits prompt\u002Fanswer files for an interactive session\n- `--backend azure_openai` — uses the configured Azure OpenAI endpoint\n\n### Additional flags\n\n| Flag | Description |\n|------|-------------|\n| `--auto-adopt` | Auto-adopt if the gate passes (default: stage only) |\n| `--edit-budget N` | Max bounded edits per night (default: 4) |\n| `--lookback-hours N` | Harvest window in hours (default: 72) |\n| `--json` | Machine-readable JSON output |\n\n### Config keys (`~\u002F.skillopt-sleep\u002Fconfig.json`)\n\n- **`preferences`** — free-text house rules for the optimizer\n- **`gate_mode`** — `on` (validation-gated, default) or `off` (greedy)\n- **`gate_metric`** — `hard` | `soft` | `mixed` (default)\n- **`gate_no_regression`** — `false` by default; set it to `true` to reject a candidate when any validation task's gate score decreases\n- **`dream_rollouts`** — >1 for multi-rollout contrastive reflection\n- **`recall_k`** — >0 recalls similar past tasks from the archive\n\n### Memory consolidation\n\nThe shared sleep cycle consolidates project **memory** (`CLAUDE.md`) and the\nselected **skill** (`SKILL.md`) by default. It does not update `AGENTS.md`.\nEach target is independently toggleable through `evolve_memory` \u002F\n`evolve_skill`, and both are gated by the same held-out validation score.\n\n## Steps\n\n1. Run the requested action; capture stdout.\n2. For `dry-run` and `run`, report the held-out baseline -> candidate score,\n   gate action, task count, session count, and exact proposed edits.\n3. If a staging directory is printed, read `report.md` before summarizing.\n4. `run` stages by default; if `--auto-adopt` was explicitly supplied, report\n   the paths it updated instead of claiming nothing changed.\n5. Offer adoption only after the user has reviewed a still-staged proposal.\n6. Never hand-edit the configured `CLAUDE.md` or target skill as a substitute\n   for the engine's adopt path; adoption is the safety boundary and backs up\n   existing targets first.\n\n## Hard rules\n\n- Harvest is read-only. Do not edit archived sessions or raw transcripts.\n- Codex transcript harvesting removes known secret-shaped strings, developer\n  instructions, and raw tool payloads, but pattern-based redaction is not a\n  guarantee. A real backend still sends truncated transcript\u002Ftask content to\n  its provider. Review sensitive sessions and provider policy first; prefer a\n  reviewed `--tasks-file` workflow when the data boundary matters.\n- Keep raw secrets, credentials, private user data, and transcript contents out\n  of messages, logs, generated artifacts, and commits.\n- Show validation evidence before recommending adoption.\n- Treat generated edits as proposals, not as source of truth.\n- Do not rely on deprecated custom prompts or `\u002Fsleep` slash commands for this\n  Codex integration. This skill is the entrypoint.\n\n## Validate\n\n```bash\npython -m skillopt_sleep dry-run --project \"$(pwd)\" --source codex \\\n  --target-skill-path .agents\u002Fskills\u002Fexample\u002FSKILL.md --backend mock --json\npython -m skillopt_sleep.experiments.run_gbrain --backend codex \\\n  --seeds brief-writer --data-root \u002Fpath\u002Fto\u002Fgbrain-evals\u002Feval\u002Fdata\u002Fskillopt-v1 \\\n  --nights 2 --limit-replay 3 --limit-holdout 3\n```\n\nIn the recorded `brief-writer` gbrain run, the deliberately deficient fixture\nwent 0.00 -> 1.00 on that run's held-out set. Treat this as reproducible\nbenchmark evidence for that configuration, not a guarantee for other skills,\ntasks, or models; see the\n[recorded results](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSkillOpt\u002Fblob\u002Fmain\u002Fdocs\u002Fsleep\u002FRESULTS.md)\nfor context and limitations.\n",{"name":5,"description":7},"main","bc0a392ef0a7f92840ec673d80204d34ced169d0","plugins\u002Fcodex\u002Fskills\u002Fskillopt-sleep",1830,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSkillOpt","https:\u002F\u002Faka.ms\u002Fskillopt","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-11 04:10:50",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add microsoft\u002FSkillOpt --skill skillopt-sleep",{"tool":46,"command":47},"bunx","bunx skills add microsoft\u002FSkillOpt --skill skillopt-sleep",{"tool":49,"command":50},"pnpm","pnpm dlx skills add microsoft\u002FSkillOpt --skill skillopt-sleep","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSkillOpt\u002Fblob\u002Fmain\u002Fplugins\u002Fcodex\u002Fskills\u002Fskillopt-sleep\u002FSKILL.md",true,[],[55,62,76,84],{"skillNo":56,"name":5,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":25},"01M69AVT3C6TRVF93BQ4T5MJFS","Reference-only OpenClaw adaptation of SkillOpt-Sleep. Use it to study or port the contributed DeepSeek wrapper, not as a ready-to-run installation.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSkillOpt\u002Fblob\u002Fmain\u002Fplugins\u002Fopenclaw\u002FSKILL.md",[],[19,61],"openclaw",{"skillNo":63,"name":5,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":75,"publishedAt":25},"01M69AVR9TG4AP9WJE9QYEY79X","Use when the user wants the dsh agent to self-improve from past usage, asks about a nightly\u002Foffline 'sleep' or 'dream' cycle, skill\u002Fmemory 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 through the skillopt_* tools: harvest past sessions -> mine recurring tasks -> replay via a selected backend -> consolidate validated skills behind a held-out gate.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSkillOpt\u002Fblob\u002Fmain\u002Fplugins\u002Fdsh\u002Fskills\u002Fskillopt-sleep\u002FSKILL.md",[67,72],{"categoryNo":68,"categoryName":69,"taxonomyType":70,"taxonomyTypeDesc":71},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":73,"categoryName":74,"taxonomyType":70,"taxonomyTypeDesc":71},"01JBSEEDCAT000000000000023","Skill与智能体开发",[19,20,22,23],{"skillNo":77,"name":5,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":82,"publishedAt":25},"01M69AVPDW8T7960QBW29F3ZEW","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSkillOpt\u002Fblob\u002Fmain\u002Fplugins\u002Fcursor\u002Fskills\u002Fskillopt-sleep\u002FSKILL.md",[81],{"categoryNo":73,"categoryName":74,"taxonomyType":70,"taxonomyTypeDesc":71},[19,20,83,23,24],"cli",{"skillNo":85,"name":5,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":90,"publishedAt":25},"01M69AVJA0DE796EKHGVMY10Q1","Use when the user wants their Claude agent to self-improve from past usage, asks about a nightly\u002Foffline 'sleep' or 'dream' cycle, memory\u002Fskill 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\u002FSKILL.md behind a held-out gate.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSkillOpt\u002Fblob\u002Fmain\u002Fplugins\u002Fclaude-code\u002Fskills\u002Fskillopt-sleep\u002FSKILL.md",[89],{"categoryNo":73,"categoryName":74,"taxonomyType":70,"taxonomyTypeDesc":71},[19,20,22,23]]