# Brain

> Brain Integration

- Skill: `codejunkie99/brain` (Agent Skill)
- Install (CLI): `npx skillmds@latest add codejunkie99/brain`
- Raw SKILL.md: https://api.skillmd.com/api/skills/codejunkie99/brain/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: codejunkie99 (https://skillmd.com/u/codejunkie99)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/codejunkie99/brain

---


# Brain Integration

Use this skill when the task needs durable memory shared across coding-agent
harnesses through the external `brain` CLI and MCP server.

## Check Availability

```bash
python3 .agent/tools/brain_bridge.py status
```

If Brain is missing, tell the user to install it:

```bash
brew install codejunkie99/tap/brain
```

## Recall

Before non-trivial work that could depend on prior cross-tool decisions:

```bash
python3 .agent/tools/brain_bridge.py ask "<intent or topic>"
```

Use returned notes as context, but keep project-local `.agent/memory/semantic`
as the source for agentic-stack lessons until the user explicitly asks to
promote or migrate them.

## Save

Save one concise observation when the user gives a durable preference,
cross-project convention, or decision that should survive across harnesses:

```bash
python3 .agent/tools/brain_bridge.py note "<one durable observation>"
```

Do not save secrets, credentials, or ephemeral task details.

## MCP

To wire Brain as an MCP stdio server, inspect:

```bash
python3 .agent/tools/brain_bridge.py mcp-command
```

The expected command is `brain serve --mcp`.

