self-improve

Extract actionable rules from developer corrections and persist them in CLAUDE.md or memory.

181|29|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/iusztinpaul/squid --skill self-improve-iusztinpaul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: self-improve
Source: https://github.com/iusztinpaul/squid/tree/main/skills/self-improve
Command: npx skills add https://github.com/iusztinpaul/squid --skill self-improve-iusztinpaul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze developer corrections from the current coding session and persist lessons learned as rules in CLAUDE.md files or memory. Use this skill at the end of a coding session, after the developer has reviewed and corrected your work, when the developer says "self-improve", "learn from this session", "what did you learn", "update your rules", "remember this for next time", or any time the developer wants to capture feedback from corrections they made. Also trigger when the developer explicitly asks you to reflect on mistakes or extract patterns from their edits.

Core Features & Use Cases

  • Extract reusable rules from corrections and persist them so future sessions benefit
  • Persist rules to CLAUDE.md or memory for long-term improvement
  • Run this before wrapping up a session to save improvements while context is still available

Quick Start

After a coding session where corrections are made, run self-improve to extract rules and store them for future sessions.

Frequently Asked Questions about self-improve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract coding rules from developer corrections at the end of a session?

You can persist coding session feedback by triggering the self-improve process to analyze developer corrections and save extracted rules to CLAUDE.md or memory. This ensures lessons learned are retained as auditable updates for future sessions.

What is the best way to save coding session feedback to CLAUDE.md?

The best way to save coding session feedback to CLAUDE.md is by triggering rule extraction after reviewing corrections. The skill identifies patterns from your edits and updates the file directly, respecting existing references while ensuring long-term improvement.

When should I run pattern extraction from my coding mistakes?

Run pattern extraction from coding mistakes at the end of a coding session or whenever you request reflection and mistake review. This timing ensures context is still available to accurately extract and persist actionable rules.

Does self-improvement memory work with existing CLAUDE.md references?

Yes, self-improvement memory works with existing CLAUDE.md references by respecting them during updates. The skill analyzes your corrections and persists new rules without overwriting or breaking your previously defined project configurations.

Can I update my coding rules by asking the AI to reflect on mistakes?

Yes, you can update coding rules by asking the AI to reflect on mistakes. Saying "learn from this session" triggers the extraction of patterns from your corrections, storing them as auditable memory updates for future reference.