Skip to content
Mimir

Claude Code, Codex, and Cursor

Claude CodeClaude CodeCodexCodexCursorCursor

Dedicated capture setup guides are available for OpenCode, Pi & Oh My Pi, and Hermes.

The installer enrolls receipt-owned hook manifests in each harness’s supported location. Their start, prompt, completion, and end hooks invoke the hidden mimir _hook adapter, which reconstructs bounded prompt/assistant exchanges and queues delivery when the Worker is unavailable.

Existing different hook files are preserved as conflicts rather than merged or overwritten.

  • Claude Code: Reload with /reload-plugins or restart Claude Code.
  • Codex: Requires a restart after install.
  • Cursor: Cursor automatically reloads hooks.json when you open or continue an agent session.

To connect custom harnesses or third-party tools:

Terminal window
mimir connection

The connection manifest supplies proxy base URLs, credential sources, and supported metadata headers. The CLI inspects and controls memory; it does not capture unrelated model traffic.

Titles are first-class session metadata, separate from the original task intent. The displayed title falls back through title, intent, then session ID. A manual dashboard title has highest precedence, followed by a title reported by the harness, a saved generated title exchange, and the first saved primary user intent. Lower-precedence sources cannot overwrite a stronger title.