skillopt-sleep-9174ca — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited skillopt-sleep-9174ca (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
SkillOpt-Sleep gives the user's Codex agent a sleep cycle. While the user is offline or on demand, it reviews past local sessions, re-runs recurring tasks on the user's own budget, and consolidates what it learns into memory and skills. It keeps only changes that pass a held-out validation gate, and live files change only after the user explicitly adopts a staged proposal. There is no model-weight training.
Trigger when the user wants any of:
status, harvest, dry-run, run, or adopt for SkillOpt-Sleep.configuration and normalize them into session digests.
TaskRecords with outcomes andcheckable references where possible.
<project>/.skillopt-sleep/staging/<date>/; nothing live changes.
files with backups.
Invoke the bundled runner via shell (Codex exec has shell access). The runner finds the engine and a Python >= 3.10 automatically.
# point at the repo if it isn't auto-detected from CWD:
export SKILLOPT_SLEEP_REPO=/path/to/SkillOpt-Sleep
bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" status --project "$(pwd)"
bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" harvest --project "$(pwd)"
bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" dry-run --project "$(pwd)" --backend mock
bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" run --project "$(pwd)" --backend codex
bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" run --project "$(pwd)" --source codex # harvest from Codex Desktop
bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" adopt --project "$(pwd)"Actions are status, harvest, dry-run, run, adopt, schedule, and unschedule.
mock, which is deterministic and spends no API budget.--backend codex uses the user's Codex budget for real improvement.--source codex reads Codex Desktop archived sessions from ~/.codex/archived_sessions;use --codex-home /path/to/.codex if the archive lives elsewhere.
dry-run --backend mock as the first smoke check unless the userexplicitly asked for a real optimization run.
bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" schedule --project "$(pwd)" --hour 3 --minute 17
bash "$SKILLOPT_SLEEP_REPO/plugins/run-sleep.sh" unschedule --project "$(pwd)"Installs a nightly cron entry. unschedule --all removes every managed entry.
--backend mock — deterministic, no API spend (default)--backend claude — uses the Claude CLI--backend codex — uses the Codex CLI--backend copilot — uses the GitHub Copilot CLI| Flag | Description |
|---|---|
--auto-adopt | Auto-adopt if the gate passes (default: stage only) |
--edit-budget N | Max bounded edits per night (default: 4) |
--lookback-hours N | Harvest window in hours (default: 72) |
--json | Machine-readable JSON output |
~/.skillopt-sleep/config.json)on (validation-gated, default) or off (greedy)hard | soft | mixed (default)The sleep cycle consolidates both memory (AGENTS.md / CLAUDE.md) and skills (SKILL.md) by default. Each is independently toggleable via evolve_memory / evolve_skill config keys. Both are gated by the same held-out validation score.
dry-run and run, report the held-out baseline -> candidate score,gate action, task count, session count, and exact proposed edits.
report.md before summarizing.run only stages a proposal; nothing live changes until adopt.AGENTS.md, memory, or skills as a substitutefor adopt; adoption is the safety boundary and writes backups first.
contents out of messages, logs, generated artifacts, and commits.
/sleep slash commands for thisCodex integration. This skill is the entrypoint.
python -m skillopt_sleep dry-run --project "$(pwd)" --backend mock --json
python -m skillopt_sleep.experiments.run_gbrain --backend codex \
--seeds brief-writer --data-root /path/to/gbrain-evals/eval/data/skillopt-v1 \
--nights 2 --limit-replay 3 --limit-holdout 3A deficient skill goes 0.00 -> 1.00 on a held-out set; the optimizer's edits are gated on real-task performance.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.