docs/ja-JP/skills/continuous-learning/SKILL.md
Claude Codeセッションから再利用可能なパターンを自動的に抽出し、将来の使用のために学習済みスキルとして保存します。
npx skillsauth add affaan-m/everything-claude-code continuous-learningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Claude Codeセッションを終了時に自動的に評価し、学習済みスキルとして保存できる再利用可能なパターンを抽出します。
このスキルは各セッション終了時にStopフックとして実行されます:
~/.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フック(セッション終了時) | PreToolUse/PostToolUseフック(100%信頼性) | | 分析 | メインコンテキスト | バックグラウンドエージェント(Haiku) | | 粒度 | 完全なスキル | 原子的な「本能」 | | 信頼度 | なし | 0.3-0.9の重み付け | | 進化 | 直接スキルへ | 本能 → クラスタ → スキル/コマンド/エージェント | | 共有 | なし | 本能のエクスポート/インポート |
homunculusからの重要な洞察:
"v1はスキルに観察を依存していました。スキルは確率的で、発火率は約50-80%です。v2は観察にフック(100%信頼性)を使用し、学習された振る舞いの原子単位として本能を使用します。"
詳細: docs/continuous-learning-v2-spec.mdを参照。
tools
Garbage collection for your Claude Code configuration. Periodically scans ~/.claude (skills, memory, hooks, permissions, MCP servers, caches) for redundant, stale, orphaned, or low-value items, then walks the user through a confirm-each-deletion cleanup. Use when the user says "clean up my config", "config GC", "too many skills", "audit my setup", "my .claude is bloated", or asks for a periodic config review.
data-ai
当用户希望通过并行工作、并发 agents、批量工具调用、隔离 worktree 或多条独立验证通道来大幅加速任务、同时不损失正确性时使用。
documentation
在回答之前先读取仓库的实时状态,引导用户了解 ECC 当前的 agents、skills、命令、hooks、规则、安装配置档案以及项目接入流程。
testing
Fact-forcing gate that blocks Edit/Write/Bash (including MultiEdit) and demands concrete investigation (importers, data schemas, user instruction) before allowing the action. Measurably improves output quality by +2.25 points vs ungated agents.