last-turn-diff

by Daniel Butum · ★ 2 · updated 10 days ago

PanesBandsGuardsCommandswarnings

0

Shows every file Claude changed in the last turn as one diff pane (/turn-diff), with a summary band above the prompt.

install last-turn-diff

Install

/plugin marketplace add vampy/claude-last-turn-diff
/plugin install last-turn-diff@last-turn-diff

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startconfig.describesession.endsession.compactcommand.runturn.starttool.callturn.completeui.render
API calls
$.clock.now$.clock.sleep$.command.register$.env.get$.fs.exists$.fs.read$.fs.stat$.fs.write$.process.run$.session.cwd$.session.id$.session.messages$.state.get$.state.set$.ui.close$.ui.copy$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve$.ui.scroll$.ui.toast
Draws
PaneAbovePrompt
Can see
compactionevery tool callEdit|Write|NotebookEdit calls
Reach
level 2 of 3 runs processeswrites fileswrites the clipboardreads filesreads env varsreads the transcriptreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/vampy/claude-last-turn-diff
Path in repo
repository root
Source commit
e8bbdd1 the exact code the scan read
Author
Daniel Butum @vampy
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.