Improving Claude Code Sessions with claude-self-improve

claude-self-improve is a command-line tool created to address repetitive errors in Claude Code sessions by automating the analysis and updating of memory files. This tool was developed due to the tedious nature of manually curating MEMORY.md files to improve AI-driven coding sessions.
The process involves three main steps:
- The tool reads session facets, specifically the JSON performance data Claude Code already generates.
- This data is sent to headless Claude (also referred to as Sonnet), where it extracts patterns indicating friction and successes, as well as lessons learned.
- Upon analysis, it updates
MEMORY.mdautonomously, making sure the subsequent sessions are incrementally smarter.
After evaluating 52 sessions, the tool reported a 42% friction rate and identified common anti-patterns. For instance, 'wrong initial diagnosis' accounted for 41% of the friction events. The system also suggested four memory updates and three CLAUDE.md improvements without the need for manual review.
# Example command
bash claude-self-improve.shRunning the tool costs approximately $0.07 to $0.20 per session. The code repository is available on GitHub, providing access to the script and allowing other developers to implement similar improvements.
📖 Read the full source: r/ClaudeAI
👀 See Also

Qwen 3.6 27B F16 Passes Pacman Coding Test, But 8-Bit Quants Fail — Key Lessons on Templates and MTP Speculative Decoding
A user one-shots a Pacman clone with Qwen 3.6 27B F16 — two of three attempts produce nearly perfect games. 8-bit quants fail entirely. Detailed notes on chat template tuning and MTP speculative decoding speed gains.

Claude Code plugin analyzes any plugin and generates interactive wiki reports
A new Claude Code plugin called vision-powers analyzes any plugin path or GitHub URL and generates an interactive HTML wiki report with architecture diagrams, security audits, and skill breakdowns. Installation is via claude plugin add vision-powers@claude-code-zero.

Symphony workflow automation tool works with Claude Code
A developer got the Symphony spec working with Claude Code to automate ticket-to-PR workflows, using Node/TypeScript initially but noting Elixir might be better. The tool requires separate API key setup and billing beyond Claude subscriptions.

Local-Cloud Hybrid AI Architecture: Practical Patterns Inspired by r/LocalLLaMA
The original post proposes a hybrid AI model where a local model handles routine tasks and defers to a cloud model for complex reasoning via a single API call, alongside a deterministic 'hypervisor' for guard rails.