This guide covers everything you need to install, update, and run My Brain Is Full — Crew on Codex CLI (@openai/codex).
Windows note: Codex CLI's Windows support is experimental. If you are on Windows, running inside WSL (Windows Subsystem for Linux) is strongly recommended.
# Install Codex CLI globally
npm i -g @openai/codex@latest
# Clone the repo inside your vault and install the Crew
cd /path/to/your-vault
git clone https://github.com/gnekt/My-Brain-Is-Full-Crew.git
cd My-Brain-Is-Full-Crew
bash scripts/launchme.sh --platform codex-cliThe installer accepts an optional --target flag if you want to point it at a vault in a non-standard location:
bash scripts/launchme.sh --platform codex-cli --target /path/to/your-vaultcd /path/to/your-vault/My-Brain-Is-Full-Crew
git pull
bash scripts/updateme.sh --platform codex-cliThe updater auto-detects Codex CLI by checking for .codex/agents in your vault. If multiple platforms are installed, pass --platform codex-cli explicitly.
After running launchme.sh --platform codex-cli, your vault will contain:
your-vault/
├── .codex/
│ ├── agents/ ← 8 core crew agents (.toml format)
│ ├── references/ ← shared docs the agents read
│ └── config.toml ← MCP server definitions + profiles + sandbox policy
├── .agents/
│ └── skills/ ← 14 specialized skills (plain text instructions)
├── Meta/
│ └── scripts/ ← orchestra scripts (permission-free agent commands)
└── AGENTS.md ← dispatcher (project instructions for Codex)
Key differences from other platforms:
| Path | Purpose |
|---|---|
.codex/agents/*.toml |
Custom agent definitions (Codex native format) |
.agents/skills/ |
Repo-scoped skill instructions (shared discovery path) |
.codex/config.toml |
MCP servers, approval policy, sandbox mode, model profiles |
AGENTS.md |
Dispatcher — Codex reads this as its primary project instruction file |
All platforms use a dispatcher file, but the name and format differ:
| Platform | Dispatcher file |
|---|---|
| Claude Code | CLAUDE.md |
| Gemini CLI | GEMINI.md |
| OpenCode | AGENTS.md |
| Codex CLI | AGENTS.md (with root-context routing header) |
Codex CLI shares the AGENTS.md name with OpenCode but prepends a routing header that handles orchestration within the agents.max_depth = 1 constraint (see below).
Claude Code, Gemini CLI, and OpenCode all use Markdown (.md) agent files. Codex CLI uses TOML:
.claude/agents/architect.md ← Claude Code
.gemini/agents/architect.md ← Gemini CLI
.opencode/agents/architect.md ← OpenCode
.codex/agents/architect.toml ← Codex CLI
Skills install to .agents/skills/ for Codex (not .codex/skills/). Codex CLI discovers skills from this shared path.
Codex CLI enforces agents.max_depth = 1. This means child agents can only go one level deep. My Brain Is Full — Crew handles this through root-context orchestration:
- The dispatcher embeds orchestration instructions in the root context (not in a child)
- Child agents (
spawn_agent) finish one bounded task and return to root - Any next step is decided from the root context, not by a nested child
Codex CLI does not have the AskUserQuestion or request_user_input tools. The equivalent patterns are:
| Source concept | Codex CLI equivalent |
|---|---|
AskUserQuestion |
Ask a direct question in the chat thread and wait for the reply |
request_user_input |
Same — use the root conversation for follow-up questions |
Skill tool |
Follow the skill instructions directly in the root context |
Agent tool |
Use spawn_agent for a bounded child task; orchestration returns to root |
max chain depth 3 |
agents.max_depth = 1 with root-only orchestration |
.mcp.json |
.codex/config.toml |
Claude Code uses .mcp.json. Codex CLI uses .codex/config.toml. The MCP server, approval policy, sandbox mode, and model profile settings all live in the TOML config. The CLI and Codex IDE extension share this same config file.
Use this table to verify the Crew works correctly in a real Codex vault after install or update. Run each row and compare the result against the expected outcome.
| Surface | Name | Prompt or command | Expected result |
|---|---|---|---|
| Agent | Architect | @Architect Set up my vault structure |
Architect starts onboarding conversation or confirms vault is already set up |
| Agent | Scribe | @Scribe Save this note: quick test |
Scribe creates a note in 00-Inbox with proper frontmatter |
| Agent | Sorter | @Sorter Triage my inbox |
Sorter reviews inbox notes and files them, or reports inbox is empty |
| Agent | Seeker | @Seeker What do I know about this project? |
Seeker searches the vault and returns results with source citations |
| Agent | Connector | @Connector Find connections in my recent notes |
Connector analyzes the vault graph and suggests wikilinks |
| Agent | Librarian | @Librarian Run a vault health check |
Librarian scans for broken links, duplicates, and orphan notes |
| Agent | Transcriber | @Transcriber Process this transcript: [paste text] |
Transcriber generates structured meeting notes |
| Agent | Postman | @Postman Check my email |
Postman scans Gmail (or Hey) and saves actionable emails, or reports missing integration |
| Skill | onboarding | /onboarding |
Architect starts the full onboarding conversation |
| Skill | create-agent | /create-agent |
Architect walks through designing a new custom agent |
| Skill | manage-agent | /manage-agent |
Architect lists, edits, or removes custom agents |
| Skill | defrag | /defrag |
Architect runs the 5-phase vault defragmentation |
| Skill | email-triage | /email-triage |
Postman scans and prioritizes unread emails |
| Skill | meeting-prep | /meeting-prep |
Postman generates a comprehensive meeting brief |
| Skill | weekly-agenda | /weekly-agenda |
Postman produces a day-by-day week overview |
| Skill | deadline-radar | /deadline-radar |
Postman produces a unified deadline timeline |
| Skill | transcribe | /transcribe |
Transcriber processes a recording or transcript into structured notes |
| Skill | vault-audit | /vault-audit |
Librarian runs the full 7-phase vault audit |
| Skill | deep-clean | /deep-clean |
Librarian runs the extended vault cleanup |
| Skill | tag-garden | /tag-garden |
Librarian analyzes and cleans up tags |
| Skill | inbox-triage | /inbox-triage |
Sorter processes and routes all inbox notes |
| Skill | contact-sync | /contact-sync |
Postman syncs contacts to Apple Contacts |
| Chaining | bounded child-agent chain | @Sorter Triage my inbox (with notes present that mention a new project) |
Sorter files notes, then dispatcher signals Architect to create the new project folder; child returns to root before Architect runs |
| MCP | MCP visibility | codex -C <vault> mcp list |
Lists the MCP servers configured in .codex/config.toml, or shows the auth/setup state for each server |
codex exec -C <vault> "List the project custom agents under .codex/agents, the repo skills under .agents/skills, and the dispatcher file used in this workspace."Expected output references:
AGENTS.md(the dispatcher).codex/agentspath (custom agents).agents/skillspath (repo skills)
codex -C <vault> mcp listExpected: lists MCP servers from .codex/config.toml (e.g., Gmail, Calendar) or shows their auth/setup state.
- Verify
.codex/agents/exists in your vault root and contains.tomlfiles. - Open Codex CLI from your vault directory:
codex -C /path/to/your-vault - Check that
AGENTS.mdexists at the vault root (not inside the repo subdirectory).
- Verify
.agents/skills/exists in your vault root and contains subdirectories. - Skills must be at the vault root level:
<vault>/.agents/skills/<skill-name>/
- This is a Codex
agents.max_depth = 1constraint. Child agents can only go one level deep. - The dispatcher uses root-context orchestration to work within this constraint.
- If a task seems to require deeper nesting, flatten it: complete the first bounded step in a child, then handle the next step in the root context.
- MCP configuration lives in
.codex/config.toml(not.mcp.json). - Check
codex -C <vault> mcp listto see the current server status. - For Gmail/Calendar setup, see
docs/gws-setup-guide.md. - For Apple Contacts, verify the
apple-contactsserver entry in.codex/config.toml.
- Child agent approvals surface in the child thread. Approve or deny there, then continue orchestration from the root context after the child returns.
- If a task requires deeper recursion, stop spawning children and flatten the next step into the root context or split the work into separate bounded child tasks.
Codex CLI's Windows support is experimental. Use WSL (Windows Subsystem for Linux) for the most reliable experience. From WSL, follow the standard Linux install path above.
- Reinstall (
launchme.sh): Use when setting up a new vault or recovering from a broken state. - Update (
updateme.sh): Use aftergit pullto push new agents, skills, and references to an existing vault. Custom agents are never overwritten.
For a migration from another platform, see docs/codex-migration.md.