By hananana
Cognitive science-based external memory system for AI agents. Manages structured long-term knowledge through encoding, storage, forgetting, and retrieval — the four stages of human memory.
Run monthly maintenance on the exomemory system: expire stale entries, promote frequently-referenced memories, compress old logs, and verify index integrity.
Initialize the exomemory directory structure. Run this once to set up the memory system.
Retrieve relevant memories from the exomemory system using R×I×R scoring.
Save a memory to the exomemory system. Classifies and stores the given information into the appropriate memory type.
認知科学ベースの外部記憶プラグイン for Claude Code。
人間の記憶の4段階 — 符号化・保持・忘却・想起 — をAIエージェントの長期知識管理として実装します。

Claude Code の設定ファイル(~/.claude/settings.json)にマーケットプレイスを追加:
{
"extraKnownMarketplaces": {
"exomemory": {
"source": {
"source": "github",
"repo": "hananana/exomemory"
}
}
}
}
プラグインをインストール:
/plugin install exomemory@exomemory
/plugin update exomemory@exomemory
更新後は Claude Code の再起動が必要です。
インストール後、以下を実行して記憶ディレクトリを初期化:
/exomemory:memory-setup
~/.local/share/exomemory/ に記憶ファイル群が作成されます。
/exomemory:remember <覚えたい内容>
内容に応じて適切な記憶タイプ(エピソード・意味・手続き)に自動分類して保存します。
/exomemory:recall <思い出したいこと>
R×I×R スコアリングで関連する記憶を検索・取得します。参照されたエピソード記憶の refs カウントは自動的に更新されます。
セッション開始時に前回のメンテナンスから30日以上経過していると、自動的にメンテナンスが実行されます。手動で実行する場合:
/exomemory:memory-maintenance
実行内容:
--dry-run で変更せずにプレビュー:
/exomemory:memory-maintenance --dry-run
~/.local/share/exomemory/
├── MEMORY.md # インデックス(想起のエントリポイント)
├── episodic/
│ └── context-log.md # エピソード記憶(時系列の出来事・議論)
├── semantic/
│ ├── frameworks.md # 意味記憶(ルール・パターン)
│ └── decisions.md # 意味記憶(意思決定記録)
├── procedural/
│ └── preferences.md # 手続き記憶(作業スタイル・好み)
└── archive/ # アーカイブ(TTL切れエントリ、月別)
exomemory/
├── .claude-plugin/
│ └── marketplace.json # マーケットプレイス定義
├── plugins/
│ └── exomemory/
│ ├── .claude-plugin/
│ │ └── plugin.json # プラグインマニフェスト
│ ├── hooks/
│ │ └── hooks.json # SessionStart フック定義
│ ├── hooks-handlers/
│ │ └── session-start.sh
│ ├── skills/
│ │ ├── remember/ # /exomemory:remember(記憶の保存)
│ │ ├── recall/ # /exomemory:recall(記憶の想起)
│ │ ├── memory-maintenance/ # /exomemory:memory-maintenance
│ │ └── memory-setup/ # /exomemory:memory-setup
│ └── templates/ # 初回セットアップ用テンプレート
└── README.md
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub hananana/exomemory --plugin exomemoryKarpathy-pattern external memory wiki for Claude Code. Ingest raw sources into a structured, interlinked markdown wiki.
The bridge between Claude's working memory and Basic Memory's durable knowledge graph — session briefings, pre-compaction checkpoints, and capture reflexes
Reflex-based memory system for AI agents — stores experiences as interconnected neurons and recalls them through spreading activation, mimicking how the human brain works.
Persistent agent memory that survives across sessions — auto-compacting 3-tier memory with hybrid search. Your agent remembers what it learned, decided, and built.
Use Memind as persistent memory for Claude Code sessions.
Persistent memory for Claude Code — memories survive across sessions, projects, and machines
Cross-host durable memory — same ling-mem daemon and store in Claude Code, Codex, OpenClaw, and Linggen. Three-tier model (core + long-term + episodic staging) of who the user is, not a log of what was done.