Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By alirezarezvani Verifiedv2.14.5MITIn 1 marketplace
Consolidates patterns from past Claude Code sessions into reviewable CLAUDE.md memory and SKILL.md updates, staged until you adopt them. Says the default backend is mock with no API spend; a script runs at session end.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
This folder started as a verbatim copy of the skillopt_sleep engine and
the Claude Code plugin surface from
microsoft/SkillOpt
(skillopt_sleep/, plugins/claude-code/, plugins/run-sleep.sh), only
relocated so path resolution (CLAUDE_PLUGIN_ROOT-relative lookups in
scripts/sleep.sh / scripts/run-sleep.sh) resolves correctly at this
folder's location. Licensed under the MIT License © Microsoft
Corporation. A small number of targeted patches were made afterward to close
gaps between this plugin's own safety claims and what the code actually did
— see Deviations from upstream below. Re-apply all of these on re-vendor;
they are not upstream yet.
check_paths.py wording. skills/skillopt-sleep/SKILL.md's
frontmatter description said "...consolidate validated CLAUDE.md/SKILL.md
behind a held-out gate" — the CLAUDE.md/SKILL.md substring reads as a
broken relative path to this repo's [A-Za-z0-9_\-./]+/SKILL\.md linter
regex. Reworded to "CLAUDE.md and SKILL.md"; no behavior or meaning
changed.staging.py's redact_secrets() was applied to diagnostics.json and CLI
error logging, but not to proposed_SKILL.md / proposed_CLAUDE.md —
the exact files adopt() copies over your live CLAUDE.md / managed
SKILL.md (with --auto-adopt, with no human in the loop). Since
reflect()'s prompt is built from real harvested session text, a secret
pasted into a real debugging session could have landed in your live memory
file unredacted, despite the "secrets are redacted from prompts" claim
below. Fixed: write_staging() now runs both through redact_secrets()
before writing.scheduler.py's _runner_cmd() wrapped project (an
arbitrary filesystem path) in manual "..." quoting, then wrote the result
straight into your real crontab — which cron runs through sh -c on every
fire. A path containing ", `, $( ), or ; could break out of the
quoting and inject an arbitrary command into your crontab. Fixed: project,
logdir, log, and the repo root are now shlex.quote()-d before
interpolation.max_tokens_per_night was a dead config key. config.py
declared it in DEFAULTS, and budget.py already had a Budget /
plan_depth heuristic built for exactly this purpose, but nothing in the
production run_sleep_cycle() path ever read it — a --backend claude/--backend codex night had no real ceiling on API spend. Fixed:
cycle.py now starts a Budget right after backend construction (so
harvest/mine spend counts too), sizes dream_rollouts down via
plan_depth() when the remaining budget is tight, and appends a report
note whenever it caps rollouts or the budget is exhausted at night's end —
no silent truncation. This caps rollout depth per task, not a hard
mid-call abort inside a single dream_consolidate() call; a night can
still overshoot the cap somewhat if an individual rollout is unusually
token-heavy. That residual gap is real and not yet closed.backend.py's resolve_codex_path()
listed ~/.nvm/versions/node/v22.22.3/bin/codex as a candidate ahead of
the generic "any nvm node version" scan a few lines later, which already
covers it. Removed; no behavior change for anyone not on that exact nvm
version, one less leftover-looking line for everyone else.redact_secrets was a dead config key. config.py declared
"redact_secrets": True in DEFAULTS, but write_staging() called
redact_secrets() unconditionally — the safe direction, but the knob had
no effect either way. Fixed: cycle.py now reads
cfg.get("redact_secrets", True) and threads it through write_staging()
and the diagnostics.json fields; disabling it is honored (it's the
user's config) but never silently — a report note fires whenever it's
off.adopt() now re-redacts as defense-in-depth. Previously
adopt() copied the staged proposed_SKILL.md/proposed_CLAUDE.md
straight to the live path with shutil.copy2. Since write_staging()
already redacts, this was redundant for the common case, but didn't cover
a human hand-editing the staged proposal between stage and adopt (the
exact workflow staging exists to allow). adopt() now reads, re-runs
redact_secrets(), and writes each file rather than a raw byte copy;
_backup() of the prior live file is unaffected (that's a backup of
what already existed, not the incoming content).scheduler.py's extra param wasn't shell-quoted.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub alirezarezvani/claude-skills --plugin skillopt-sleepPlugins from other owners that cover similar ground