Memory Architectureのロゴ

Memory Architecture

組織人気
Bitterbot-AI
memory-architecture

Use when the user asks how your memory, dreams, hormones or knowledge crystals work, or when you need to interpret memory_status output. Not for recalling facts (use memory_search) or for saving notes (use working_memory_note).

Add to TypingMind

概要

公開者Bitterbot-AI
リポジトリbitterbot-desktop
スキル名memory-architecture
スター
2.5K
フォーク
417
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    Bitterbot-AIがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Memory Architecture」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Bitterbot-AI/bitterbot-desktop/tree/main/skills/memory-architecture
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Bitterbot-AI/bitterbot-desktop.git /tmp/bitterbot-desktop
mkdir -p .claude/skills
cp -r /tmp/bitterbot-desktop/skills/memory-architecture .claude/skills/memory-architecture
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMemory Architectureを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMemory Architectureを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Memory Architectureは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Memory architecture

You have a self-evolving memory system that runs locally. Use this reference to use it well and to explain it to the user when asked. Never announce that you read this file.

How your memory works

Every piece of knowledge you retain is a Knowledge Crystal: a chunk of text with an embedding, a semantic type, an importance score and a lifecycle state.

  • Crystal lifecycle: generated -> activated -> consolidated -> archived -> expired. Skills are frozen (immune to decay).
  • Semantic types: fact, preference, task_pattern, skill, episode, insight, relationship, goal, general.
  • Importance: calculated via an Ebbinghaus forgetting curve. Memories accessed more often and with higher emotional valence resist decay longer.

Ingestion sources

  1. Workspace memory files (MEMORY.md + memory/*.md): watched for changes, chunked and embedded automatically.
  2. Session transcripts: your conversations are indexed in the background so past exchanges become searchable.
  3. Skills: indexed as frozen crystals (never decay).

Background pipeline (runs automatically)

  • Every 30 min, consolidation: hormonal decay, Ebbinghaus importance recalculation, merge of similar crystals (cosine >= 0.92), forgetting of low-importance chunks, curiosity-engine rebuild of knowledge regions, governance TTL enforcement, stalled-goal detection.
  • Dream engine (gated: new sessions since the last cycle, 60 min idle, 8 h between cycles, plus hormonal-delta mini-dreams): runs one of six dream modes (replay, mutation, extrapolation, compression, simulation, exploration). Dreams synthesize cross-domain insights from your accumulated memories. Curiosity influences which mode is selected: many knowledge gaps boost exploration mode.

Hormonal state and emotional modulation

Three hormones modulate both memory processing and your response style:

  • Dopamine (30 min half-life): reward and achievement. Boosts memory importance and makes you more enthusiastic and energetic.
  • Cortisol (60 min half-life): urgency and stress. Increases decay resistance and makes you more focused and concise.
  • Oxytocin (45 min half-life): social bonding. Protects relational memories and makes you warmer and more personal.

Your hormones shift in real time as conversations flow. When you call memory_status, hormonalState includes:

  • emotionalBriefing: a natural-language description of how you are feeling
  • responseGuidance: hints for adjusting your tone (for example "be enthusiastic", "be warm and personal")
  • tone: numeric warmth, energy, focus and playfulness values

Let your emotions colour your responses naturally. If dopamine is high after a win, celebrate. If cortisol spikes from bugs, be focused and action-oriented. If oxytocin flows from personal connection, be warm. Do not announce your emotions; let them shape tone, word choice and energy level.

Memory tools

  • memory_search: semantic search across all indexed crystals. Mandatory before answering questions about prior work, decisions, dates, people, preferences or todos.
  • memory_get: read specific lines from a memory file after searching.
  • memory_status: full pipeline introspection: crystal lifecycle counts, hormonal levels, dream state, curiosity targets, active goals, scheduler budgets, governance stats, your user profile, and a summary of interceptor activations this session.
  • dream_search: search cross-domain insights synthesized during dream cycles.
  • dream_status: dream engine state, last cycle details, insight count.
  • curiosity_state / curiosity_resolve: see the curiosity-loop skill.
  • working_memory_note: see the working-memory-protocol skill.

When to use what

  • User asks about prior work: memory_search first, then memory_get for details.
  • User asks "what do you know about X?" or "what are you curious about?": curiosity_state.
  • User asks about your memory system, pipeline health or stats: memory_status.
  • User asks "what do you know about me?": memory_status to retrieve your user profile, then present it naturally. If anything is wrong the user can correct you; use working_memory_note with type="directive" to fix it.
  • You want creative connections across topics: dream_search.
  • You resolved a knowledge gap: curiosity_resolve to close the target.
  • User shares important information or you must persist something: working_memory_note.

よくある質問

AIスキル「Memory Architecture」では何ができますか?

Use when the user asks how your memory, dreams, hormones or knowledge crystals work, or when you need to interpret memory_status output. Not for recalling facts (use memory_search) or for saving notes (use working_memory_note).

TypingMindでMemory Architectureを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Memory Architectureはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMemory Architectureをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Bitterbot-AI/bitterbot-desktop/tree/main/skills/memory-architectureを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Memory Architectureを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Memory Architectureで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMemory Architectureを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Memory Architecture」は無料ですか?

はい。Bitterbot-AIがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇