agexsDocs
agexs brain

Claude Code plugin

The agexs brain plugin for Claude Code on macOS, Linux and Windows: install brain@axs or axs@axs and get memory hooks, MCP tools and the /brain commands.

The Claude Code plugin adds the agexs brain hooks and the MCP server on macOS, Linux and Windows. There are two, both in the marketplace axs-sh/claude:

  • axs@axs: agexs brain with the agexs CLI's login. axs install claude installs it (see Connect your agents).
  • brain@axs: agexs brain only, without the agexs CLI.

Keep only one of them: with both, every hook runs twice.

Install brain@axs

In the dashboard open Connect a tool and pick Claude Code, or run:

claude plugin marketplace add axs-sh/claude; claude plugin install brain@axs

Start Claude Code. It opens agexs brain in your browser: click Connect and pick the team. Without a browser (SSH) Claude Code shows the link instead. The memory tools work as soon as you approve, no restart. The token is kept in a file only you can read (~/.config/axs-brain/claude.json).

What you get

  • Hooks on session start, every prompt, tool calls and the end of each answer. They bring in memories and check rules.
  • The MCP tools memory_search, memory_write and others, so the agent can look things up and save lessons.
  • Commands (/brain:... in brain@axs, /axs:... in axs@axs):
CommandWhat it does
/brain:importImports existing agent notes
/brain:switch [team]Lists your teams, or moves this device to another one
/brain:logoutLogs this device out; the next session connects it again
/brain:review [scope]Goes through memories that might be outdated, changes nothing without your yes
/brain:yolo [off]Rules that block or ask only remind for this session

After /brain:switch, memories and tools use the new team from the next call; its always-on rules load with the next session.

Update

claude plugin marketplace update axs
claude plugin update brain@axs

Then restart Claude Code.

Uninstall

claude plugin uninstall brain@axs

Then sign the device out in the dashboard under Team settings, Devices. For axs@axs run axs uninstall claude.

On this page