Per-platform install (Claude Code marketplace, Codex install.sh, Copilot MCP server) plus optional wider-distribution steps (GitHub Release, official Claude plugin marketplace PR, PyPI) and release-verification commands. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2.9 KiB
Publishing SkillOpt-Sleep — how people install and use it
This is the open-source SkillOpt-Sleep tool: a nightly offline "sleep cycle" for
local coding agents, shipped as plugins for Claude Code, Codex, and
Copilot. One engine (skillopt_sleep/), three thin shells
(plugins/), decoupled from the research code.
How end users install it
Claude Code
The Claude Code plugin ships a marketplace manifest at
plugins/claude-code/.claude-plugin/marketplace.json.
# inside Claude Code:
/plugin marketplace add microsoft/SkillOpt
/plugin install skillopt-sleep
/sleep status
(/plugin marketplace add <owner>/<repo> reads the marketplace manifest from the
repo; the entry points at plugins/claude-code.)
Codex
git clone https://github.com/microsoft/SkillOpt.git
cd SkillOpt
bash plugins/codex/install.sh # installs /sleep prompt + skill
export SKILLOPT_SLEEP_REPO="$(pwd)" # so the runner is found anywhere
# then, in Codex: /sleep status
Copilot
git clone https://github.com/microsoft/SkillOpt.git
# register the MCP server with your Copilot config (see plugins/copilot/README.md
# and plugins/copilot/mcp-config.example.json), pointing SKILLOPT_SLEEP_REPO at
# the clone. Then ask Copilot to "run the sleep cycle".
Requirements for all three: Python ≥ 3.10, and the corresponding agent CLI on
PATH. The default backend is mock (no API spend); --backend claude|codex
uses the user's own budget.
Wider distribution (optional, maintainer steps)
-
GitHub Release. Tag the milestone so users can pin a version:
gh release create sleep-v0.1.0 --title "SkillOpt-Sleep v0.1.0" \ --notes "Nightly offline self-evolution plugins for Claude Code, Codex, Copilot." -
Official Claude Code plugin marketplace. To appear in the public directory, open a PR adding a
marketplace.jsonentry to [anthropics/claude-code/ the official marketplace repo], pointing atmicrosoft/SkillOptsubdirplugins/claude-code. Users could then/plugin install skillopt-sleep@<official-marketplace>. -
PyPI (optional).
skillopt_sleepis a standalone package (pyproject.tomllists it). Apip install skillopt-sleepdistribution would let users runpython -m skillopt_sleep ...without cloning. Build withpython -m buildand publish withtwine. -
README News. The main
README.mdalready announces the release and links toplugins/anddocs/sleep/FINAL_REPORT.md.
Verifying a release works
# deterministic, no API key:
python -m skillopt_sleep.experiments.run_experiment --persona researcher --assert-improves
# the unit suite:
python -m unittest tests.test_sleep_engine
# the MCP server (Copilot):
printf '%s\n' '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' \
| SKILLOPT_SLEEP_REPO="$(pwd)" python3 plugins/copilot/mcp_server.py