repo-guard 0.1.0
Blocks destructive git commands and asks before Claude first edits a repo other than the session's own
Install
/plugin marketplace add YuehengHan/my-claude-mods /plugin install repo-guard@my-claude-mods
Run both lines inside Claude Code.
Hooks into
- Tool calls
- Toasts
Also in YuehengHan/my-claude-mods
- where-am-i 0.4.0 A band above the prompt: repo, branch, uncommitted changes and this session's task 0
- done-ping 0.2.0 When a long turn finishes or Claude needs you: a macOS notification with a distinct sound for done, failed and needs-you 0
- claude-pet 0.6.0 A pet in the status line that levels up with your work, gets dizzy on errors, sleeps when you're away, and unlocks achievements 0
- claude-mood 0.3.0 Claude's mood in the status line, from what the turn has read, written and broken 0
- control-tower 0.9.0 /tower: one pane showing every Claude Code session on this machine — which is working, which waits for you, which is done 0
- tldr 0.2.0 A one-line TL;DR under every long answer, written by Haiku, so a session you switch back to reads at a glance 0
- sdk-sync 0.2.0 After an SDK release (v* tag): /release-check gathers what changed and asks Claude for a read-only audit of the sibling SDKs, docs and examples. Never acts while you work. 0
- fortune 0.5.0 Programmer jokes after the working spinner, and a daily fortune (/fortune) — 今日宜重构,忌周五上线 0
More git mods
- git-sidebar 0.1.0 A lazygit-style side pane: every worktree of the repository and its local branches as rows you click. A worktree row moves the session there with /cd; a branch row shows its last commits and offers switch (clean tree only) or open worktree. Docked floor to ceiling beside the transcript in the ful... 34.7k
- diffr 0.1.0 Review diffs with diffr in a pane 3.5k
- time-machine 0.1.8 Agent Time Machine: a branching timeline of tool calls with shadow-git snapshots — inspect, diff, explain test failures, restore, branch, compare, re-run 773
- md-preview 0.1.11 Shows the Markdown files Claude edits, rendered like GitHub, in a pane next to the chat. Before and after side by side. /md opens it. 526
- branch-board 1.0.0 Inspect local branches, upstreams, and dirty files. 128