Tooluck logoTooluck
SKILL.md

skillopt-sleep

Agent skill frommicrosoft/SkillOpt

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.

How to install skillopt-sleep

install skillopt-sleep
# install the SkillOpt pack with the skills CLI
npx skills add microsoft/SkillOpt

# or add only this skill to Claude Code: copy the folder

plugins/cursor/skills/skillopt-sleep/

# into

~/.claude/skills/skillopt-sleep/ (all projects)

.claude/skills/skillopt-sleep/ (one project)

plugins/cursor/skills/skillopt-sleep/SKILL.md

MITFull file
1# SkillOpt-Sleep for Cursor
2
3SkillOpt-Sleep reviews recent local Cursor sessions, mines recurring tasks,
4replays those tasks, and proposes bounded improvements to a project Cursor
5skill. With the default gate enabled, a proposal is accepted only when it
6improves the held-out score. A normal run stages the proposal for review;
7nothing live changes until explicit adoption. There is no model-weight training.
8
9This plugin has no session-end hook and no MCP server. Run the cycle only when
10the user asks, or install a schedule only when the user explicitly requests one.
11
12## Cursor target
13
14Always use this project-relative target for Cursor-visible learning:
15
16```text
17.cursor/skills/skillopt-sleep-learned/SKILL.md
18```
19
20Pass it through `--target-skill-path` on `harvest`, `dry-run`, and `run`.
21Without an explicit target, the shared engine uses a Claude-managed skill under
22`~/.claude/skills`, which is not the intended Cursor project skill.
23
24The shared engine can also evolve project `CLAUDE.md`. If that secondary memory
25target is unwanted, set `"evolve_memory": false` in
26`~/.skillopt-sleep/config.json` before running.
27
28## Choose the runner
29
30Use one of these supported command paths consistently:
31
321. Source checkout on macOS/Linux:
33 `bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" <action> ...`
342. Source checkout on Windows:
35 `powershell -File "$env:SKILLOPT_SLEEP_REPO\plugins\run-sleep.ps1" <action> ...`
363. Installed engine on any platform:
37 `skillopt-sleep <action> ...`
38…

Excerpt shown under the repository's MIT license.

More skills in SkillOpt

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates