/self-improve:improve-systemfrom self-improve
Reads the latest combined digest, applies small reversible fixes with backups and change-log entries, and writes larger changes to a dated review file for user approval. On subsequent runs, applies only ticked review items.
Ships in self-improve. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Plugin root: ${CLAUDE_PLUGIN_ROOT}. The Bash tool does NOT receive CLAUDE_PLUGIN_ROOT as an environment variable;
always use the substituted absolute path in commands.
Data folder <data>: print it once with python "${CLAUDE_PLUGIN_ROOT}/selfimprove.py" where (py on Windows). It is
$SELF_IMPROVE_HOME, or ~/self-improve. Backups go in <data>/backups/, the log is <data>/change-log.md, and
review files are <data>/reviews/<date>-review.md.
For every reviews/*-review.md, apply each line marked - [x] that isn't marked (applied <date>) yet:
backups/<date>-<file name>. (applied <date>) to that line.change-log.md.Leave unticked - [ ] items alone.
Read the newest digests/*-combined.md and its "Proposed changes". Put each proposal in exactly one bucket:
reviews/<date>-review.md as
- [ ] <exact change> (<file or command>; why: <finding>).## Questions in the same review file.change-log.md gets one line per applied change:
| <date> | <file> | <change> | <reason / finding #> | backup: backups/<name> |
env block or plugin enablement automatically,
even as "small" changes. Those always go to sign-off.~/.claude/CLAUDE.md (Apply items), the user's own skills listed in an Apply item, and the
data folder. Never edit an installed plugin's files (this one included): an update overwrites them, so plugin
changes go to sign-off.claude -p), Claude Code refuses writes under ~/.claude (a protected path). Don't retry or
work around it: put that Apply item in the review file as - [x] <exact change> (auto-apply refused: protected path), so the next interactive /self-improve:improve-system run applies it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
5 skills in this plugin
/collect-gitSelf-improve loop, collector 2: summarize the last 7 days of git history in the repos listed in <data folder>/repos.txt into <data folder>/digests/<date>-git.md. Read-only. Use when running /self-improve:self-improve-run or when asked to collect recent git activity./collect-outsideSelf-improve loop, collector 3: read a fixed list of outside release notes and changelogs (Claude Code, Python, plus any feeds listed in <data folder>/sources.txt) and write the items relevant to this setup into <data folder>/digests/<date>-outside.md. Use when running /self-improve:self-improve-run or when asked for recent upstream changes./collect-sessionsSelf-improve loop, collector 1: summarize the last 7 days of Claude Code sessions into <data folder>/digests/<date>-sessions.md (goals, what worked, what failed or was retried, instructions the user had to repeat). Use when running /self-improve:self-improve-run or when asked to collect or summarize recent sessions./self-improve-runSelf-improve loop orchestrator: run the three collectors (collect-sessions, collect-git, collect-outside) in order, then write <data folder>/digests/<date>-combined.md with the top findings ranked by how often they recur. Use when the user says /self-improve:self-improve-run, 'run the self-improve loop', or when the scheduled task runs it.npx claudepluginhub ahmadhammoud56/moaa --plugin self-improve