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:
- Goal: what you are trying to finish.
- Current state: what works, what is broken, and the exact error.
- Files in play: every file read, changed or created that matters.
- What has been tried: each approach that failed, and why. This saves the next session from repeating it.
- Current best theory: the most likely way forward.
- Next steps: concrete actions in order.
- Key constraints: things that are easy to miss, including anything you said not to do.
- 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.