meta-improve
Skill2 starsChanged 20 days agoMITView on GitHub
Use for '/meta-improve', 'meta pass', 'hourly retro', 'what did we learn', or when the hourly listener this skill starts wakes the agent. Reviews the last hour of work in any repo or process for patterns (what the user pushed back on, iterated on or emphasised; hiccups; manual steps), writes an hourly log for the record, and persists each lesson where future agents will actually act on it (the skill, tool, memory or project rule that governs that step) without letting those files balloon.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- wrg32786/aigent-ostheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- wrg32786/aigent-os★ 25same 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 repository15 other files it gives its agents.
- global/CLAUDE.mdCLAUDE.md
- black-octoberSkill
- branch-cascadeSkill
- build-orderSkill
- full-review-auditSkill
- newSkill
- pr-monitorSkill
- publish-mobile-appSkill
- remindSkill
- reopen-prSkill
- research-spikeSkill
- setup-switch-loginSkill
- skill-syncSkill
- splice-youtube-quotesSkill
- switch-loginSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
If a lesson lives only in the log, it is lost.
- Distinctive: line 33
Look for these, in this order.
- Distinctive: line 66
Delete rules the user has since reversed.
- Very specific: line 67
Check before writing: grep the skills and memory for the idea.
- Very specific: line 69
Commit edits to repos you own (project skills with the project.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Meta-improve
An hourly look back that makes the next hour better. Two outputs, kept apart on purpose:
- The log is history: what happened, the patterns, the reasoning. Detailed is fine; nobody acts on it.
- The persistence is behaviour: small edits to the skills, tools, memory and project rules that future agents load. If a lesson lives only in the log, it is lost. The log never substitutes for an edit.
0. Keep the listener running
The listener must never wake the agent in an hour the user said nothing. So no CronCreate timer (it fires a turn
every hour); instead, on first use in a session, start ~/.claude/skills/meta-improve/scripts/listen.sh <repo dir>
with Bash run_in_background. It checks hourly in silence and exits only when the user has written since the last
pass; its exit is the wake-up. Run the pass, then start it again. It dies with the session; say once that it is
running. Delete any leftover meta-improve cron job (CronList).
1. Gather the hour
python3 -I ~/.claude/skills/meta-improve/scripts/signals.py --since 60(--transcript PATH for another session; set CLAUDE_CONFIG_DIR for a second login.) It lists every user message,
interruptions, tool errors, files edited 3+ times and repeated commands. Read it, then skim the transcript where a
signal needs context. Also read the previous log's "to watch" list.
2. Find the patterns
Look for these, in this order. Each one is a candidate lesson.
- Pushback and corrections. The user said no, "I don't like", "instead", "again", undid a choice, or repeated an ask. What rule would have produced the right thing the first time?
- Iteration loops. The same thing reworked 3+ times (files edited 3+ times, renders redone). What missing step (a lineup, options first, a check) would have shortened it?
- Emphasis and taste. What the user stressed, praised or kept choosing: visual taste, process preferences, tone.
- Hiccups. Tool errors, wrong assumptions, a wrong path taken, time lost waiting, a check done wrong (for example a montage sorted out of order). What one change prevents the repeat?
- Manual steps. Anything done by hand twice that a script or tool could do. Automate it or note the script.
- Carried claims. Re-verify anything you are about to repeat from an earlier log; mark it "unverified since" if you can't.
Drop anything that only mattered once. A lesson needs a reason it will recur.
3. Persist each lesson where it will be acted on
Pick the narrowest home that the next agent doing that step will load:
| The lesson is about | Put it in |
| how a recurring task is done | the skill for that task (edit in place) |
| a repeated manual step | a script or tool, and one line in the skill that points to it |
| this user's taste or process preferences | memory (feedback type, with why and how to apply) |
| a fact about this repo or project | memory (project type) or the repo's CLAUDE.md / AGENTS.md if every agent needs it |
| a missing skill the work keeps needing | a new, small skill (only when no existing skill fits) |
Anti-bloat rules (hard):
- Edit before adding. Rewrite the sentence that was wrong instead of appending a correction.
- One rule, one place. Link to it elsewhere; never copy it.
- Net growth per pass: at most ~15 lines across all skills. If a lesson needs more, it belongs in a script or a
references/file the skill links to. - A SKILL.md over ~250 lines gets tightened in the same pass: merge, cut obsolete rules, move detail out.
- Delete rules the user has since reversed. Stale rules are worse than none.
- Check before writing: grep the skills and memory for the idea; update the existing line if it is there.
Commit edits to repos you own (project skills with the project; this skills repo on a branch with one rolling PR,
meta-improve/updates, unless its README says otherwise). Never edit the user's product code from this skill.
4. Write the log
<repo>/docs/meta/<YYYY-MM-DD>/<HHMM>.md when the repo has docs/, else ~/.meta-improve/<repo>/<YYYY-MM-DD>/<HHMM>.md:
- Hour in brief: what was worked on, in a few lines.
- Patterns: each with its evidence (quote the user, name the file or command).
- Changes made: each persisted edit, with its file, so the record shows where the lesson lives now.
- Considered and dropped: with why (one-offs, already covered).
- To watch: patterns seen once that may recur; the next pass checks them.
5. Report
- Attended (a user message opened the turn): a short summary of the changes made.
- Unattended (the listener woke you): one line per persisted change; nothing if there were none. The log is written whenever a pass runs (the listener never wakes you for an hour without user messages). Never interrupt in-progress work beyond the pass itself: do it, then resume what you were doing.
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.

