Memhub — AI skill for Claude Code
All your agents.
How to install Memhub
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open shibing624/memhub and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Memhub does
All your agents. One memory. Layered, versioned long-term memory for LLM agents, shared across Claude Code, Codex, Cursor and more. 让你的所有AI工具共享一份长期记忆:分层整理、版本演化,偏好变了也记得准。
Alternatives in AI
- Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
- Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
- Guild — Shared context, memory, and task coordination across AI coding agents 311 ★
README
memhub
多个 Agent 共用一份个人记忆;当场记下事实,事后看出规律。
Claude Code、Codex、Cursor、Agentica 等 8 种 AI 工具共享同一份本地记忆,支持跨设备同步与可视化管理。
为什么选 memhub
在 Cursor 里交代过的代码规范,Codex 并不知道;你已经告诉 AI 三次「我现在不吃辣了」,它还在推荐川菜馆;聊了几十轮,它背得出每一句原话,却说不出你做事的稳定习惯。
1. 🔗 多个 Agent,一份记忆
`memhub` 把本机上的多个 AI 工具连到同一份个人记忆:**Claude Code、Codex、Cursor、Agentica、Hermes、CodeBuddy、OpenCode、WorkBuddy** 读写同一个本地库,数据默认留在你的电脑上。
pip install "memhub[all]"
# 1. 启动后台常驻服务(开机自启;卸载用 memhub uninstall-service)
memhub install-service
# 2. 按需接入你正在用的 AI 工具(卸载用 memhub uninstall-host <工具名>)
memhub install-host claude-code
memhub install-host codex
memhub install-host cursor
# 支持:claude-code | codex | cursor | agentica | hermes | codebuddy | opencode | workbuddy
# 也可以一键接入全部:memhub install-host all
# 3.(可选)把已有的历史会话导入为记忆
memhub scan --source claude-code # 或 --source
Related Skills
Memtomem
Long-term memory for AI coding agents, kept as Markdown you own. Hybrid BM25 + vector search over your notes a
Mnemon
Self-hosted, cross-device long-term memory for AI agents via MCP — one vault shared across any MCP client (Cla
Claude Memory Patterns
Claude memory patterns for AI agents: give Claude and other LLM agents long-term memory across sessions with s
Aitracker
Open-source, local-first AI workspace that tracks tokens & spend across Claude Code, Codex, Cursor and more —
Kanerva
Long-term memory for coding agents: Claude Code, Codex, OpenCode, OpenClaw, Copilot, Cursor and more. Local SQ
Turnbook
Local long-term memory for AI agents. Keeps every conversation word for word, costs nothing to save, and is sh
Related Agents
Plugin Host Parity Checker
Checks that the shared skills/ tree, the three host manifests (.claude-plugin/, .cursor-plugin/, .codex-plugin
Curate Chatlog
Curate the m3-chatlog store — clean, dedupe, decay ephemeral turns, prune abandoned conversations, promote hig
Context Memory Manager
Context Window & Token Optimization Specialist. Manages token budgets, compresses prompts (RTK/Caveman), imple