continuous-learning

Extract reusable patterns from Claude Code sessions into learned skills.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/gugug168/claudecode-tutorial --skill continuous-learning-gugug168
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: continuous-learning
Source: https://github.com/gugug168/claudecode-tutorial/tree/main/everything-claude-code-learning/02-Skills/continuous-learning
Command: npx skills add https://github.com/gugug168/claudecode-tutorial --skill continuous-learning-gugug168

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

自动从 Claude Code 会话中提取可复用模式,并保存为学习技能供将来使用。

Core Features & Use Cases

  • 自动提取可复用模式并保存到 ~/.claude/skills/learned/
  • Stop hook 机制:在会话结束时自动评估和提取模式
  • 跨会话记忆:学习的技能可在后续会话中应用
  • 配置灵活:min_session_length、extraction_threshold、learned_skills_path 等参数可自定义
  • 实际应用场景:在不同项目和任务中持续增益

Quick Start

在 Claude Code 会话结束时启用 Stop hook,并配置最小会话长度和提取阈值以开始自动学习。

Frequently Asked Questions about continuous-learning

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

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

You can extract reusable patterns from Claude Code sessions automatically by using a Stop hook that runs at session end, evaluating interactions and saving identified patterns as skills under ~/.claude/skills/learned/.

What is continuous learning in Claude Code and how does session memory work?

Continuous learning in Claude Code is the process of persisting session memory across interactions. It works by evaluating session length and extracting patterns to update learned skills, allowing past interactions to inform future tasks in different projects.

How do I configure extraction thresholds for Claude Code session patterns?

You can configure extraction thresholds for Claude Code session patterns by editing the config.json file. This configuration allows you to customize parameters like min_session_length and extraction_threshold to control when and how aggressively patterns are extracted.

Does the Claude Code pattern extraction Stop hook support custom learned skills paths?

Yes, the Claude Code pattern extraction Stop hook supports custom learned skills paths. You can specify the learned_skills_path parameter in your config.json file to define where the extracted skills are stored on your local machine.

Why are my Claude Code session patterns not saving to the learned skills directory?

Your Claude Code session patterns may not be saving because the session length did not meet the configured min_session_length threshold, or the extraction_threshold value is set too high for the current session's pattern density.