Agent skill · product strategy · affaan-m
continuous-learning-v2
フックを介してセッションを観察し、信頼度スコアリング付きのアトミックなインスティンクトを作成し、スキル/コマンド/エージェントに進化させるインスティンクトベースの学習システム。
Why this skill is useful
Adds a framework for creating and evolving atomic instincts based on session observations, enabling the AI to learn and adapt its behavior dynamically.
What it needs
Requires python installed locally. About 2k tokens when loaded. Last updated 2026-08-06. 238,342 stars on the source repository.
What this skill does
Continuous Learning v2 - インスティンクトベースアーキテクチャ Claude Codeセッションを信頼度スコアリング付きの小さな学習済み行動である「インスティンクト」を通じて再利用可能な知識に変える高度な学習システム。 v2の新機能 機能 v1 v2 --------- ---- ---- 観察 Stopフック(セッション終了) PreToolUse/PostToolUse(100%信頼性) 分析 メインコンテキスト バックグラウンドエージェント(Haiku) 粒度 完全なスキル アトミック「インスティンクト」 信頼度 なし 0.3-0.9重み付け 進化 直接スキルへ インスティンクト → クラスター → スキル/コマンド/エージェント 共有 なし インスティンクトのエクスポート/インポート インスティンクトモデル インスティンクトは小さな学習済み行動です: プロパティ: アトミック — 1つのトリガー、1つのアクション 信頼度重み付け — 0.3 = 暫定的、0.9 = ほぼ確実 ドメインタグ付き — code-style、testing、git、debugging、workflowなど 証拠に基づく — それを作成した観察を追跡 仕組み クイックスタート 1. 観察フックを有効化 ~/.claude/settings.jsonに追加します。 プラグインとしてインストールした場合(推奨): json { "hooks": { "PreToolUse": [{ "matcher": "", "hooks": [{ "type": "command", "command": "~/.claude/skills/continuous-learning-v2/hooks/observe.sh" }] }], "PostToolUse": [{ "matcher": "", "hooks": [{ "type": "command", "command": "~/.claude/skills/continuous-learning-v2/hooks/observe.sh" }] }] } } bash mkdir -p ~/.claude/homunculus/{instincts/{personal,inherited},evolved/{agents,skills,commands}} touch ~/.claude/homunculus/observations.jsonl bash /instinct-status # 信頼度スコア付きの学習済みインスティンクトを表示 /evolve # 関連するインスティンクトをスキル/コマンドにクラスター化 /instinct-export # 共有のためにインスティンクトをエクスポート /instinct-import # 他の人からインスティンクトをインポート json { "version": "2.0", "observation": { "enabled": true, "storepath": "~/.claude/homunculus/observations.jsonl", "maxfilesizemb": 10, "archiveafterdays": 7 }, "instincts": { "personalpath": "~/.claude/homunculus/instincts/personal/", "inheritedpath": "~/.claude/homunculus/instincts/inherited/", "minconfidence": 0.3, "autoapprovethreshold": 0.7, "confidencedecayrate": 0.05 }, "observer": { "enabled": true, "model": "haiku", "runintervalminutes": 5, "patternstodetect": [ "usercorrections", "errorresolutions", "repeatedworkflows", "toolpreferences" ] }, "evolution": { "clusterthreshold": 3, "evolvedpath": "~/.claude/homunculus/evolved/" } } ~/.claude/homunculus/ ├── identity.json # プロフィール、技術レベル ├── observations.jsonl # 現在のセッション観察 ├── observations.archive/ …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills affaan-m/continuous-learning-v2--3beff3