collision-guard
by Nate Herk · ★ 0 · updated 26 days ago
Asks before Claude edits a file another open chat changed in the last 30 minutes: Proceed, Move to a worktree, or Cancel (/guard)
Install
/plugin marketplace add meatball-cat/my-mods/plugin install collision-guard@my-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startsession.endprompt.submittool.callcommand.run- API calls
$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.process.run$.session.cwd$.session.id$.session.surfaces$.store.get$.store.set$.ui.ask$.ui.log- Can see
every promptEdit|Write|NotebookEdit calls- Reach
- level 2 of 3 runs processeswrites filesreads filesreads env varspersists 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/meatball-cat/my-mods
- Path in repo
collision-guard- Source commit
bd66b3bthe exact code the scan read- Author
- Nate Herk @meatball-cat
- 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 meatball-cat/my-mods
cache-keeper
meatball-cat/my-mods
Keeps a big chat's prompt cache warm, warns before an expensive cold restart, shows every local chat on one board (/board), and hands a chat off to a fresh one (/handoff)
goal-meter
meatball-cat/my-mods
A progress bar for /goal built from Claude's own task plan: tasks done out of the plan, elapsed time, an ETA at the goal's own pace, and every chat's goal in /goals
jev-router
meatball-cat/my-mods
Jev picks the skill for each prompt (a hint Claude may ignore) and the model for each subagent; on/off buttons above the prompt (/jev, /jev-model)
recording-mode
meatball-cat/my-mods
/rec before you record: masks keys, personal details, and business figures on screen and keeps private files closed (/rec strict, /rec off, /rec config)
savvy-progress
meatball-cat/my-mods
Progress bar above the prompt for /savvy-flow, plus an agents panel (/agents-info): running, finished and planned subagents with model, task progress, context, cost and time.
session-pulse
meatball-cat/my-mods
Every open Claude Code session on one live board: a progress bar per session, a rough time left, click a row to switch to that session, x to hide it (/pulse)
you-should-know
meatball-cat/my-mods
/you-should-know: ask for a You should know summary on demand, shown above the prompt, instead of waiting for the built-in mod's automatic check