Documentation
Browse documentation

Using memory

Hand off to a fresh session

When a session has run long, keeps trying the same thing, or you want to stop and pick up later, /handoff writes a briefing for the next session.

Before you start

  • An agent that loads MemIndex's skills, such as Claude Code or Codex CLI. Nothing else is needed.

Run it

Type /handoff, or ask your agent to "write a handoff". It writes HANDOFF.md in your project's folder with:

  1. Goal: what you are trying to finish.
  2. Current state: what works, what is broken, and the exact error.
  3. Files in play: every file read, changed or created that matters.
  4. What has been tried: each approach that failed, and why. This saves the next session from repeating it.
  5. Current best theory: the most likely way forward.
  6. Next steps: concrete actions in order.
  7. Key constraints: things that are easy to miss, including anything you said not to do.
  8. Memory pointers: the few saved notes that matter most, found with a memory search.

Start a new session and tell it to read HANDOFF.md. MemIndex already brings back your recent notes; the handoff adds the goal, the dead ends and the plan.

Next steps