mod-events

mod-events is a Claude Code mod by bendrucker that structured event log for mods: `$.modEvents.emit` writes per-session OTel log records as JSONL.

Updated 2026-10-18

What is mod-events?

mod-events is a Claude Code mod by bendrucker that structured event log for mods: `$.modEvents.emit` writes per-session OTel log records as JSONL. It is listed under Interface and has 18 GitHub stars.

TypeClaude code mod
Authorbendrucker
Repositorybendrucker/claude
Popularity18 GitHub stars
CategoryInterface
SecurityReview before installing (60/100)
Rank#345 of 5,272 Claude Code mods; #138 in Interface
LicenseMIT
Last commit2026-10-18
Stars this week+1
Hooks3 events
Seesonly the events it hooks
Draws onnothing

Is mod-events safe to install?

mod-events 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
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.env.getreads env vars
$.fs.writewrites files
$.process.runruns processes
$.session.id
$.session.version
$.ui.logdraws interface

How do I install mod-events?

  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/bendrucker/claude
    claude plugin validate ./claude/plugins/mod-events
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add bendrucker/claude && claude plugin install mod-events@bendrucker

Or ask Claude to set it up

Paste this into Claude Code and it installs mod-events for you:

Install the "mod-events" Claude Code mod from https://github.com/bendrucker/claude/tree/main/plugins/mod-events. Run claude plugin validate on it first and show me what it can access before you enable it.

More from bendrucker/claude

This repository has at least 9 Claude Code mods on MCPMods.

  • auto-mode: Enhancements for Claude Code auto mode (Low risk)
  • github: GitHub workflow, Actions monitoring, and rulesets management (Low risk)
  • gitlab: GitLab workflow best practices and glab CLI usage (Low risk)
  • herdr: Drive the herdr terminal workspace manager: panes, tabs, workspaces, and sibling coding agents (Review before installing)
  • load: Keep Claude-driven browsers and builds from saturating the machine (Low risk)
  • plan: Planning mode guidelines and context injection (Low risk)
  • run-command: Pick a reply's `! ` suggestion by click or digit to fill it into the shell prompt (Low risk)
  • session-limit: Warn the model mid-turn as the 5-hour or 7-day limit nears (Low risk)