Home / Claude Code mods / Security / collision-guard

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.

Updated 2026-10-09

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.

TypeClaude code mod
Authoreshin087
Repositoryeshin087/claude-code-mods
Popularityno public popularity data yet
CategorySecurity
SecurityReview before installing (60/100)
Rank#3,161 of 5,272 Claude Code mods; #358 in Security
Last commit2026-10-09
Hooks4 events
SeesEdit|Write|NotebookEdit calls
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.session.id
$.session.repo
$.ui.toastdraws interface

How do I install collision-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)