Install
Two commands in Claude Code.
Requires Node 22.16+ or 24+: the memory needs node:sqlite with FTS5 in its bundled SQLite. The 23.x line ships the module without FTS5 and is not supported; on a Node that cannot run it, the engine says so on stderr instead of failing silently.
The bundle installs the engine, every coach, and the three cross-coach commands. This is the one to pick.
$ claude plugin marketplace add MohammedMoataz/ai-coach$ claude plugin install ai-coach@ai-coach
Each coach installs alone and pulls the engine (ai-coach-core) with it.
$ claude plugin marketplace add MohammedMoataz/ai-coach$ claude plugin install memory-coach@ai-coach
Cursor, Windsurf, Antigravity, opencode, Codex CLI and anything that speaks MCP get the memory through an MCP server and the workflows as compiled rules. Set up once:
$ git clone https://github.com/MohammedMoataz/ai-coach$ node ai-coach/plugins/ai-coach-core/hooks/engine.js bootstrap
Then, from the same directory, point your harness at the MCP server. For example, Codex CLI:
$ codex mcp add ai-coach -- node "$(pwd)/ai-coach/adapters/mcp/server.js"
Per-harness snippets (Cursor, opencode, Windsurf, Antigravity) and what ports versus what stays Claude Code's are in the adapters guide.
Good to know
Where does my data live?
In ~/.ai-coach/ (%USERPROFILE%\.ai-coach on Windows), whichever harness opened the session. There is no AI Coach server and no account. Session-end distillation makes one call through claude on your PATH when it is there, and quietly skips when it is not.
Is the secrets guard on?
Not by default. It is the only hook that can stop a tool call, so it ships off. Turn it on with AICOACH_GUARD=on or the setting in /plugin.
How do I uninstall?
Run claude plugin uninstall ai-coach. Your memory outlives the plugin by design, so reinstalling picks up where you left off. Delete ~/.ai-coach/ to remove it too.
Which Node version does it need?
Node 22.16+ or 24+: the memory needs node:sqlite with FTS5 in its bundled SQLite. The 23.x line ships the module without FTS5 and is not supported.
Does it work outside Claude Code?
Yes. Cursor, Windsurf, Antigravity, opencode, Codex CLI and anything that speaks MCP get the memory through an MCP server and the workflows as compiled rules. What stays Claude Code's is context injection: elsewhere the memory brief is your first move, not automatic.