본문으로 건너뛰기
Skillpedia
에이전트19k · #10501

skillopt-sleep

하는 일

최근 로컬 Cursor 세션을 검토해 반복되는 작업을 찾고, 프로젝트 스킬의 개선안을 제안합니다. 직접 문서를 고치지 않고 실제 사용에서 어시스턴트가 나아지기를 원하는 Cursor 사용자를 위한 스킬입니다.

사용하는 경우

  • ✓Cursor가 최근 세션에서 배우기를 원할 때.
  • ✓반복되는 작업을 Cursor 스킬 하나로 정리하고 싶을 때.
  • ✓제안된 스킬 변경을 검토하거나 적용하고 싶을 때.

스킬 링크

https://github.com/microsoft/SkillOpt/blob/main/plugins/cursor/skills/skillopt-sleep/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/microsoft/SkillOpt/blob/main/plugins/cursor/skills/skillopt-sleep/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“최근 Cursor 세션을 살펴보고, 제가 계속 반복하는 작업을 다루는 스킬을 제안해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 최근 세션 기록을 읽고 반복 작업을 찾습니다. 작업을 재현해 검토용 변경안을 준비하며, 보류 검증 점수가 오른 변경만 남깁니다. 제안을 직접 적용하기 전까지 실제 파일은 바뀌지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

SkillOpt-Sleep for Cursor

SkillOpt-Sleep reviews recent local Cursor sessions, mines recurring tasks, replays those tasks, and proposes bounded improvements to a project Cursor skill. With the default gate enabled, a proposal is accepted only when it improves the held-out score. A normal run stages the proposal for review; nothing live changes until explicit adoption. There is no model-weight training.

This plugin has no session-end hook and no MCP server. Run the cycle only when the user asks, or install a schedule only when the user explicitly requests one.

Cursor target

Always use this project-relative target for Cursor-visible learning:

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

Pass it through --target-skill-path on harvest, dry-run, and run. Without an explicit target, the shared engine uses a Claude-managed skill under ~/.claude/skills, which is not the intended Cursor project skill.

The shared engine can also evolve project CLAUDE.md. If that secondary memory target is unwanted, set "evolve_memory": false in ~/.skillopt-sleep/config.json before running.

Choose the runner

Use one of these supported command paths consistently:

  1. Source checkout on macOS/Linux: bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" <action> ...
  2. Source checkout on Windows: powershell -File "$env:SKILLOPT_SLEEP_REPO\plugins\run-sleep.ps1" <action> ...
  3. Installed engine on any platform: skillopt-sleep <action> ...

If SKILLOPT_SLEEP_REPO is not set and skillopt-sleep is unavailable, stop and explain that the engine must be installed or a SkillOpt checkout must be selected. Do not substitute a hand-written edit for the engine workflow.

Core workflow

  1. Harvest local Cursor JSONL transcripts read-only.
  2. Mine recurring, checkable task records from session digests.
  3. Replay tasks under the current skill and memory through the selected backend.
  4. Reflect on failures and propose bounded edits.
  5. Gate the candidate on held-out real tasks.
  6. Stage accepted proposals under <project>/.skillopt-sleep/staging/<timestamp>/.
  7. Adopt only after review, backing up existing live targets first.

Commands

Use the installed-command form below, or replace skillopt-sleep with the platform-specific source runner described above.

TARGET_SKILL=.cursor/skills/skillopt-sleep-learned/SKILL.md

# Inspect current state and the latest staged proposal.
skillopt-sleep status --project "$(pwd)"

# Inspect mined tasks without provider spend.
skillopt-sleep harvest --project "$(pwd)" --source cursor \
  --target-skill-path "$TARGET_SKILL" --max-sessions 5 --max-tasks 3

# First smoke check: deterministic and no provider calls.
skillopt-sleep dry-run --project "$(pwd)" --source cursor --backend mock \
  --target-skill-path "$TARGET_SKILL" --max-sessions 5 --max-tasks 3 --json

# Model-driven optimization through the authenticated Cursor Agent CLI.
skillopt-sleep run --project "$(pwd)" --source cursor --backend cursor \
  --target-skill-path "$TARGET_SKILL" \
  --max-sessions 5 --max-tasks 3 --progress

# Inspect selections, then apply the reviewed managed proposal.
skillopt-sleep status --project "$(pwd)"
skillopt-sleep adopt --project "$(pwd)" --legacy

For fan-out proposals, use repeatable --skill NAME or --all-skills after review. Bare adopt deliberately refuses a night containing fan-out rows.

Actions are status, harvest, dry-run, run, adopt, schedule, and unschedule.

  • Default backend is mock, which is deterministic and makes no provider calls.
  • --backend cursor uses the user's authenticated Cursor Agent CLI budget for model-driven mining, replay, judging, and reflection.
  • --source cursor reads ~/.cursor/projects/<workspace>/agent-transcripts/*/*.jsonl.
  • --cursor-home PATH overrides the Cursor home used for harvesting.
  • --scope invoked selects the current workspace; --scope all includes every Cursor workspace.
  • --cursor-path PATH or SKILLOPT_SLEEP_CURSOR_PATH selects a non-default cursor-agent executable.
  • --model NAME or SKILLOPT_SLEEP_CURSOR_MODEL overrides the Cursor model.
  • Check model identifiers with cursor-agent --list-models; when cost matters, verify the billed variant in Cursor's usage reporting.
  • Keep live runs bounded with --max-sessions, --max-tasks, and --progress.
  • A held-out gain is evidence for that run, not a promise of general improvement.
자주 묻는 질문

스스로 실행되나요?

아니요. 직접 요청하거나, 명시적으로 요청한 일정을 설치했을 때 실행됩니다.

제안된 스킬은 어디에 저장되나요?

Cursor의 프로젝트 스킬 폴더에 저장되며, 이것이 Cursor의 목표 위치입니다.

추가 도구가 필요한가요?

재현 실행에는 선택 사항인 Cursor Agent 명령줄 백엔드를 쓸 수 있습니다.

상세 정보

작성자의 원본 설명

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.

repo: microsoft/SkillOpt

인기도

GitHub 스타
19k
순위
#10501
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬