Skills for Real Engineers. Straight from my .agents directory.
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
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)
1# SkillOpt-Sleep for Cursor23SkillOpt-Sleep reviews recent local Cursor sessions, mines recurring tasks,4replays those tasks, and proposes bounded improvements to a project Cursor5skill. With the default gate enabled, a proposal is accepted only when it6improves the held-out score. A normal run stages the proposal for review;7nothing live changes until explicit adoption. There is no model-weight training.89This plugin has no session-end hook and no MCP server. Run the cycle only when10the user asks, or install a schedule only when the user explicitly requests one.1112## Cursor target1314Always use this project-relative target for Cursor-visible learning:1516```text17.cursor/skills/skillopt-sleep-learned/SKILL.md18```1920Pass it through `--target-skill-path` on `harvest`, `dry-run`, and `run`.21Without an explicit target, the shared engine uses a Claude-managed skill under22`~/.claude/skills`, which is not the intended Cursor project skill.2324The shared engine can also evolve project `CLAUDE.md`. If that secondary memory25target is unwanted, set `"evolve_memory": false` in26`~/.skillopt-sleep/config.json` before running.2728## Choose the runner2930Use one of these supported command paths consistently:31321. 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
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
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
