continuous-learning
Skill43 starsChanged 10 months agoMITView on GitHub
自动从 Claude Code 会话(Sessions)中提取可重用的模式,并将其保存为学习到的技能以供未来使用。
31 other projects use a version of this, 18 of them edited.
Adopted by
Most recently taken up by
- me-workspace/orchestrator-operational-agent-skillstheir own version, first seen Sep 29, 2026
- best-radar/bradar-everything-claude-codeedited, first seen Sep 6, 2026
- tarrragon/claude-skillstheir own version, first seen Sep 1, 2026
- Lukasbrujula/claude-code-frameworkedited, first seen Jul 6, 2026
- ckorhonen/claude-skillstheir own version, first seen Jul 5, 2026
- zkw15555506767-boop/claude-skillsedited, first seen Jun 24, 2026
Used with
Projects with it also use configure-ecc and swiftui-patterns.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
saxon-ySkillconfigure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Also in 5 projects that use this
OpenAISkillswiftui-patterns
Build macOS SwiftUI scenes and components with desktop patterns. Use when shaping windows, commands, toolbars, settings, split views, or inspectors.
Also in 5 projects that use this
Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 18
- WorldFlowAI/everything-claude-code★ 4k23% same
- xu-xiang/everything-claude-code-zh★ 2k32% same
- loulanyue/awesome-claude-notes★ 27213% same
- tpavanipradeep/everything-claude-code★ 13413% same
- hellangleZ/burn-in-cceverywhere-ralph★ 11223% same
- Jamkris/everything-gemini-code★ 8712% same
- xfstudio/skills★ 923% same
- Infopibe/everything-claude-code★ 813% same
- Lukasbrujula/claude-code-framework★ 414% same
- XD3an/cc-plus★ 423% same
8 more not listed
Wrote their own version · 13
- rohitg00/awesome-claude-code-toolkit★ 2.7ksame name
- MRCalderon3D/everything-game-dev-code★ 90same name
- ahmed3elshaer/everything-claude-code-mobile★ 66same name
- AlexMikhalev/claude-code-continuous-learning-skill★ 39same name
- itallstartedwithaidea/agent-skills★ 39same name
- mhylle/claude-skills-collection★ 19same name
- ckorhonen/claude-skills★ 18same name
- peopleforrester/claude-dotfiles★ 3same name
- itallstartedwithaidea/claude-googleadsagent★ 2same name
- EngDawood/modern-emdash-cms★ 1same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- rules/agents.mdAGENTS.md
- examples/CLAUDE.mdCLAUDE.md
- oneskillSkill
- backend-patternsSkill
- clickhouse-ioSkill
- coding-standardsSkill
- continuous-learning-v2Skill
- django-patternsSkill
- django-securitySkill
- django-tddSkill
- django-verificationSkill
- eval-harnessSkill
- frontend-patternsSkill
- golang-patternsSkill
- golang-testingSkill
- iterative-retrievalSkill
- java-coding-standardsSkill
- jpa-patternsSkill
- postgres-patternsSkill
- project-guidelines-exampleSkill
- python-patternsSkill
- python-testingSkill
- security-reviewSkill
- springboot-patternsSkill
- springboot-securitySkill
- springboot-tddSkill
- springboot-verificationSkill
- strategic-compactSkill
- tdd-workflowSkill
- verification-loopSkill
The file
Files
持续学习技能(Continuous Learning Skill)
在会话结束时自动评估 Claude Code 会话(Sessions),以提取可保存为学习技能(Learned Skills)的可重用模式。
工作原理
该技能作为 停止钩子(Stop hook) 在每个会话结束时运行:
- 会话评估(Session Evaluation):检查会话是否有足够的消息(默认:10 条以上)
- 模式检测(Pattern Detection):识别会话中可提取的模式
- 技能提取(Skill Extraction):将有用的模式保存到
~/.claude/skills/learned/
配置
编辑 config.json 进行自定义:
{
"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) | 描述(Description) |
error_resolution | 特定错误的解决方式 |
user_corrections | 来自用户修正的模式 |
workarounds | 框架/库特有问题的变通方案 |
debugging_techniques | 有效的调试方法 |
project_specific | 项目特定的约定 |
钩子设置(Hook Setup)
添加到你的 ~/.claude/settings.json:
{
"hooks": {
"Stop": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/continuous-learning/evaluate-session.sh"
}]
}]
}
}为什么使用停止钩子(Stop Hook)?
- 轻量级(Lightweight):在会话结束时运行一次
- 非阻塞(Non-blocking):不会给每条消息增加延迟
- 完整上下文(Complete context):可以访问完整的会话记录
相关内容
- 长篇指南(The Longform Guide) - 关于持续学习的部分
/learn命令 - 在会话中手动提取模式
对比笔记(研究:2025年1月)
vs Homunculus (github.com/humanplane/homunculus)
Homunculus v2 采用了更复杂的方法:
| 特性(Feature) | 我们的方法(Our Approach) | Homunculus v2 |
| 观测(Observation) | 停止钩子(Stop hook,会话结束时) | PreToolUse/PostToolUse 钩子(100% 可靠) |
| 分析(Analysis) | 主上下文(Main context) | 后台智能体(Background agent,Haiku) |
| 粒度(Granularity) | 完整技能(Full skills) | 原子化的“本能(instincts)” |
| 置信度(Confidence) | 无 | 0.3-0.9 加权 |
| 演进(Evolution) | 直接转化为技能 | 本能(Instincts)→ 聚类(cluster)→ 技能/命令/智能体 |
| 共享(Sharing) | 无 | 导出/导入本能 |
来自 homunculus 的关键洞察:
“v1 依赖技能进行观测。技能是概率性的——它们的触发率约为 50-80%。v2 使用钩子进行观测(100% 可靠),并将本能(instincts)作为学习行为的原子单位。”
潜在的 v2 增强功能
- 基于本能的学习(Instinct-based learning) - 带有置信度评分的小型原子化行为
- 后台观测器(Background observer) - 并行分析的 Haiku 智能体
- 置信度衰减(Confidence decay) - 如果出现矛盾,本能将失去置信度
- 领域标签(Domain tagging) - 代码风格(code-style)、测试(testing)、git、调试(debugging)等
- 演进路径(Evolution path) - 将相关的本能聚类为技能/命令
参见:/Users/affoon/Documents/tasks/12-continuous-learning-v2.md 以获取完整规范。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

