Documentation
Browse documentation

Using memory

Slash commands

The MemIndex plugin adds slash commands to agents that load its skills, such as Claude Code and Codex CLI. Type the command, or describe what you want and your agent picks the right one.

Commands you will use most

Command What it does
/mem-search Searches your memory for earlier decisions, fixes and work. It starts with a short list, then reads only the notes that matter. See Search your memory.
/pin Keeps a note at the top of every session on this branch, with an optional reason. See Branches and pins.
/savings Shows the tokens and estimated dollars your memory has saved you, by day and by project. See Savings.
/handoff Writes a HANDOFF.md with the goal, current state, files touched, failed attempts and next steps, so a fresh session can continue. Use it when a long session has gone off course or you want to step away. See Hand off to a fresh session.

Bring things in

Command What it does
/import-jira Previews and runs a Jira import. See Import from Jira.
/import-reviews Previews and runs an import of settled GitHub review threads. See Import code-review decisions.
/import-chats Previews and runs an import of chats another agent saved. See Import past chats.
/distill Suggests project rules from what your memory keeps repeating. It writes nothing until you approve. See Turn repeated decisions into rules.

Explore and shape

Command What it does
/knowledge-agent Builds a focused collection of notes you can question. See Knowledge agents.
/mode-creator Walks you through making a custom mode, with its own note types and tags, and checks that it works. See Modes and languages.
/timeline-report Writes a narrative report of a project's whole history from its timeline. See Project history reports.
/weekly-digests Writes one chapter for each week of a project's history, each building on the last. See Project history reports.
/how-it-works Explains what MemIndex records and when memory shows up. See How MemIndex works.
/cloud-sync Checks whether syncing between your machines through MemIndex hosting is on, and explains how to turn it on. See Sync your machines.

The import commands and /distill preview before they write anything.

Next steps