運作方式
此技能作為 Stop hook 在每個工作階段結束時執行:
affaan-m/ECC
Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.
npx skills add https://github.com/affaan-m/ECC --skill "docs/zh-TW/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-TW/skills/continuous-learning"The pinned source contains about 108 English words and 9 usable sections. That evidence supports a source profile, not a complete guide.
108 source words · 9 usable sections
What the source actually contains
Sections are extracted automatically from the pinned SKILL.md and link back to the source.
此技能作為 Stop hook 在每個工作階段結束時執行:
Review the “設定” section in the pinned source before continuing.
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 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 detailFAQ
The source record exposes this install command: npx skills add https://github.com/affaan-m/ECC --skill "docs/zh-TW/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.
Use it for engineering tasks; the detail page covers purpose, installation, and practical steps.
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 工作階段結束時的內容,提取可重用模式並儲存為學習技能。
此技能作為 Stop hook 在每個工作階段結束時執行:
~/.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 |
|---|---|---|
| 觀察 | Stop hook(工作階段結束) | PreToolUse/PostToolUse hooks(100% 可靠) |
| 分析 | 主要上下文 | 背景 agent(Haiku) |
| 粒度 | 完整技能 | 原子「本能」 |
| 信心 | 無 | 0.3-0.9 加權 |
| 演化 | 直接到技能 | 本能 → 聚類 → 技能/指令/agent |
| 分享 | 無 | 匯出/匯入本能 |
來自 homunculus 的關鍵見解:
"v1 依賴技能進行觀察。技能是機率性的——它們觸發約 50-80% 的時間。v2 使用 hooks 進行觀察(100% 可靠),並以本能作為學習行為的原子單位。"
參見:docs/continuous-learning-v2-spec.md 完整規格。