Skillopt Sleep
Drives the skillopt_sleep engine: harvest past sessions, mine recurring tasks, replay them offline.
Before & after
Same prompt, same agent — the only difference is the skill.
That's an interesting idea. Over time, you could track common patterns in your interactions and periodically review them to see what kinds of questions come up most often. You might manually consolidate lessons learned into your agent's instructions, or build a simple logging system that captures recurring themes. You'd probably want to set up a regular checkpoint where you read through past conversations and extract useful insights. It would help to have some way of measuring whether the improvements actually work. The tricky part would be making sure updates don't accidentally break things that were already working well. Would you like some suggestions on how to structure this kind of manual review process?
SKILLOPT SLEEP WORKFLOW HARVEST → Runs after each session → Scans conversation history for repeated requests, stuck points, and workarounds → Tags interactions by type (clarification needed, better examples needed, boundary issue, repetitive pattern) MINE → Groups tagged interactions into clusters → Identifies the top 3-5 recurring gaps → Extracts concrete examples from real conversations REPLAY (OFFLINE) → Runs outside your active sessions → Tests each proposed instruction change against held-out conversation samples → Validates that the change fixes the gap without breaking existing behavior → Measures improvement: does this reduce the number of clarifying questions? CONSOLIDATE → Merges validated changes into your CLAUDE.md and SKILL.md → Updates are gated: you review diffs before they take effect → Original instructions remain in version control for rollback SCHEDULE Runs nightly by default; you control frequency via settings.
About this skill
name: skillopt-sleep description: Use when 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 bet...
Skillopt Sleep
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 offline self-optimization. Drives the skillopt_sleep engine: harvest past sessions -> mine recurring tasks -> replay offline -> consolidate validated CLAUDE.md and SKILL.md behind a held-out gate.
What you get
- Public GitHub repo (alirezarezvani/claude-skills)
- the skillopt-sleep skill folder with SKILL.md. Part of a 337-skill / 30-agent / 70-command install.
Customize your output
- Fork the repo and adapt the skill's instructions and references to your workflow.
Example output
Activates automatically when your request matches Skillopt Sleep; chains with the other skills, agents, and commands in the collection.
Best for
Creators, builders, and teams using Claude Code.
SKILL.md preview
---
name: skillopt-sleep
description: Use this skill when the user wants their Claude agent to self-improve from past usage through a nightly or offline sleep-and-consolidate cycle.
version: 1.0.0
category: Development / Engineering
author: AgentVolt
license: proprietary
tags:
- development
- engineering
---
# Skillopt Sleep
Drives the skillopt_sleep engine: harvest past sessions, mine recurring tasks, replay them offline, and consolidate validated updates into CLAUDE.md and SKILL.md behind a held-out evaluation gate.
## When to use
… (sign up to view the full skill)More development skills
View all Development skills →Generate
Scaffold code, tests, and boilerplate from a short spec.
Performance Profiler
Systematic performance profiling for Node.js, Python, and Go applications.
Threat Detection
Use when hunting for threats in an environment, analyzing IOCs, or detecting behavioral anomalies in telemetry.
Agent Harness
Turns a domain folder of skills into a bounded agentic loop: compile a goal into a task plan, execute with the domain's tools, verify every task, retry within a budget.