What is collision-guard?
collision-guard is a Claude Code mod by eshin087 that warns when another Claude session on the same repo already edited the file being changed, or claimed the same package version. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | eshin087 |
| Repository | eshin087/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (60/100) |
| Rank | #3,161 of 5,272 Claude Code mods; #358 in Security |
| Last commit | 2026-10-09 |
| Hooks | 4 events |
| Sees | Edit|Write|NotebookEdit calls |
| Draws on | nothing |
Is collision-guard safe to install?
collision-guard scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 4 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.id | |
$.session.repo | |
$.ui.toast | draws interface |
How do I install collision-guard?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/eshin087/claude-code-mods claude plugin validate ./claude-code-mods/collision-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/eshin087/claude-code-mods && claude --plugin-dir ./claude-code-mods/collision-guard
Or ask Claude to set it up
Paste this into Claude Code and it installs collision-guard for you:
Install the "collision-guard" Claude Code mod from https://github.com/eshin087/claude-code-mods/tree/main/collision-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from eshin087/claude-code-mods
This repository has 8 Claude Code mods on MCPMods.
- coach: /coach: live cost, cache, context and subagent stats, SDLC habit checks and architect lessons; one tip after a turn when (Low risk)
- mission-control: Live plan, % done, time left and a one-line 'now' for long tasks, in a pane and on the working row. (Review before installing)
- mod-hub: /mods: every mod in your mods folder, what it does in detail, and an on/off switch for each. (Review before installing)
- next-tasks: After longer turns, suggests 3 next tasks for the project with a Do it button each, and a Dismiss. (High risk)
- pr-desk: /prs: your open PRs across your repos with Vercel preview links, checks, merge state and worktree. (Low risk)
- turn-timer: Saves how long every turn took as a row in the chat, logs every prompt's timing, and adds /timings to look back. (Review before installing)
- usage-meter: Sleek colored 5-hour and weekly usage bars in the footer; warns at 75%/90% and before agent waves when the window is low (Low risk)