self-improving-agent
Curate Claude Code's auto-memory into durable project knowledge. Analyze MEMORY.md for patterns, promote proven learnings to CLAUDE.md and .claude/rules/, extract recurring solutions into reusable skills. Use when: (1) reviewing what Claude has learned about your project, (2) graduating a pattern from notes to enforced rules, (3) turning a debugging solution into a skill, (4) checking memory health and capacity.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alirezarezvani/cs-self-improving-agentWhat This Skill Does
The Self-Improving Agent is a critical intelligence layer for Claude Code users, designed to transform fleeting conversation logs and automated memory into durable, actionable project knowledge. By acting as a bridge between the transient nature of LLM conversations and the persistence required for long-term coding projects, this skill ensures that once a technical hurdle is cleared or a project pattern is established, it is never forgotten. It continuously parses MEMORY.md to identify recurring obstacles, architectural decisions, and successful debugging patterns. Through its suite of management commands, it allows you to curate these findings, moving them from passive logs into your active project configuration (CLAUDE.md) or modular rule files (.claude/rules/), effectively training your AI coding assistant on your specific repository standards over time.
Installation
To integrate the Self-Improving Agent into your workflow, choose the method appropriate for your environment:
- Claude Code Plugin: Execute
/plugin marketplace add alirezarezvani/claude-skillsfollowed by/plugin install self-improving-agent@claude-code-skills. - OpenClaw CLI: Run
clawhub install self-improving-agent. - Codex CLI: Execute the install script:
./scripts/codex-install.sh --skill self-improving-agent.
Use Cases
- Consolidating Debugging Insights: When you solve a difficult build error, use the agent to extract the solution into a reusable rule to prevent future regressions.
- Standardizing Project Architecture: Identify inconsistent coding patterns across multiple sessions and promote the 'best' version of those patterns to your global CLAUDE.md.
- Memory Maintenance: Keep your project knowledge base lean and performant by reviewing and pruning stale or irrelevant entries from the auto-generated MEMORY.md file.
- Knowledge Graduation: Move complex, context-heavy notes into dedicated files in
.claude/rules/to ensure they are available to Claude the moment a related file is opened.
Example Prompts
- "@self-improving-agent /si:review the current MEMORY.md and suggest which patterns should be promoted to CLAUDE.md."
- "@self-improving-agent /si:extract the pattern for our custom API authentication flow into a new reusable skill rule."
- "@self-improving-agent /si:status give me a health report on our project's memory usage and let me know if we are hitting any capacity limits."
Tips & Limitations
- Tip: Use
/si:remembermanually whenever you realize a specific technical decision or library quirk is something you will need to reference in the future. - Tip: Periodically run
/si:reviewat the end of a sprint to ensure that project-wide changes are reflected in your project rules. - Limitation: While the agent is highly intelligent, it cannot 'delete' original logs, only suggest promotions. You should manually verify and finalize any changes made to your
.claude/rules/directory to ensure they align with current project requirements.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alirezarezvani-cs-self-improving-agent": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
intl-expansion
International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.
marketing-strategy-pmm
Product marketing skill for positioning, GTM strategy, competitive intelligence, and product launches. Use when the user asks about product positioning, go-to-market planning, competitive analysis, target audience definition, ICP definition, market research, launch plans, or sales enablement. Covers April Dunford positioning, ICP definition, competitive battlecards, launch playbooks, and international market entry. Produces deliverables including positioning statements, battlecard documents, launch plans, and go-to-market strategies.
paid-ads
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.
qms-audit-expert
ISO 13485 internal audit expertise for medical device QMS. Covers audit planning, execution, nonconformity classification, and CAPA verification. Use for internal audit planning, audit execution, finding classification, external audit preparation, or audit program management.
code-reviewer
Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.