rutter_Who owns memory owns truth.

Getting started: from zero to your first recall

Pick the path for your client. Each one ends with a capture check and a recall check.

Choose your path

Pick the path for your client. Each one is a single sequence, and each ends with something you can check. Most paths install a hook: a script your client runs after each turn, which rutter uses to capture the session's summary line.

You use Follow What it takes
Claude Code Fast path for Claude Code A few minutes; nothing to clone
Grok Grok path One npm install, a hook, and one grok mcp add
Codex Codex path One npm install, and a hook you trust
GitHub Copilot CLI Copilot CLI path One npm install, a hook, and an instructions file
Antigravity CLI (agy) Antigravity path One npm install, a hook, and a rule file
Muse Code (muse) Muse Code path One npm install and one installer run
Any other MCP (Model Context Protocol) client Recall only, with npx One config entry. Search and recall only: with no hook, nothing is captured
Claude Code, from a clone From source Eight steps (M1 to M8), starting with a record written by hand. For contributors

Grok was verified on Linux only (known issues). The npm-only paths (Codex, Copilot CLI, Antigravity, Muse Code) were tested on a machine that also had Claude Code, so a clean machine is untested; see known issues.

Every path ends in two checks, kept separate on purpose. Capture: a new line landed in today's file under _librarian/sessions/. Recall: your client can answer from it. A record written by hand (From source, M3) shows that storage and recall work. It does not show ambient capture, which needs a real session and a hook.

Installation verified when…

Configured is not the same as tested. Your install works when all four are true:

  • A decision was captured: a new line landed in today's file under _librarian/sessions/.
  • It appears in the local record: npm run recent (or your client's recall) lists it with its date.
  • A later session in the same client can recall it.
  • A different client, if you set up a second one, retrieves it from the same notes folder.

To switch capture off or remove a record, see Pause, remove, and privacy.

About this lesson

Output shape verified against code. The sample output on this page is illustrative, not a recorded run: your dates, project names, and counts will differ.

This lesson gets your notes answering "what was I working on lately?" The answer comes from short records your AI sessions (in Claude Code, Grok, Codex, Copilot CLI, Antigravity, or Muse Code) leave behind on their own. Every tool you set up writes to the same records, so each one can recall what the others decided.

It is for people who keep their notes as markdown files and are comfortable editing a settings file, registering an MCP server, and running a few npm commands. The tools (librarian-*), the environment variables (LIBRARIAN_*), and the _librarian/ folder kept the project's earlier name, librarian; they are all parts of rutter.

Fast path for Claude Code

If you use Claude Code, the plugin is the shortest route. It bundles the server and the capture hook, so you skip the clone-based From source route. That route uses npm run scripts from a clone you will not have, and running it on top of the plugin registers a second server and a second hook.

1. Install. For the current version, install from rutter's own marketplace in Claude Code:

/plugin marketplace add shinytoyrobots/rutter
/plugin install rutter@rutter

rutter is also listed in the Anthropic Directory, which Claude Code has built in, but that listing is v0.3.3. Newer versions are available only from the marketplace above, because recent Anthropic submission standards mean the directory currently accepts hooks and local MCP servers only from verified organizations. If you want the directory version anyway, find rutter under /plugin → Discover, or run /plugin install rutter@anthropic-plugin-directory.

Pick one route, not both. Two installs register two servers and two capture hooks. To switch from the directory version, run /plugin uninstall rutter@anthropic-plugin-directory first. The rest of this lesson writes rutter@rutter; if you installed from the directory, use rutter@anthropic-plugin-directory wherever a command names the plugin.

Choose your notes folder when asked, then run /reload-plugins. If you install from a shell (claude plugin install rutter@anthropic-plugin-directory, or rutter@rutter after adding the marketplace), pass --config vault_path=/path/to/notes or run /plugin configure with the same plugin name afterward. Without a notes folder the server has nothing to read.

2. Check the server. Run this in Claude Code:

/mcp

You should see rutter listed with three tools: librarian-search, librarian-get-note and librarian-recent.

3. Do one small real task. Open a project directory you work in and make one decision or one small change. A "hello" leaves nothing worth recalling. As the work finishes, your client leaves a one-line summary on its own. You never write it yourself.

4. Confirm it was captured. A file for today's UTC day should now exist in your notes folder:

ls "/path/to/your/notes/_librarian/sessions/"
2026-08-05.md

5. Recall it. Ask your client:

What was I working on lately?

Your client calls librarian-recent and reports the session you just finished, in plain language. The stored line looks like this:

2026-08-05 14:22:33 [notes-cleanup] — Renamed the archive folder and updated the two notes that linked to it.

If you ever ran install-hook by hand (rutter-memory install-hook or npm run install-hook), remove that Stop hook entry from ~/.claude/settings.json when you add the plugin. Otherwise capture is attempted twice. The duplicate is detected and stored once, but it is wasted work. To see the hooks Claude Code has active, run /hooks.

Before you start

  • Node 22 or newer. Check with node -v. npm warns at install time on an older Node — heed it, because the built-in node:sqlite this depends on will simply be missing. Verified on Node 26.
  • npm, plus git if you work from a clone (From source).
  • Claude Code, Grok, Codex, Copilot CLI, Antigravity, or Muse Code. The four MCP tools work with any MCP client; the Stop hook that powers ambient capture runs in all six of these. Where each finds the hook: Claude Code runs the plugin's hook or one registered in ~/.claude/settings.json, and Grok also runs those Claude Code hooks, but reads its own ~/.grok/hooks/ (or $GROK_HOME/hooks/) too, so it needs no Claude Code; Codex reads ~/.codex/hooks.json (or $CODEX_HOME/hooks.json); Copilot CLI reads every file in ~/.copilot/hooks/ (or $COPILOT_HOME/hooks/); Antigravity reads ~/.gemini/config/hooks.json; Muse Code reads the hooks block of ~/.config/muse/settings.json. Where each finds your notes folder is a separate question, answered in each client's path below: Grok and Copilot CLI take it from the shell that launched them, not from ~/.claude/settings.json; Codex and Muse Code run hooks without your server settings, so their installers bake the folder into the hook.
  • A directory of markdown notes. Obsidian is what rutter was built against — it understands wikilinks and frontmatter — but nothing requires Obsidian itself.
  • No compiler toolchain. There are zero native dependencies. The index is Node's built-in SQLite, so there is nothing to build and no database to install.
  • Optional settings. LIBRARIAN_DB_PATH moves the index. An npm install keeps it in ~/.local/share/rutter/<id>/librarian.db (under $XDG_DATA_HOME if you set that), with a separate index for each notes folder. An index serves only the notes folder that built it: point two folders at one LIBRARIAN_DB_PATH and the second is refused, with a message saying how to fix it. LIBRARIAN_USER_LABEL is a bare noun, Robin rather than Robin's, used as <label>'s work in the descriptions your client receives.

Grok path

One route

If you also use Claude Code, you can instead install its plugin and Grok will pick that up; use one route, not both.

This covers xAI's grok command-line tool, and it needs no Claude Code. You install rutter from npm instead. Check Before you start first. Verified with Grok 1.0.62 (October 2026) on a Linux machine that has never had Claude Code. macOS and Windows are untested; see known issues.

1. Install rutter. The npm package is named rutter-memory, because rutter on npm is an unrelated library.

npm install -g rutter-memory

2. Choose your notes folder. Grok runs the hook with the environment of the shell that launched it, so put this in the shell profile that starts Grok, then re-source it. If your notes are in the default ~/Documents/knowledge-vault, skip it.

export LIBRARIAN_VAULT_PATH="$HOME/path/to/your/notes"

3. Install the hook, then register the server.

rutter-memory install-hook --client grok

This writes one file, ~/.grok/hooks/rutter.json (or $GROK_HOME/hooks/rutter.json), and touches nothing else. It refuses to replace a rutter.json it did not write. It does not register the server: it prints a grok mcp add line with your notes folder in it, and you run that line yourself. Grok needs no instructions file, because it shows the model the server's instructions on its own.

If Grok already runs rutter's hook from the Claude Code plugin or from ~/.claude/settings.json, the installer says which and creates no second entry, since a second hook would only run the first one twice (it still keeps a rutter.json it already wrote current). Capture works either way. A ~/.claude/settings.json hook only counts while Grok's Claude compatibility for hooks is on.

4. Do one small real task. Start a new Grok session from that shell and make one decision or one small change. The summary line belongs at the end of Grok's final reply. The hook reads only the final assistant message, and Grok clips that message at 32,768 characters, so on a very long turn a trailing line can be cut off and lost. If the final message holds two lines, only the last is kept. In testing on Linux, Grok also ran the hook once more when a headless run ended; that run had no reply to read and captured nothing.

5. Check capture. A file for today's UTC day should exist, and its new entry should carry client: grok:

ls "$LIBRARIAN_VAULT_PATH/_librarian/sessions/"

6. Check recall. Ask Grok "What was I working on lately?" It should call librarian-recent and report the session you just finished.

Codex path

Codex cannot use the plugin: it fills in none of a plugin's variables and installs no hook. You install rutter from npm instead. Check Before you start first. Verified with Codex 0.163.0 (October 2026), on a machine that also had Claude Code. The recorded run on the home page used Codex 0.162.0.

1. Install rutter. The npm package is named rutter-memory, because rutter on npm is an unrelated library.

npm install -g rutter-memory

This gives you the rutter-memory command. Install it globally rather than running it through npx: the hook needs a path that stays put, and npx keeps packages in a cache that can be cleared at any time.

2. Set your notes folder where Codex starts. A Codex hook inherits only the environment Codex itself was launched with. It does not read ~/.claude/settings.json, and a shell_environment_policy entry in ~/.codex/config.toml does not reach it. Add this to the shell profile that launches Codex, then re-source it:

export LIBRARIAN_VAULT_PATH="$HOME/path/to/your/notes"

Step 4's installer also bakes this folder into the hook command, taking it from --vault, then this shell's LIBRARIAN_VAULT_PATH, then the server registration from step 3, so a hook started without the variable still writes to your notes. Without any of them, the hook writes captures to the default ~/Documents/knowledge-vault, and its stderr line says the default was used. Run rutter-memory reindex to check the path. It prints a count such as 1284 notes indexed and a vault: line naming your notes folder; a non-zero count means the path is right. The index: line points under ~/.local/share/rutter/.

3. Register the server, passing the notes path at registration:

codex mcp add rutter --env LIBRARIAN_VAULT_PATH="$HOME/path/to/your/notes" -- rutter-memory

Check it with codex mcp list: rutter should appear as enabled. An Auth column reading Unsupported is normal for a local stdio server. This sets the path for the server only. The hook gets it from step 2. If Codex reports that it cannot start rutter-memory, it was launched without Node on its PATH, which happens when it starts from the Dock or another app rather than your shell. Register Node and the script by absolute path instead, which needs no PATH:

codex mcp add rutter --env LIBRARIAN_VAULT_PATH="$HOME/path/to/your/notes" -- "$(which node)" "$(npm root -g)/rutter-memory/dist/cli.js"

The hook runs node too, so capture also needs Codex started from a shell where node -v works.

4. Install the hook, then trust it.

rutter-memory install-hook --client codex

Pass --vault <path> to choose the folder the hook writes to; re-running keeps the folder already set unless you do. This merges into ~/.codex/hooks.json (or $CODEX_HOME/hooks.json). It also adds a marked block to ~/.codex/AGENTS.md (or $CODEX_HOME/AGENTS.md): Codex does not show the model a server's instructions until it loads one of the server's tools, so without the block the model never learns to write the summary line. The block holds the server's own instructions, and re-running the installer refreshes it. Everything else in your AGENTS.md stays as it is. To remove it, delete the lines from BEGIN rutter-capture-rule to END rutter-capture-rule. If you keep a nonempty AGENTS.override.md, Codex reads that instead of AGENTS.md, so the installer stops and tells you; remove the override, or re-run with --no-rules and paste the block into the override yourself (the installer then keeps it current there). If an equivalent hook is already registered inline in ~/.codex/config.toml, the installer stops and tells you rather than stacking a second one. Codex will not run a new hook until you trust it: start Codex, run /hooks, review the Librarian Stop hook, and trust it. Installing does not grant trust, and an untrusted hook never runs.

5. Do one small real task. Restart Codex from the shell in step 2 and make one decision or one small change. The summary line must be in Codex's final reply. The hook reads only the final assistant message, so a line left in earlier commentary is not captured, and if the final reply holds two lines, only the last is kept. The rules block from step 4 tells the model to put it there.

6. Check capture. A file for today's UTC day should exist, and its new entry should carry client: codex:

ls "$LIBRARIAN_VAULT_PATH/_librarian/sessions/"

7. Check recall. Ask Codex "What was I working on lately?" It should call librarian-recent and report the session you just finished. If step 6 found the file but Codex says no sessions are recorded, the server is reading a different folder from the one the hook writes to: compare the paths in steps 2 and 3.

Copilot CLI path

This covers GitHub's copilot command-line tool. Copilot has no plugin install that sets up rutter yet, so you install rutter from npm. Check Before you start first. Verified with Copilot CLI 1.0.98 (October 2026), on a machine that also had Claude Code.

1. Install rutter. The npm package is named rutter-memory, because rutter on npm is an unrelated library.

npm install -g rutter-memory

Install it globally, not through npx. The hook needs a path that stays put, and npx keeps packages in a cache that can be cleared at any time.

2. Set your notes folder where Copilot starts. The hook inherits the environment Copilot was launched with. Add this to the shell profile that launches Copilot, then re-source it:

export LIBRARIAN_VAULT_PATH="$HOME/path/to/your/notes"

Without it, the hook writes captures to the default ~/Documents/knowledge-vault.

3. Install the hook and the capture instructions.

rutter-memory install-hook --client copilot

This writes two files of rutter's own under ~/.copilot (or $COPILOT_HOME): hooks/rutter.json and instructions/rutter.instructions.md. It never edits your other hook files or your own copilot-instructions.md. If either file already exists and wasn't written by the installer, it stops and changes nothing.

The instructions file is required. Copilot loads a server's instructions only when one of its tools is called, so in most sessions the model never sees rutter's request to leave a summary line. The instructions file is in front of the model every session.

4. Register the server with the copilot mcp add line the installer printed. It has this shape:

copilot mcp add --env LIBRARIAN_VAULT_PATH="$HOME/path/to/your/notes" rutter -- "$(which node)" "$(npm root -g)/rutter-memory/dist/stdio.js"

The notes path must be in the registration. Copilot passes only PATH to a server, so a server registered without it reads the default folder while the hook writes to yours. Check it with copilot mcp list.

5. Do one small real task. Start a new Copilot session and make one decision or one small change. Copilot's screen hides the summary line, because it is an HTML comment. The hook reads it from Copilot's transcript file, ~/.copilot/session-state/<session>/events.jsonl. If the turn holds two lines, only the last is kept.

6. Check capture. A file for today's UTC day should exist, and its new entry should carry client: copilot:

ls "$LIBRARIAN_VAULT_PATH/_librarian/sessions/"

7. Check recall. Ask Copilot "What was I working on lately?" It should call librarian-recent and report the session you just finished. If step 6 found the file but Copilot says no sessions are recorded, the server is reading a different folder from the one the hook writes to: compare the paths in steps 2 and 4.

Antigravity path

This covers the agy command-line tool, not the Antigravity IDE. Antigravity has no plugin install, so you install rutter from npm. Check Before you start first. Verified with agy 1.3.2 (October 2026), on a machine that also had Claude Code.

1. Install rutter. The npm package is named rutter-memory, because rutter on npm is an unrelated library.

npm install -g rutter-memory

Install it globally, not through npx. The hook needs a path that stays put, and npx keeps packages in a cache that can be cleared at any time.

2. Install the hook and the capture rule, passing your notes folder:

rutter-memory install-hook --client antigravity --vault /path/to/your/notes

This adds a librarian-capture hook to ~/.gemini/config/hooks.json and writes ~/.gemini/config/rules/rutter-capture.md. The rule file is needed: agy does not put the server's instructions in the prompt, and without the rule its model did not leave summaries on its own.

The installer prints which notes folder it chose and why. It picks, in order: --vault; the folder an existing rutter hook already uses; LIBRARIAN_VAULT_PATH from your shell; the default, ~/Documents/knowledge-vault. The hook uses that folder unless the shell that launches agy exports LIBRARIAN_VAULT_PATH, which overrides it. Re-running with a different --vault moves capture to the new folder; sessions captured so far stay in the old one. The installer refuses to overwrite a rule file it did not write.

3. Register the server with the agy mcp add line the installer printed. It has this shape, with flags before the server name:

agy mcp add --env LIBRARIAN_VAULT_PATH="$HOME/path/to/your/notes" rutter "$(which node)" "$(npm root -g)/rutter-memory/dist/stdio.js"

Check it with agy mcp list: rutter should appear as enabled. The notes path must match step 2, or captures go to one folder and reads come from another. The index lives in ~/.local/share/rutter/<id>/, one per notes folder (see Optional settings in Before you start). The printed line sets LIBRARIAN_DB_PATH only if you had set it yourself.

4. Do one small real task. Restart agy, run /hooks to review the hook, then make one decision or one small change. The summary line can be anywhere in the current turn: the hook reads the turn's assistant messages from agy's transcript file. If the turn holds two lines, only the last is kept. A turn that ended in an error captures nothing.

5. Check capture. A file for today's UTC day should exist, and its new entry should carry client: agy. Each capture also prints the notes folder it wrote to in agy's log, under ~/.gemini/antigravity-cli/log/.

ls "/path/to/your/notes/_librarian/sessions/"

6. Check recall. Ask agy "What was I working on lately?" It should call librarian-recent and report the session you just finished.

Muse Code path

This covers Meta's terminal agent, Muse Code (the muse command). Check Before you start first. Verified with Muse Code 1.4.10 (October 2026), on a machine that also had Claude Code. Meta shipped Muse Code as a beta in August 2026.

1. Install rutter. Install it globally, not through npx: the hook needs a path that stays put.

npm install -g rutter-memory

2. Run the installer. Muse runs hooks with a cleared environment, so the notes folder cannot come from your shell. The installer bakes it in:

rutter-memory install-hook --client muse --vault "$HOME/path/to/your/notes"

Without --vault it uses LIBRARIAN_VAULT_PATH from this shell, then ~/Documents/knowledge-vault. Re-running keeps the notes folder the hook already uses unless you pass a new one.

It changes two files under ~/.config/muse, and nothing in any project:

  • settings.json: adds rutter's Stop hook and a rutter server entry with mode: "optional". Muse's default, required, aborts the whole run when a server fails to start. Your other settings, hooks and servers are kept. A hook of your own that runs rutter's script is left as it is, and so is no other command; an existing rutter server entry is replaced only if it is node running rutter-memory's own dist/stdio.js; any other is refused. If the file isn't valid JSON, or is a symlink, the installer stops and changes nothing, because a broken settings.json can stop Muse from starting.
  • AGENTS.md: adds a block between rutter's own marker lines, asking the model to end a reply that settles something with the session line. Your text in that file is never changed; re-running replaces only the block. If the marker words appear anywhere else in the file (in prose, or inside a code fence), the installer refuses rather than guess. Muse's server instructions alone did not make the model write the line, but this user-level file did.

Both files are staged before either is replaced, and a copy of each original is kept until both are in place. If a file changed while the installer ran, it stops and asks you to re-run; a very small window between that check and the swap remains.

3. Start a new Muse session and do one small real task. Hooks and rules load when a session starts. The session line is an HTML comment in the final reply. If the reply holds two lines, only the last is kept.

4. Check capture. A file for today's UTC day should exist, and its new entry should carry client: muse:

ls "$HOME/path/to/your/notes/_librarian/sessions/"

5. Check recall. Ask Muse "What was I working on lately?" It should call librarian-recent and report the session you just finished.

Things to know:

  • The muse name can collide. cmux ships its own muse binary. If which -a muse lists more than one, run Meta's by full path, ~/.local/bin/muse.
  • A stuck hook holds up your turn. Muse waits for a Stop hook as long as it runs. rutter's hook stops its capture process after 20 seconds, and force-kills it 2 seconds later if it ignores the first signal. Muse clears the hook's environment, so a shell export cannot change the limit; to change it, add LIBRARIAN_CAPTURE_TIMEOUT_SEC=<seconds> (a positive number up to 600) in front of the command in settings.json.
  • Capture depends on the model writing the line. In a trial with this rule in place, Muse wrote it on four of five ordinary tasks and left it out of small talk. That was a small trial, run by one person. A project with its own AGENTS.md may compete with the user-level rule.
  • To remove it, delete the hook and rutter entries from settings.json and the marked block from AGENTS.md.

Recall only, with npx

Any MCP client can search your notes and recall what Claude Code, Grok, Codex, Copilot CLI, Antigravity, and Muse Code recorded, with no install step. Add this to the client's MCP configuration:

{
  "mcpServers": {
    "rutter": {
      "command": "npx",
      "args": ["-y", "rutter-memory@0.8.2"],
      "env": { "LIBRARIAN_VAULT_PATH": "/path/to/your/notes" }
    }
  }
}

The version in args decides which release runs. Pin to the release you want; 0.8.2 is the current release at the time of writing. Without it, npx may fetch a newer release when the client starts, so an upgrade can arrive without you choosing it. Upgrading covers moving to a new version. The first start downloads the package and builds the index, so it takes a few seconds longer than later starts.

If the client cannot start the server, it was probably launched without Node on its PATH, which happens when it starts from the Dock or another app rather than a shell. Add a PATH entry to env that includes the folder dirname "$(which node)" prints. Check it the same way as any server: the client should list three tools, librarian-search, librarian-get-note and librarian-recent.

This route captures nothing. Capture needs a hook, and a hook registered from the npx cache would stop working without warning when the cache is cleared. For capture, use the Codex, Copilot CLI, Antigravity, or Muse Code path, which install globally.

Upgrading

The Claude Code plugin updates through /plugin. The rest of this section does not apply to it.

A global npm install updates with one command, then a restart of each client:

npm install -g rutter-memory@latest

The server rebuilds its index on the next start if anything it depends on has changed. Your session records are untouched. On Antigravity, also re-run rutter-memory install-hook --client antigravity, so the capture rule matches the new release.

The npx route runs the version named in args. To upgrade, change that version to the new release number, then restart the client. The releases page lists the published versions. If you left the version out, npx may already have moved you to a newer release on its own.

After switching Node versions with nvm or another version manager, reinstall, then re-run the hook installer for your client:

npm install -g rutter-memory
rutter-memory install-hook --client codex   # --client antigravity, --client copilot, --client muse, --client grok, or no flag for Claude Code

A global install lives inside one Node version's folder, so switching versions leaves the hook pointing at a path that may no longer exist. Re-running the installer moves the existing hook to the new path instead of adding a second one, and keeps the notes folder it was using. It prints the old and new paths. If you registered the server by absolute path (the Antigravity line, or the Codex fallback that names node and dist/cli.js), register it again too.

What to do next

You now have ambient capture running end-to-end. These are worth reading once the records start accumulating:

The project also measures whether any of this actually gets used. npm run gate, from a clone, shows the per-ISO-week count; Measuring whether it gets used explains what it is for.

The server refreshes its index each time it starts, so a new session picks up changes to your notes on its own. Run rutter-memory reindex (npm run reindex from a clone) when you want a refresh without restarting. The index is a disposable cache — your files stay the source of truth.

If something goes wrong

Each entry starts with what you see, then the usual cause, then the fix. Questions about using several clients together are in the FAQ.

0 notes indexed after a reindex. The notes path is wrong, and an unreadable directory is not an error. Check the vault: line against where your notes actually are, re-export LIBRARIAN_VAULT_PATH, and reindex again with rutter-memory reindex (npm run reindex from a clone).

Every tool answers "rutter's index … belongs to the vault …". Two notes folders share one index file, because both clients set the same LIBRARIAN_DB_PATH. The index serves only the folder that built it, so the second is refused rather than shown the first folder's notes. Remove LIBRARIAN_DB_PATH from one client so it gets its own index, or give it a different path. To hand the file over to the second folder instead, run rutter-memory reindex --force with that folder; the first client is then refused.

rutter is missing from /mcp. If you installed the plugin, run /reload-plugins. If you registered the server by hand from a clone, it probably registered project-local because --scope user was left off; re-run the claude mcp add line from From source, M5 with --scope user.

No file appears in _librarian/sessions/. Work through these in order:

  1. Hooks are read at session start. Quit your client and start it again.
  2. Re-run the hook installer for your client (rutter-memory install-hook --client <name>, or no flag for Claude Code; npm run install-hook from a clone) and read what it prints. From a clone, it should print registered the Stop hook or already registered; if it prints dist/capture-cli.js is missing, run npm run build and install again (From source, M6).
  3. Check that the notes path your client sees is the one you meant. The env block in ~/.claude/settings.json covers Claude Code. Grok and Codex read the shell that launched them. Antigravity uses the folder its installer chose.
  4. Do real work first. An empty summary, or one still wrapped in <angle brackets>, captures nothing.
  5. If captures still refuse to land, the README documents a CLAUDE.md paste-in as a last-resort fallback.

Captures land in ~/Documents/knowledge-vault instead of your notes. The hook did not see LIBRARIAN_VAULT_PATH, so it used the default. For Grok and Copilot CLI, export it in the shell profile that launches the client, then re-source the profile. Antigravity, Codex, and Muse Code take the folder from their installer's --vault flag instead (Codex falls back to your shell's variable, then the server's config.toml entry); re-run rutter-memory install-hook --client codex --vault <path> to fix a Codex hook that wrote elsewhere.

Codex captures nothing. The hook may be untrusted: start Codex, run /hooks, review the Librarian Stop hook, and trust it (Codex path, step 4). Also check that the summary line is in Codex's final reply. The hook reads only the final message.

Copilot CLI leaves no summaries. The instructions file ~/.copilot/instructions/rutter.instructions.md should exist. Without it, the model sees rutter's instructions only after it calls a rutter tool. Re-run the installer from the Copilot CLI path, step 3, if it is missing. The line never shows on screen, so look for it in the session's transcript: grep librarian-session ~/.copilot/session-state/<session>/events.jsonl. If the line is there but nothing was captured, check that ~/.copilot/hooks/rutter.json exists and that the shell which started Copilot can run node.

Antigravity leaves no summaries. The rule file ~/.gemini/config/rules/rutter-capture.md should exist, and the model may never read the server's instructions without it. Re-run the installer from the Antigravity path, step 2, if it is missing. A turn that ended in an error captures nothing.

A long Grok turn loses its summary. Grok clips its final message at 32,768 characters, so a directive near the end of a very long turn can be dropped. The Grok path has the full Grok setup, and known issues has the entry.

Every capture appears to be attempted twice. You have both the plugin's hook and a hand-registered one. Remove the install-hook entry from ~/.claude/settings.json. The duplicate is detected and stored once, but it is wasted work.

Capture stopped after you switched Node versions. The hook points into the old version's global install. Follow Upgrading: reinstall, then re-run rutter-memory install-hook for your client.

node:sqlite is missing. Your Node is older than 22. Check with node -v and upgrade.

Sections that moved

These sections now live on other pages. The headings stay here so that old links to them still land somewhere useful.

The manual route, step by step

Now From source, numbered M1 to M8.

Step 1 — Clone and install

Now M1 on From source.

Step 2 — Point it at your notes and build the index

Now M2 on From source.

Make the path stick

Now part of M2. For where each client finds your notes folder, see the path for your client above.

Step 3 — Capture your first memory by hand

Now M3 on From source.

Step 4 — Recall it

Now M4 on From source.

Step 5 — Build and register the MCP server

Now M5 on From source.

Step 6 — Install the Stop hook

Now M6 on From source.

Step 7 — Restart, and let a real session record itself

Now M7 on From source.

Step 8 — Recall again, and read the record

Now M8 on From source.

Check, pause, or remove capture

Now Pause, remove, and privacy.

Notice when capture stops

Now in Pause, remove, and privacy.

Pause capture

Pause capture now lives in Pause, remove, and privacy.

Remove a record you don't want

Now in Pause, remove, and privacy.

What leaves your machine

Now in Pause, remove, and privacy.

docs/getting-started.md@sha256:db00e9a48a6e · built from main@ba3e432 · · source hashes

Docs navigation