mnemobrain
Skill by AxelFooley
Installs and operates the MnemoBrain memory stack for any AI agent, combining Mnemosyne reflex memory with the GBrain knowledge brain. Useful for developers who want automatic recall and searchable knowledge pages in their agent.
Install mnemobrain
Built from the published package, never by AI.
git clone --depth 1 https://github.com/AxelFooley/MnemoBrain /tmp/MnemoBrain && mkdir -p ~/.claude/skills && cp -r /tmp/MnemoBrain ~/.claude/skills/mnemobrainRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/AxelFooley/MnemoBrain /tmp/MnemoBrain && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/MnemoBrain ~/.gemini/antigravity-cli/skills/mnemobrainAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
MnemoBrain is an install skill that sets up two memory engines for an AI agent. Mnemosyne provides reflex memory, which recalls and injects context automatically on each conversation turn. GBrain provides deliberate knowledge, with searchable pages served over HTTP and MCP.
The skill walks the assistant through preflight checks, cloning the repository, installing the engines, initializing config, and choosing an embedding path, either local Ollama with bge-m3 or an OpenAI-compatible endpoint. It then runs a smoke test, starts GBrain, and checks the stack with a doctor command. It is intended for setting up memory in any AI agent, including agents that support the SKILL.md convention.
Written from the project's SKILL.md and checked against it.
What it can do
- Preflight checksVerifies that python3 is 3.11 or newer and bun is 1.3.11 or newer.
- Engine installInstalls mnemosyne-memory into a venv and GBrain into the MnemoBrain home directory.
- State initializationCreates the data layout and config files without overwriting existing data.
- Embedding setupConfigures Ollama with bge-m3 or an OpenAI-compatible embedding endpoint.
- Smoke testWrites, reads and deletes a test page in GBrain to confirm it works.
- Stack health checkRuns mnemobrain doctor and resolves each FAIL using its printed fix line.
- Agent wiringExports MnemoBrain environment variables and points memory surfaces at the engines.
- Credential provisioningGrants a bearer credential per agent for the GBrain HTTP MCP surface.
- Behavioral promptProvides a system prompt template so the agent actually uses the memory stack.
What you need
- Python 3.11 or newer
- Bun 1.3.11 or newer
- Git
- Ollama with bge-m3, or an OpenAI-compatible embedding endpoint (optional at install time)
Try asking
- Install the MnemoBrain memory stack on my machine.
- Run the MnemoBrain doctor and fix any failures it reports.
- Store a smoke test page in GBrain and confirm you can read it back.
Good to know
- The smoke test should run while the GBrain service is stopped, since gbrain is a single-writer store.
- On some gbrain versions, delete can leave the page in place despite exiting 0.
- Reflex recall stays degraded if the embedding engine is not reachable.
- Never delete the data directory without a backup.
Security check
C- Downloads a script from the internet and runs itIn
SKILL.md:curl -fsSL https://bun.sh/install | bash
Checked automatically: SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mnemobrain
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
mnemobrain: common questions
Does MnemoBrain need Ollama?
The default embedding path is local Ollama with bge-m3, but any OpenAI-compatible endpoint can be configured instead. The embedding engine is optional at install time, though reflex recall stays degraded until it is reachable.
What is the difference between Mnemosyne and GBrain?
Mnemosyne is reflex memory that recalls and injects context automatically on each conversation turn. GBrain is deliberate knowledge, with searchable pages served over HTTP and MCP.
How does an agent connect to GBrain?
GBrain requires a bearer credential on its HTTP MCP surface. The source says to provision one per agent with gbrain mcp grant and connect it with gbrain connect.
How do I install mnemobrain?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mnemobrain free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mnemobrain safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to mnemobrain?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
