claudemods

All Claude Code modsvampy/claude-last-turn-diff

last-turn-diff

A Claude Code mod in vampy/claude-last-turn-diff

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

review UI rewrite

last-turn-diff reaches L2 (writes or runs) and passed claude plugin validate with warnings.

Install hint

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

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, writes the clipboard, reads files, reads env vars, reads the transcript, reads mod state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
compaction, every tool call, Edit|Write|NotebookEdit calls
Hooks
session.start, config.describe, session.end, session.compact, command.run {command=turn-diff}, turn.start, tool.call, tool.call {tool=Edit|Write|NotebookEdit}, turn.complete, ui.render {component=Pane, requestId=last-turn-diff}, ui.render {component=AbovePrompt}
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
Validation
Passed with warnings
Scanned revision
e8bbdd1b7ed0
Marketplace passed
last-turn-diff
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. hooks/diff.ts:28, hooks/diff.ts:36, hooks/diff.ts:352, hooks/diff.ts:424, hooks/register.tsx:330, hooks/svg.ts:40, hooks/vcs.ts:51, hooks/vcs.ts:58

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for last-turn-diff Validation badge for last-turn-diff

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/vampy--claude-last-turn-diff--last-turn-diff-reach.svg)](https://mods.aidojo.si/mods/vampy--claude-last-turn-diff--last-turn-diff/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/vampy--claude-last-turn-diff--last-turn-diff-validates.svg)](https://mods.aidojo.si/mods/vampy--claude-last-turn-diff--last-turn-diff/)