Set up your cortex
memorinth init makes a cortex for your agents and connects Claude Code, Codex, Cursor and Gemini CLI to it in one step. What it asks, and what it changes.
memorinth init gets your agents a memory in one step. Run it in a new terminal, ideally in the folder you want as your cortex:
$ memorinth initWhat it asks
- Which folder. This one, or another. The default is
~/Memorinth, orMEMORINTH_CORTEXif you set it. A folder of notes you already have works too: nothing in it changes. - Which agents to connect. It lists the ones installed on this computer: Claude Code, Codex, Cursor and Gemini CLI.
- Whether to install the skills and the hooks. Say yes unless you have a reason not to: the hooks give each session its briefing.
- Whether to download the models for search and dictation now, rather than when they’re first needed.
What it does
- Makes the folder a cortex, with
memory/,decisions/andfacts/. - Makes it the cortex agents use, kept in Memorinth’s settings, so every session finds it.
- Turns agents on.
- Connects each agent you picked, as Connect one agent describes.
Without questions
In a script, or to take every default:
$ memorinth init ~/Memorinth -y| Option | |
|---|---|
<path> |
The folder to use, instead of asking |
-y, --yes |
Take the defaults without asking |
--no-connect |
Make the cortex but connect no agent |
After init
Start a new session in any connected agent. Then check everything with Check with doctor.
Updated