Your memory layer for Codex and Claude Code: Gmail, Calendar, Drive, and prior AI conversations as queryable pages — with reflexive recall, turn-by-turn capture, a server-driven inbox, boards, automations, and workflows on top.
The Codex and Claude packages share the same seven skills, core prompt, hook scripts, and inbox engine. Only their manifests, hook event maps, and MCP authentication declarations are client-specific.
Find your brains API token in your brains account settings, then make it
available to Codex as BRAINS_API_TOKEN.
export BRAINS_API_TOKEN="<your token>"
codex plugin marketplace add ssvlabs/brains-plugins
codex plugin add brains@brainsThe export applies to Codex started from that shell. If you use the macOS
desktop app, set the variable for the app's launch environment (for example,
launchctl setenv BRAINS_API_TOKEN "<your token>") before restarting it.
Restart the ChatGPT desktop app or start a new Codex thread. The first time the
plugin loads, open /hooks and trust the bundled brains hooks so automatic
recall, capture, inbox delivery, and error feedback can run.
For a local checkout under development:
codex plugin marketplace add /absolute/path/to/brains-plugins
codex plugin add brains@brainsGuided install (recommended): https://mybrains.ai/install/claude-code
Or add the marketplace directly:
claude plugin marketplace add https://github.com/ssvlabs/brains-plugins.git
claude plugin install brains@brainsClaude Code prompts for the brains API token during installation.
.agents/plugins/marketplace.json— Codex marketplace.claude-plugin/marketplace.json— Claude Code marketplaceplugins/brains/.codex-plugin/plugin.json— Codex manifestplugins/brains/.claude-plugin/plugin.json— Claude Code manifestplugins/brains/.mcp.json— Codex MCP declarationplugins/brains/skills/— shared skillsplugins/brains/hooks/— shared scripts plus client-specific event maps