Skip to content
Agent Memory
Command

/wrap

Close the session — save state to memory, update CONTEXT, commit, surface next moves.

From plugin
andon
1673 skills5 agents3 commands3 hooks

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/wrap

Context preview

What this command does when you run it.

Close the session — save state to memory, update CONTEXT, commit, surface next moves.

Command definition

wrap.md
description: Close the session — save state to memory, update CONTEXT, commit, surface next moves.

Run the session-wrap protocol (full version in `templates/wrap_protocol.md`):

1. **Stop new work** — the rest of this turn is wrap-only. 2. **Write a handoff note** — what's running, what shipped, what's next, blockers, files touched. 3. **Update `CONTEXT.md`** — Running / Done / Next / Blockers. 4. **Write durable state to ≥2 surfaces** — a typed memory file + your retrieval/index (or git + a second local file if you have no vector store). 5. **Add one line to `MEMORY.md`** under Recent. 6. **Commit + push.** 7. **Print the exact command to resume** next session.

Do NOT declare "done" while work is still in flow — name what's pending.

Ships withandon

Stop fixing the same AI mistake twice. A Lean quality system for AI-assisted work — operators turn recurring defects into countermeasures. Built by a manufacturing operator, for people who actually ship.

Get the whole plugin

Other commands on andon.