claudemods

All Claude Code modsjoaosavi/cockpit

collision-guard

A Claude Code mod in joaosavi/cockpit

Warns when two Claude Code sessions on this machine edit the same file, and holds a git command once when it would stage, commit, stash or discard another session's uncommitted edits.

collision-guard reaches L2 (writes or runs) and passed claude plugin validate with warnings.

Install hint

/plugin install collision-guard --marketplace joaosavi/cockpit

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, reads files, reads env vars, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call
Hooks
session.start, turn.start, tool.call, session.end
API calls
$.clock.after, $.clock.now, $.env.get, $.fs.list, $.fs.read, $.fs.write, $.process.run, $.session.cwd, $.session.id, $.ui.toast
Validation
Passed with warnings
Scanned revision
8f1af109dc3d
Marketplace passed
cockpit

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from joaosavi/cockpit

Badge for your README

Reach badge for collision-guard Validation badge for collision-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/joaosavi--cockpit--collision-guard-reach.svg)](https://mods.aidojo.si/mods/joaosavi--cockpit--collision-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/joaosavi--cockpit--collision-guard-validates.svg)](https://mods.aidojo.si/mods/joaosavi--cockpit--collision-guard/)