self-improving-agent
Skill1 starsChanged 3 months agoMITView on GitHub
Auto-curate memory, promote recurring patterns, and extract reusable knowledge across sessions. TRIGGER when: user says "/si:", asks about memory management, pattern promotion, or wants to review accumulated learnings. DO NOT TRIGGER when: user wants general code review, documentation, or project planning.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- kopp0510/claude-ddtheir own version, first seen Oct 5, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- zeroclaw-labs/zeroclaw-skillstheir own version, first seen Sep 24, 2026
- YiShu5/claude-skillstheir own version, first seen Sep 20, 2026
- themusecatcher/ai-coding-kittheir own version, first seen Sep 15, 2026
- lsongdev/skillstheir own version, first seen Sep 10, 2026
Used with
Projects with it also use tavily-search, web-search and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
caicongyangSkilltavily-search
Tavily 搜索工具,提供 AI 优化的搜索结果。每月免费 1000 次查询。
Also in 5 projects that use this
IgosukiSkillweb-search
This skill should be used when users need to search the web for information, find current content, look up news articles, search for images, or find videos. It uses DuckDuckGo's search API to return results in clean, formatted output (text, markdown, or JSON). Use for research, fact-checking, finding recent information, or gathering web resources.
Also in 4 projects that use this
VercelSkillfind-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Also in 6 projects that use this
OpenAISkillbrainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Also in 4 projects that use this
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 3 projects that use this
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- OpenMinis/MinisSkills★ 438same name
- YiShu5/claude-skills★ 133same name
- zeroclaw-labs/zeroclaw-skills★ 65same name
- Tyuts/xiaobai-skills★ 58same name
- zhouguoqing/QianYuan.AIAgenticFramework★ 37same name
- Hassaan146/claude-skills★ 18same name
- mick-gsk/drift★ 16same name
- delorenj/skills★ 15same name
- dglijin-oss/chinese-metaphysics-skills★ 13same name
- kopp0510/claude-dd★ 12same name
9 more not listed
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 repository61 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- adversarial-reviewerSkill
- agent-designerSkill
- architectSkill
- autoresearchSkill
- blockscoutSkill
- ci-cd-pipeline-builderSkill
- claude-apiSkill
- codebase-onboardingSkill
- code-reviewSkill
- coingeckoSkill
- database-designerSkill
- dependency-auditorSkill
- design-uxSkill
- digestSkill
- droo-stackSkill
- env-secrets-managerSkill
- ethskillsSkill
- ffmpeg-asmSkill
- focused-fixSkill
- frontend-slop-auditSkill
- git-guardrailsSkill
- git-worktree-managerSkill
- humanizerSkill
- interface-designerSkill
- llm-cost-optimizerSkill
- local-browser-inspectorSkill
- mcp-server-builderSkill
- native-codeSkill
- nixSkill
- noirSkill
- observability-designerSkill
- patchbotSkill
- performance-profilerSkill
- playwrightSkill
- polymathSkill
- prd-to-planSkill
- prepperSkill
- property-testingSkill
- qaSkill
- rag-architectSkill
- raxol-paymentsSkill
- raxolSkill
- raxol-symphonySkill
- recallSkill
- refactoring-strategySkill
- regenSkill
- releaseSkill
- security-auditorSkill
- sentinelSkill
- signozSkill
- skill-creatorSkill
- solidity-auditorSkill
- tddSkill
- tech-debt-trackerSkill
- ubiquitous-languageSkill
- watchdogSkill
- web-asset-generatorSkill
- writing-voiceSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 70
Never promote after a single occurrence -- wait for recurrence
- Distinctive: line 71
Always show the user what will be promoted and where before writing
- Distinctive: line 72
Remove promoted entries from MEMORY.md to prevent duplication
“Common” is measured: kept by at least 6 in 10 of the 15 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
Self-Improving Agent
Curate session memory, promote recurring patterns to permanent config, and extract reusable skills.
Memory Stack
Three tiers, from most permanent to most ephemeral:
- Repository guidance (you write) -- AGENTS.md in Codex or CLAUDE.md in Claude Code. Project-wide rules, preferences, and conventions that survive across sessions.
- Review memory -- The host memory store, or a project MEMORY.md when the user has chosen a file-backed ledger. Observations, patterns, and corrections awaiting review.
- Session Memory -- In-context learnings that exist only for the current session. Lost on exit unless promoted.
Commands
| Command | Action |
review | Scan the active review-memory source for promotion candidates. Show each with recurrence count and recommendation. |
promote | Promote a pattern to AGENTS.md, CLAUDE.md, or an appropriate scoped rule. Remove it from review memory after promotion. |
extract | Generate a complete skill from a recurring pattern (creates skills/<name>/SKILL.md). |
status | Show memory stats: entries, staleness, promotion candidates, and session observations. |
remember | Capture a specific observation with timestamp and context. |
Invoke these as $self-improving-agent <command> in Codex, /si:<command> in
Claude Code, or describe the operation in natural language.
Promotion Lifecycle
See promotion-lifecycle.md for detailed rules.
Summary: discover -> recurs 2-3x -> review flags -> promote to durable host guidance or a skill -> remove from review memory.
MEMORY.md Format
## Patterns
- [2026-04-01] Always use `--no-ff` for feature merges (seen 3x)
- [2026-04-03] Tests fail silently when DB not running -- add health check (seen 2x)
## Corrections
- [2026-04-02] User prefers `Result<T>` over panics in Rust (corrected 1x)
## Observations
- [2026-04-05] Build takes 4min -- investigate cachingWhat You Get
- A curated MEMORY.md with timestamped patterns, corrections, and observations accumulated across sessions
- Promotion recommendations identifying recurring patterns ready to graduate to AGENTS.md, CLAUDE.md, scoped rules, or a reusable skill
- Extracted skills scaffolded from patterns that recur frequently enough to warrant standalone skill files
Rules
- Never promote after a single occurrence -- wait for recurrence
- Always show the user what will be promoted and where before writing
- Remove promoted entries from MEMORY.md to prevent duplication
- Timestamp every MEMORY.md entry
- Capture error patterns automatically (see promotion-lifecycle.md for error-capture hook)
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.

