skillopt-sleep
适合希望代理自我演化并保留个性化记忆的 Claude 用户。
会访问并处理历史会话与本地 API 资源。
让本地 Claude 代理离线复盘会话并生成记忆与技能改进。
让本地 Claude 代理离线复盘过去会话,找出重复任务并重放验证,把学到的偏好和记忆整合到 CLAUDE.md 与 SKILL.md。适用于希望代理随用变聪明、安排夜间自动优化或手动触发复盘的场景。特点是有验证门控,只把通过验证的改动写入记忆与技能,避免不可靠的自动更新。
▸ 展开 SKILL.md 英文原文
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.
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/SkillOpt/main/plugins/claude-code/skills/skillopt-sleep/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/microsoft/SkillOpt/main/plugins/claude-code/skills/skillopt-sleep/SKILL.md"# SkillOpt-Sleep: usage-driven self-evolution for a local Claude agent SkillOpt-Sleep gives the user's agent a **sleep cycle**. On demand or on a nightly schedule, it reviews real past Claude Code sessions, re-runs recurring tasks through the selected backend, and consolidates what it learns into **memory** (`CLAUDE.md`) and **skills** (`SKILL.md`). With the default validation gate enabled, it keeps only changes that improve a held-out score. Live files change only through explicit adoption or a user-requested `--auto-adopt`. It aims to improve this user's recurring work, while making each accepted proposal measurable on the run's held-out tasks, with no model-weight training. It is the dep