rewind-summary

rewind-summary is a command for coding agents from bengous/claude-code-plugins. It costs 25 tokens per session (786 once invoked), scanned A, original, MIT.

A command that summarizes work completed since a chosen checkpoint before you restore the conversation to that point. The result is formatted for copying into the restored session.

In plain words
What is it for?
Use it before a rewind to preserve changes, findings, decisions, and next steps made after the checkpoint.
Why use it?
Restoring an earlier checkpoint normally discards later conversation context, which can make completed work disappear from the agent's memory.

Command

Part of the claude-orchestration plugin — 1 skill, 6 commands, 3 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/bengous/claude-code-plugins/rewind-summary
Clone the repo
git clone --depth 1 https://github.com/bengous/claude-code-plugins

Or install claude-orchestration, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rewind-summary

README.md
[![agentmods](https://agentmods.dev/badge/commands/bengous/claude-code-plugins/rewind-summary.svg)](https://agentmods.dev/commands/bengous/claude-code-plugins/rewind-summary)
Your own site
<a href="https://agentmods.dev/commands/bengous/claude-code-plugins/rewind-summary"><img src="https://agentmods.dev/badge/commands/bengous/claude-code-plugins/rewind-summary.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 786 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00025 $0.00786
Opus 5 $0.00013 $0.00393
Sonnet 5 $0.00005 $0.00157
Haiku 4.5 $0.00003 $0.00079

Measured yesterday against content hash 7db2e1d7038b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rewind-summary scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

orchestration/commands/rewind-summary.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rewind Summary

Produce a compact, copy-ready summary of what was accomplished since a checkpoint, so the user can carry that memory back into the conversation after a native Restore wipes it.

Why this command exists

Native rewind (/rewind, or double-tap Esc on an empty prompt) offers two moves that don't combine:

  • Restore repositions to an earlier checkpoint but discards all memory of the turns after it.
  • Summarize compresses turns in place but never repositions — it leaves you at the end.

Nothing native does both: go back to an earlier point and keep a summary of what happened since. This command fills that gap.

The wrinkle it must respect: the summary you write is the last message — inside the exact span a Restore throws away. It survives only if the user copies it before rewinding, then pastes it back as the opening of the rewound conversation. So the output is built to be copied first.

You cannot perform the rewind yourself — Restore is a manual user action. Your job is to write the note and hand over the steps.

What to write

The user plans to rewind to this checkpoint: "$ARGUMENTS"

Summarize what was accomplished after it — the memory the rewound conversation needs to continue without redoing or relitigating anything.

If "$ARGUMENTS" is empty, summarize the session's accomplishments so far and remind the user to choose the checkpoint they'll Restore to.

Shape (5–10 lines, hard ceiling)

Capture outcomes, not the journey:

  • What was done, fixed, or decided
  • Concrete artifacts: files, functions, or bugs touched; commits (relative paths only)
  • Findings or constraints that would otherwise be lost
  • Test/verification results (pass/fail) if any
  • A final line naming the next step — this orients the rewound conversation

Keep it dense. Leave out code snippets, step-by-step narration, reasoning, and absolute paths. If it reads like a transcript or a diff, it's wrong — it's a briefing, not a replay.

How to present it

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 73 lines · 25 tokens per session scan A 7db2e1d7038b

Subscribe to this mod's changes

rewind-summary is a command published in the GitHub repository bengous/claude-code-plugins (4 stars, last pushed 3d ago), licensed MIT. It adds 25 tokens to every session and 786 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.