From collision-guard
Stops two Claude chats from overwriting each other's files: shared, self-expiring file claims across sessions, with worktree and team-board suggestions
5 events · 14 calls
Ships in collision-guard. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runfs.writefs.readfs.statenv.getEach event it registers a hook on, with the matcher when it sets one
session.startsession.endcommand.run{command=collision-guard}ui.render{component=Pane, requestId=collision-guard}tool.call{tool=Write}tool.call{tool=Edit}tool.call{tool=NotebookEdit}Every mods API method its source calls, by namespace
everynowregistergetreadstatwriterunidgetsetopenresolvetoastHOMEMOAA_COLLISION_GUARDMOAA_METERSUSERPROFILEWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub ahmadhammoud56/moaa --plugin collision-guard