Skip to content
Skillpedia
Agents5.8k · #14662

continuous-learning

What it does

This skill runs when a Claude Code session ends and saves reusable patterns from it as learned skills. It is for developers who want their AI assistant to remember fixes and conventions across sessions.

When to use it

  • ✓When you want useful fixes and workarounds from a session saved for future use.
  • ✓When you want project-specific conventions captured automatically at the end of a long session.
  • ✓When you want to set up an end-of-session hook that reviews your work.

Skill link

https://github.com/WorldFlowAI/everything-claude-code/blob/main/skills/continuous-learning/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/WorldFlowAI/everything-claude-code/blob/main/skills/continuous-learning/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Set up a hook so that when a long Claude Code session ends, useful fixes and project conventions get saved as skills.”

5 new skills a week. 1 minute to read.

How it works

A stop hook checks whether the session was long enough, detects patterns such as error resolutions and user corrections, and saves the useful ones to a learned skills folder.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Continuous Learning Skill

Automatically evaluates Claude Code sessions on end to extract reusable patterns that can be saved as learned skills.

How It Works

This skill runs as a Stop hook at the end of each session:

  1. Session Evaluation: Checks if session has enough messages (default: 10+)
  2. Pattern Detection: Identifies extractable patterns from the session
  3. Skill Extraction: Saves useful patterns to ~/.claude/skills/learned/

Configuration

Edit config.json to customize:

{
  "min_session_length": 10,
  "extraction_threshold": "medium",
  "auto_approve": false,
  "learned_skills_path": "~/.claude/skills/learned/",
  "patterns_to_detect": [
    "error_resolution",
    "user_corrections",
    "workarounds",
    "debugging_techniques",
    "project_specific"
  ],
  "ignore_patterns": [
    "simple_typos",
    "one_time_fixes",
    "external_api_issues"
  ]
}

Pattern Types

Pattern Description
error_resolution How specific errors were resolved
user_corrections Patterns from user corrections
workarounds Solutions to framework/library quirks
debugging_techniques Effective debugging approaches
project_specific Project-specific conventions

Hook Setup

Add to your ~/.claude/settings.json:

{
  "hooks": {
    "Stop": [{
      "matcher": "*",
      "hooks": [{
        "type": "command",
        "command": "~/.claude/skills/continuous-learning/evaluate-session.sh"
      }]
    }]
  }
}

Why Stop Hook?

  • Lightweight: Runs once at session end
  • Non-blocking: Doesn't add latency to every message
  • Complete context: Has access to full session transcript

Related

  • The Longform Guide - Section on continuous learning
  • /learn command - Manual pattern extraction mid-session
FAQ

Are saved patterns applied automatically?

They are saved as learned skills for later use. The settings file controls which patterns are detected and whether they are approved automatically.

Can I limit what gets saved?

Yes. The config file lets you set the minimum session length, the extraction threshold and patterns to ignore.

Where are the learned skills stored?

By default they are saved to a learned skills folder in your Claude configuration directory.

Details

Original description by the author

Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.

repo: WorldFlowAI/everything-claude-code

Popularity

GitHub stars
5.8k
Ranking position
#14662
License
—
Updated
1/23/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills