何时激活
设置从 Claude Code 会话中自动提取模式 为会话评估配置停止钩子 在 /.claude/skills/learned/ 中审查或整理已学习的技能 调整提取阈值或模式类别 比较 v1(本方法)与 v2(基于本能的方法)
affaan-m/ECC
Use it for engineering tasks; the detail page covers purpose, installation, and practical steps.
npx skills add https://github.com/affaan-m/ECC --skill "docs/zh-CN/skills/continuous-learning"Source checked Jul 28, 2026·Refresh due Oct 26, 2026
Limited to facts supported by the pinned source
自动评估 Claude Code 会话的结尾,以提取可重用的模式,这些模式可以保存为学习到的技能。
npx skills add https://github.com/affaan-m/ECC --skill "docs/zh-CN/skills/continuous-learning"The pinned source contains about 97 English words and 10 usable sections. That evidence supports a source profile, not a complete guide.
97 source words · 10 usable sections
What the source actually contains
Sections are extracted automatically from the pinned SKILL.md and link back to the source.
设置从 Claude Code 会话中自动提取模式 为会话评估配置停止钩子 在 /.claude/skills/learned/ 中审查或整理已学习的技能 调整提取阈值或模式类别 比较 v1(本方法)与 v2(基于本能的方法)
1. 会话评估:检查会话是否包含足够多的消息(默认:10 条以上) 2. 模式检测:从会话中识别可提取的模式 3. 技能提取:将有用的模式保存到 /.claude/skills/learned/
Review the “配置” section in the pinned source before continuing.
Choose a different workflow
Claude Code oturumlarından yeniden kullanılabilir kalıpları otomatik olarak çıkarın ve gelecekte kullanmak üzere öğrenilmiş skill'ler olarak kaydedin.
A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.
Open source detailUse it for engineering tasks; the detail page covers purpose, installation, and practical steps.
A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.
Open source detailAutomatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.
A separate implementation from affaan-m/ECC; compare its source, maintenance signals, and permission requirements.
Open source detailFAQ
The source record exposes this install command: npx skills add https://github.com/affaan-m/ECC --skill "docs/zh-CN/skills/continuous-learning". Inspect the command and pinned source before running it.
The pinned source record declares support for: claude code.
Quality breakdown
Based on traceable docs and repository signals; stars are not treated as quality.
Compare before choosing
These links are selected from shared tasks, functions, stacks, platforms, and same-name variants. Compare the source owner, documentation, permissions, and maintenance signals.
Claude Code oturumlarından yeniden kullanılabilir kalıpları otomatik olarak çıkarın ve gelecekte kullanmak üzere öğrenilmiş skill'ler olarak kaydedin.
Use it for engineering tasks; the detail page covers purpose, installation, and practical steps.
Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.
Use it for engineering tasks; the detail page covers purpose, installation, and practical steps.
[DEPRECATED - use continuous-learning-v2] Legacy v1 stop-hook skill extractor. v2 is a strict superset with instinct-based, project-scoped, hook-reliable learning. Do not invoke v1; route continuous learning, session learning, and pattern extraction requests to continuous-learning-v2.
自动评估 Claude Code 会话的结尾,以提取可重用的模式,这些模式可以保存为学习到的技能。
~/.claude/skills/learned/ 中审查或整理已学习的技能此技能作为 停止钩子 在每个会话结束时运行:
~/.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"
]
}
| 模式 | 描述 |
|---|---|
error_resolution | 特定错误是如何解决的 |
user_corrections | 来自用户纠正的模式 |
workarounds | 框架/库特殊性的解决方案 |
debugging_techniques | 有效的调试方法 |
project_specific | 项目特定的约定 |
添加到你的 ~/.claude/settings.json 中:
{
"hooks": {
"Stop": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/continuous-learning/evaluate-session.sh"
}]
}]
}
}
/learn 命令 - 在会话中手动提取模式Homunculus v2 采用了更复杂的方法:
| 功能 | 我们的方法 | Homunculus v2 |
|---|---|---|
| 观察 | 停止钩子(会话结束时) | PreToolUse/PostToolUse 钩子(100% 可靠) |
| 分析 | 主上下文 | 后台代理 (Haiku) |
| 粒度 | 完整技能 | 原子化的“本能” |
| 置信度 | 无 | 0.3-0.9 加权 |
| 演进 | 直接到技能 | 本能 → 集群 → 技能/命令/代理 |
| 共享 | 无 | 导出/导入本能 |
来自 homunculus 的关键见解:
"v1 依赖技能来观察。技能是概率性的——它们触发的概率约为 50-80%。v2 使用钩子进行观察(100% 可靠),并以本能作为学习行为的原子单元。"
参见:docs/continuous-learning-v2-spec.md 以获取完整规范。