npx claudepluginhub cfircoo/the-ai-brainUniversal persistent memory system for AI agents. Gives Claude Code (and Cursor, Gemini CLI, Codex) long-term memory, self-improving rules, session continuity, and structured workflows via an Obsidian-compatible vault architecture.
A universal persistent memory system for AI agents. Install into any directory or Obsidian vault to give your AI agent long-term memory, self-improving behavior, and structured workflows.
| Requirement | Required? | Notes |
|---|---|---|
| Claude Code | Required | For hooks, skills, and full memory features |
git | Required | For version control of your vault |
jq | Required | For JSON processing in hooks |
| Obsidian 1.12+ | Optional | Unlocks CLI mode — 70,000x faster vault search. Without it, brain uses raw file reads (still fully functional) |
yq | Optional | Better YAML parsing. Falls back to awk if missing |
python3 | Optional | Used by hooks when Obsidian CLI is active |
Obsidian CLI setup (if you want it):
obsidian to your system PATHobsidian version in terminal to verifyinstall.shObsidian is not required. The brain works on any plain directory with raw markdown files.
| Agent | Config File | Hooks | Skills | Memory |
|---|---|---|---|---|
| Claude Code | CLAUDE.md | Mechanical (hooks) | /brain-today, /brain-new, /brain-tldr, etc. | Full |
| Cursor | .cursorrules | Instruction-based | N/A | Instruction-based |
| Gemini CLI | GEMINI.md | Instruction-based | N/A | Instruction-based |
| OpenAI Codex | AGENTS.md | Instruction-based | N/A | Instruction-based |
From within any Claude Code session:
/plugin marketplace add cfircoo/the-ai-brain
/plugin install the-ai-brain@cfircoo
Then initialize the brain in your vault:
/the-ai-brain:brain-setup
# Clone the repo
git clone https://github.com/cfircoo/the-ai-brain.git
# Launch Claude Code with the plugin loaded
claude --plugin-dir ./the-ai-brain
Skills are available as /the-ai-brain:brain-today, /the-ai-brain:brain-debrief, etc.
git clone https://github.com/cfircoo/the-ai-brain.git
cd the-ai-brain
bash install.sh /path/to/your/vault
The installer will:
Adding a brain to an existing project:
cd ~/projects/your-existing-project
# Then in Claude Code:
/the-ai-brain:brain-setup
# Auto-detects context, defaults to Hub+Spokes
One global brain for your identity + per-project brains for local context. Both are always in context simultaneously.
~/Brain/ ← HUB (your personal OS)
├── Human/Daily/ ← daily notes, life captures
├── Machine/Memory/
│ ├── entities.md ← people, tools — across ALL projects
│ ├── decisions.md ← life/career decisions
│ └── projects.md ← registry of all known projects
└── CLAUDE.md ← who you are, global rules
~/.claude/CLAUDE.md ← loads ~/Brain on EVERY session
~/projects/my-app/ ← SPOKE (project-specific)
├── .brain/ ← local memory, hooks
└── CLAUDE.md ← project rules + references ~/Brain
~/projects/other-project/ ← another SPOKE
└── CLAUDE.md ← references ~/Brain automatically
Setup: Run /the-ai-brain:brain-setup in any project — Hub+Spokes is the default. Existing projects with no brain? Same command, it auto-detects context from your git/README.
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.