self-evolve
Skill1 starsChanged 6 months agoMITView on GitHub
Make the agent improve with every task — review the run, distill lessons into durable memory, and reinforce what worked. Use at the end of any non-trivial task, or when the user asks the agent to "learn from this".
3 other projects use a version of this.
Adopted by
Most recently taken up by
- DaizeDong/self-evolvetheir own version, first seen Oct 4, 2026
- Leo-Atienza/atlas-claudetheir own version, first seen Jul 24, 2026
- avibebuilder/claude-primetheir own version, first seen May 10, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- avibebuilder/claude-prime★ 120same name
- DaizeDong/self-evolve★ 26same name
- Leo-Atienza/atlas-claude★ 4same 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 repository9 other files it gives its agents.
- changelogSkill
- conventional-commitsSkill
- engram-memorySkill
- incident-postmortemSkill
- pr-descriptionSkill
- repo-onboardingSkill
- systematic-debuggingSkill
- test-writingSkill
- tracelet-instrumentSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 21
Observe what actually happened: Don't trust your memory of the run — check it.
- Distinctive: line 42
Reinforce retrievals that proved right: If you recalled a memory during the task and it turned out to be the correct answer, say so — …
- Very specific: line 52
Close the loop next task: recall before you act: Start non-trivial tasks with a recall of the relevant area (engram_recall: "staging …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
self-evolve
An agent that doesn't learn repeats its mistakes at full price. This skill is the improvement loop: observe the run → distill the lesson → store it → reinforce what worked → recall it next time. It uses local tools (engram for memory, tracelet for observation), so the learning stays on the user's machine.
The loop (run it at the end of each non-trivial task)
- Observe what actually happened. Don't trust your memory of the run —
check it. If tracing is on (
npx @jnmetacode/tracelet), look at the trace: which tool calls failed or were retried, where the time and tokens went, which approach was abandoned. Without a trace, review your own steps: what did you try first that didn't work? - Distill at most 1–3 lessons. A lesson is durable knowledge that would
change how you act next time, not a diary entry:
- a root cause ("the staging DB rejects connections without SSL")
- a working recipe ("build fails unless
npm ciruns before codegen") - a user preference revealed by a correction ("they want diffs, not files") Skip anything the repo/docs already record.
- Store each lesson (one fact per memory, dated, with the why):
(CLI:engram_remember: "2026-06-12: deploys to staging need SSL_MODE=require — the pooler silently drops non-SSL connections (cost us 40 min)."npx @jnmetacode/engram remember …via the HTTP API, or theengram_rememberMCP tool.) - Reinforce retrievals that proved right. If you recalled a memory during
the task and it turned out to be the correct answer, say so — recall gets
measurably better with use:
Future similar queries will rank that source higher. Only reinforce what was verified (the fix worked, the user confirmed) — reinforcing guesses trains the memory to be confidently wrong.engram_reinforce: { query: "staging deploy fails", source: "deploys" } - Close the loop next task: recall before you act. Start non-trivial
tasks with a recall of the relevant area (
engram_recall: "staging deploy"). The loop only pays off if stored lessons actually get read.
Calibration
- Don't hoard. One sharp lesson beats ten vague ones; if everything is a
lesson, nothing is. When a memory turns out to be wrong, delete it
(
engram forget <source>) rather than stacking corrections on top. - Promote recurring lessons into skills. The third time a lesson is about
procedure ("always do X before Y in this kind of task"), it has outgrown
memory — write it into a SKILL.md (
npx @jnmetacode/skillet new <name>) so every future session starts with it instead of having to recall it. - Stay honest. The loop measures itself: if reinforced recalls keep surfacing the wrong source, the lessons are badly written — rewrite them more concretely instead of reinforcing harder.
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.

