From mod-events
Structured event log for mods: `$.modEvents.emit` writes per-session OTel log records as JSONL
3 events · 7 calls
Ships in mod-events. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
process.runfs.writeenv.getengine.createEach event it registers a hook on, with the matcher when it sets one
engine.createmodEvents.emitsession.startEvery mods API method its source calls, by namespace
nowgetwriterunidversionlogCLAUDE_CONFIG_DIRHOMESSH_CONNECTIONWhere Claude Code finds the mod
hooks/hooks.jsonmod/register.ts (written ../mod/register.ts)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 bendrucker/claude --plugin mod-events