ワンクリックで
continuous-learning
Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when extracting reusable workflow patterns, debugging lessons, or project-specific operating knowledge from completed work in this repository.
Use when capturing or checking a repository workflow checkpoint before a risky change, after a milestone, or during a design-to-implementation handoff.
Use when defining or revising repository architecture, design documents, concept boundaries, or cross-document relationships before implementation.
Use when defining or checking acceptance criteria, release readiness, or completion evidence for a repository change or feature.
Use when executing a confirmed repository plan or task and writing code that must stay within documented scope and project conventions.
Use when checking or updating the repository's `.claude/index.yaml` so design, plan, and task relationships stay internally consistent.
| name | continuous-learning |
| description | Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use. |
Automatically evaluates Claude Code sessions on end to extract reusable patterns and save them to the project repository.
This skill runs as a Stop hook at the end of each session:
.claude/learned/ in the project repoLearned patterns are saved to the project repository at .claude/learned/, not the global ~/.claude/ directory. This ensures:
Edit config.json to customize:
{
"min_session_length": 10,
"extraction_threshold": "medium",
"auto_approve": false,
"learned_skills_path": ".claude/learned/",
"patterns_to_detect": [
"error_resolution",
"user_corrections",
"workarounds",
"debugging_techniques",
"project_specific"
],
"ignore_patterns": [
"simple_typos",
"one_time_fixes",
"external_api_issues"
]
}
| 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 |
Add to your ~/.claude/settings.json:
{
"hooks": {
"Stop": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": ".claude/skills/continuous-learning/evaluate-session.sh"
}]
}]
}
}
/learn command - Manual pattern extraction mid-session