git-diff-timeline

by liawzishen · ★ 0 · updated yesterday

PanesBandsGuardsCommandsPromptwarnings

0

Git Diff timeline above the prompt: click a commit to see it, click two to compare them, with their commit messages; a Branches tab compares two branches; a GitHub-style files view shows each file's diff. Works with any git remote.

install git-diff-timeline

Install

git clone https://github.com/liawzishen/claude-code-mods
claude --plugin-dir ./claude-code-mods/git-diff-timeline

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.startcommand.runprompt.submitturn.completetool.callui.render
API calls
$.clock.after$.command.register$.process.run$.session.cwd$.state.get$.state.set$.ui.close$.ui.open$.ui.panes$.ui.resolve
Draws
AbovePromptPane
Can see
every promptevery tool call
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/liawzishen/claude-code-mods
Path in repo
git-diff-timeline
Author
@liawzishen
License
No license declared — ask the author before reusing code.
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.

More from liawzishen/claude-code-mods

session-status

liawzishen/claude-code-mods

Status line showing session time, prompts, and tool calls.

★ 0Status lineGuardsPrompt