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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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:
- Session Evaluation: Checks if session has enough messages (default: 10+)
- Pattern Detection: Identifies extractable patterns from the session
- 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
/learncommand - 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.
Popularity
- GitHub stars
- 5.8k
- Ranking position
- #14662
- License
- —
- Updated
- 1/23/2026
Comments
- …
More skills from this repository
coding-standards
5.8kGives your agent clear coding standards for TypeScript, JavaScript, React and Node.js, covering naming, simple design and avoiding repetition.
frontend-patterns
5.8kGives your agent proven React and Next.js patterns for components, state, performance and clean UI code, with clear examples to follow.
tdd-workflow
5.8kTeaches your agent to write tests first for new features, bug fixes and refactors, aiming for 80 percent or more coverage across unit, integration and end-to-end tests.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.