/self-improve:self-improve-runfrom self-improve
Orchestrates the self-improvement loop by running three collectors (sessions, git, outside) in order, then writing a combined digest with top recurring findings ranked by frequency.
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: print it once with python "${CLAUDE_PLUGIN_ROOT}/selfimprove.py" where (py on Windows), as one
standalone command. It is $SELF_IMPROVE_HOME, or ~/self-improve. Below, <data> means that folder.
Run the collectors in this order, each as its own skill invocation, and let each write its own digest for today:
self-improve:collect-sessions → <data>/digests/<date>-sessions.mdself-improve:collect-git → <data>/digests/<date>-git.mdself-improve:collect-outside → <data>/digests/<date>-outside.mdIf a collector fails, note it and carry on with the others. Don't retry more than once.
Read the three digests for today, plus the previous combined digest if there is one, so you can tell new findings
from recurring ones. Write <data>/digests/<YYYY-MM-DD>-combined.md:
# Combined digest <date>
Sources: sessions ✓/✗ · git ✓/✗ · outside ✓/✗
## Top findings (ranked)
| # | Finding | Evidence (count) | Seen in | New or recurring |
|---|---|---|---|---|
| 1 | <finding> | <the count or quote that proves it> | sessions, git | recurring since <date> |
## Proposed changes
- <for each top finding, the smallest change that would address it, and the file it would touch>
Rank by how often a finding recurs (its count), then by how many sources show it, then by whether it recurred in the previous combined digest. Keep at most 10 findings.
Rules:
self-improve:improve-system's job.What SKILL.md sets; muted values are Claude Code's defaults
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./improve-systemSelf-improve loop, improve step: read the latest <data folder>/digests/*-combined.md, apply small reversible fixes (with backups and a change-log entry), and write bigger changes to a dated review file for the user to tick. On later runs, apply only ticked review items. Use when the user says /self-improve:improve-system or the scheduled loop runs it after /self-improve:self-improve-run.npx claudepluginhub ahmadhammoud56/moaa --plugin self-improve