cycle
Skill1 starsChanged 32 days agoMITView on GitHub
Run one full self-improvement cycle: audit, review the ledger, check new models and releases when due, and propose the next changes.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- AcKeskin/contexturetheir own version, first seen Nov 1, 2026
- bordumb/recurvetheir own version, first seen Oct 13, 2026
- AztecProtocol/aztec-packagestheir own version, first seen Oct 8, 2026
- iliasedelkin/jobissimotheir own version, first seen Oct 2, 2026
- robertnowell/marketing-pipelinetheir own version, first seen Jul 13, 2026
- ba0918/claude-skillstheir own version, first seen Jul 9, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- AztecProtocol/aztec-packages★ 458same name
- iliasedelkin/jobissimo★ 8same name
- AcKeskin/contexture★ 2same name
- robertnowell/marketing-pipeline★ 2same name
- ba0918/claude-skills★ 0same name
- bordumb/recurve★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auditSkill
- autonomySkill
- batch-wakeupsSkill
- code-mapSkill
- codex-dispatchSkill
- flowSkill
- frictionSkill
- guardrailsSkill
- lean-agentsSkill
- modelsSkill
- planningSkill
- reviewSkill
- rosterSkill
- scanSkill
- scheduleSkill
- slim-instructionsSkill
- speedSkill
- startSkill
- test-loopSkill
- tools-before-tokensSkill
- trim-contextSkill
- undoSkill
- whats-newSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Not in Claude Code?: Read docs/hosts.md in the plugin root first.
- Distinctive: line 22
Add every new self-improvement tool or process to the plugin so it runs on the plugin schedule.
- Very specific: line 26
Review: Use the selected report and ledger with ${CLAUDE_PLUGIN_ROOT}/skills/review/SKILL.md: fill in measured effects, then keep, tune or …
- Very specific: line 36
proposemode: wait for my OK, then run the approved changes one at a time, each with a ledger row. - Very specific: line 38
Read "In auto, these are NOT reasons to skip a change" in ${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md before deciding to skip anything.
- Very specific: line 41
Record: After each applied change, add a project ledger row with metric command and review date using …
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
One self-improvement cycle
Plugin root: ${CLAUDE_PLUGIN_ROOT}. If that is still a ${...} placeholder, use the folder that contains skills/ (this file is skills/<name>/SKILL.md), and substitute that path, in quotes, wherever this skill uses CLAUDE_PLUGIN_ROOT.
Not in Claude Code? Read docs/hosts.md in the plugin root first. Skip steps that only work in Claude Code, and follow its propose-only rule before changing any host configuration.
This is the entry point when you don't know which skill to run. It runs the loop once. With propose-only it changes nothing and prints the proposal as Markdown. The scheduler saves it as cycle-<yyyy-mm-dd>.md (-2 suffix for a second one that day) in this project's report folder, printed as reports by python3 ${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-scheduled config show --for .. Run interactively, write it to docs/kaizen/.
Autonomy: follow ${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md. The mode comes from the skill argument (propose, safe, auto or yolo), else docs/kaizen/config.json, else agent-kaizen.json in your Claude config dir ($CLAUDE_CONFIG_DIR or ~/.claude), else propose. In safe and auto, read every "wait for my OK" below as: apply it yourself if the mode allows (backup, verify, roll back on failure, ledger row), otherwise list it as a proposal. Hard stops always ask. At most maxChangesPerRun changes (default 3). End with a summary of what was applied, skipped and rolled back.
Scheduled runs search with Grep and locate/read files with Glob and Read. Use the supplied reports for git state and measurements. Do not use Bash rg, git, wc, diff, cd, mkdir, token-audit, arbitrary scripts or shell redirection. Auto runs may use only the supplied backup begin/finish/list and notes-ledger add helpers. The runner handles rollback; report a failed check and leave its backup unfinished or finish it with --verification failed.
Task
Add every new self-improvement tool or process to the plugin so it runs on the plugin schedule. Record each change in the notes ledger with what changed, why and how to measure it; re-measure later.
- Find the state. Scheduled runs use the supplied report. Otherwise get
localAuditsandreportsfrompython3 "${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-scheduled" config show --for .. ReadLEDGER.mdindocs/kaizen/orlocalAudits. If missing, ask for/agent-kaizen:start(propose-only: report it missing). Interactively, use the newesttoken-audit-*.mdacrossdocs/kaizen/andlocalAudits, then fall back toreports. Read the newest globalchecks-*.mdand scopedproject-report-*.mdwhen present. - Measure. Interactively, when commands are available, run
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-scheduled review --dry-run --project-dir <project>withdocs/kaizenstripped fromlocalAudits. Use its canonicalproject:and allpaths:for refresh or preparation. If the newest report is older than 3 days, runpython3 ${CLAUDE_PLUGIN_ROOT}/scripts/token-audit --cwd <path> --days 14 --out <canonical-project>/docs/kaizen/, repeating--cwd <path>for every listed path. Do not use--cwd . --days 14 --out docs/kaizen/alone. Use scoped settings: append--no-frictionwhen friction is off, otherwise append--friction-slow-secondsand--friction-heavy-secondswith the configured thresholds. Use the refreshed report, including on exit 4, and relay the extract warning; on other failures use the original. Do this freshness check even when friction is off or its gate is empty. Use the report's comparison for matching windows and scopes. - Review. Use the selected report and ledger with
${CLAUDE_PLUGIN_ROOT}/skills/review/SKILL.md: fill in measured effects, then keep, tune or revert. A project-scopedusage-seriesandusage-compare --cutoff <change date>may supply rates instead of two audit windows. - Outcomes and checks. Scheduled runs read the precomputed checks and project report; do not run
notes-ledger due,rules-lint,kaizen-link --checkorkaizen-project-report. Those commands are for interactive runs. Follow the project report's calibration proposals; UP or DOWN moves one rung, HOLD keeps the tier and carries its reason. ForDRIFTorBROKENlines, proposekaizen-backup begin --skill cycle --ledger <text> <listed-paths>, thenkaizen-link --apply --replace --only <listed-names>, thenkaizen-backup finish <change-dir>; or add intended local names tolocalScripts. ForSTALE-CACHE, scheduled runs propose reinstalling the named plugin or bumping its version. In interactive runs, uninstall and reinstall it withclaude plugin uninstall <plugin> && claude plugin install <plugin>, or bump its version. Fix stale-rule wording or its pattern. Propose measurements; never runnotes-ledger setwithout the owner's OK. - Due checks. Scheduled runs skip model and release web checks; interactive runs keep them. Scheduled runs read the
## Due checkslines in this project's## Experiments: ...section of the newestchecks-*.md. Interactive runs use these two separate commands, substituting the path printed by the first into the second:python3 ${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-scheduled checks path --for .python3 ${CLAUDE_PLUGIN_ROOT}/scripts/experiment-check --project . --checks --state-file <that path>- For a never-run or overdue check, follow the corresponding models, roster or whats-new skill. Investigate unknown checks.
- context surface: if the last trim is more than 60 days old, or the audit shows a jump in fixed context, suggest
/agent-kaizen:trim-context. - Friction: interactively, after the freshness check, refresh the probe per
${CLAUDE_PLUGIN_ROOT}/skills/friction/SKILL.md, then runpython3 "${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-scheduled" friction prepare --for <canonical-project> --report <selected-report>. A failed, disabled or empty preparation skips only friction analysis. Scheduled runs use only the supplied report and optional prepared view. If a view exists, follow the friction skill in the same mode and include its findings in the ranking; do not prepare twice.
- Propose. At most 5 next changes across everything above, ranked by expected saving per unit of effort. For each: the skill that implements it, the risk, and how the next audit will measure it.
- Act.
proposemode: wait for my OK, then run the approved changes one at a time, each with a ledger row.safeandautomodes: don't stop at a proposal list. Take the top proposals the mode allows, up tomaxChangesPerRun, and carry each one out now. Follow the implementing skill'sSKILL.mdin${CLAUDE_PLUGIN_ROOT}/skills/<skill>/in the same mode, with backup, verify, roll back on failure, and a ledger row. "Needs the user's decision" is a reason to skip only for a hard stop, or for a change you can't verify in this run. Pick a smaller, verifiable version of the change when one exists. For example, trim one instruction file rather than all of them.- Read "In
auto, these are NOT reasons to skip a change" in${CLAUDE_PLUGIN_ROOT}/docs/autonomy.mdbefore deciding to skip anything. propose-only: print the proposal and stop.
- Record. After each applied change, add a project ledger row with metric command and review date using
${CLAUDE_PLUGIN_ROOT}/skills/start/SKILL.md, and runpython3 ${CLAUDE_PLUGIN_ROOT}/scripts/notes-ledger add --date <date> --category <category> --change <change> --why <why> --measure <measurement> --source <source>whennotesLedgeris configured. In scheduled runs, use the givennotes-ledger-pathin place of${CLAUDE_PLUGIN_ROOT}/scripts/notes-ledger. Exit 3 means not configured; skip it. - Tidy. Outside scheduled runs, run
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-scheduled housekeeponce. Mention in the summary how many of the plugin's own old files it removed. In a scheduled run the runner does this; skip it. Use--dry-runfirst if the user asked to see what would go.
Done when
The ledger is up to date and a short, ranked proposal exists, either applied with your OK or written to the proposal file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

