Self-Improving Agent
Curate auto-memory into durable project knowledge, promote patterns to rules.
$skillfish add ~skills/self-improving-agent Real Conversations
See how the Self-Improving Agent skill responds to actual requests. These are representative examples of what your AI agent will produce.
I just installed self-improving-agent. Can you explain how the memory to CLAUDE.md promotion lifecycle works? What's automatic vs. what needs my approval?
Here's the full lifecycle — nothing gets promoted without your approval:
1. Claude discovers a pattern
└── Auto-writes to MEMORY.md (automatic)
2. Pattern recurs 2–3 sessions
└── /si:review flags it as a promotion candidate
3. YOU review candidates and approve
└── /si:promote writes it to CLAUDE.md or .claude/rules/
4. MEMORY.md entry removed
└── Frees space for new learnings (after your approval)
The key distinction:
MEMORY.md— Claude's scratchpad:"I noticed this project uses pnpm"CLAUDE.md— enforced instruction:"Use pnpm, not npm. Always."
Promoted rules load in full every session. Memory entries are truncated at 200 lines and may not load if the file gets full.
Automatic: capturing patterns, detecting candidates, flagging stale entries, the error-capture hook
Requires your approval: every promotion, every deletion from MEMORY.md
Run /si:status to see current memory health, or /si:review for a full audit with candidates queued. Want to run a status check now?
Get Started
How to install and use this skill in your preferred environment.
Skills are designed for AI coding agents (Claude Code, Cursor, Windsurf) and IDE-based workflows where the agent can read files, run scripts, and act on your codebase. Web-based AI can use the knowledge and frameworks, but won't have tool access.
Models & Context
Which AI models and context windows work best with this skill.
Recommended Models
Larger models produce more detailed, production-ready outputs.
Context Window
This skill's SKILL.md is typically 3–10 KB — fits in any modern context window.
All current frontier models (Claude, GPT, Gemini) support 100K+ context. Use the full window for complex multi-service work.
Pro tips for best results
Be specific
Include numbers — users, budget, RPS — so the skill can size the architecture.
Share constraints
Compliance needs, team size, and existing stack all improve the output.
Iterate
Start with a high-level design, then ask follow-ups for IaC, cost analysis, or security review.
Combine skills
Pair with companion skills below for end-to-end coverage.
Ready to try Self-Improving Agent?
Install the skill and start getting expert-level guidance in your workflow — any agent, any IDE.
$skillfish add ~skills/self-improving-agent