continuous-learning

Extract reusable patterns from Claude Code sessions into learned skills.

1.8k|303|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/xu-xiang/everything-claude-code-zh --skill continuous-learning-xu-xiang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: continuous-learning
Source: https://github.com/xu-xiang/everything-claude-code-zh/tree/main/docs/zh-TW/skills/continuous-learning
Command: npx skills add https://github.com/xu-xiang/everything-claude-code-zh --skill continuous-learning-xu-xiang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automatically evaluates Claude Code work sessions to identify reusable patterns and saves them as learned skills for future use, reducing manual pattern discovery.

Core Features & Use Cases

  • Stop hook runs at the end of each session to analyze the complete session log and identify recurring patterns.
  • Pattern extraction detects and catalogues actionable insights (e.g., debugging techniques, common workarounds) into ~/.claude/skills/learned/.
  • Use Case: A developer finishes a Claude Code session and automatically gains a new skill snippet they can reuse in future projects.

Quick Start

Configure a Stop hook to run evaluate-session.sh at the end of every Claude Code session and ensure the script is executable and located at ~/.claude/skills/continuous-learning/evaluate-session.sh.

Frequently Asked Questions about continuous-learning

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

FAQPage Schema
How do I automatically extract reusable patterns from Claude Code sessions?

You can automatically extract reusable patterns from Claude Code sessions by configuring a Stop hook to run an analysis script at the end of each session, identifying recurring coding insights and saving them as learned skills.

What is a Stop hook in Claude Code for continuous learning?

A Stop hook in Claude Code for continuous learning is a trigger that executes a session analysis script when a coding session ends, automatically evaluating the complete session log to catalogue actionable debugging techniques and workarounds.

How do I configure automatic learned skills extraction in Claude Code?

You configure automatic learned skills extraction by setting up a Stop hook to execute the session evaluation script, and adjusting settings like minimum session length, extraction threshold, and patterns to detect in a config.json file.

Where are extracted coding patterns saved for reuse in future projects?

Extracted coding patterns are saved as reusable skill snippets under the ~/.claude/skills/learned/ directory, allowing developers to easily access and apply these learned insights in future projects.

Can I filter which coding patterns are detected and ignored during session analysis?

Yes, you can filter which coding patterns are detected and ignored by defining specific criteria in the config.json file using the patterns_to_detect and ignore_patterns fields to control the extraction behavior.

Does continuous learning work with short Claude Code work sessions?

Continuous learning can be configured to ignore short Claude Code work sessions by adjusting the min_session_length parameter in config.json, ensuring only substantial sessions with meaningful patterns are evaluated.