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.
| Type | Claude code mod |
|---|---|
| Author | bendrucker |
| Repository | bendrucker/claude |
| Popularity | 18 GitHub stars |
| Category | Interface |
| Security | Review before installing (60/100) |
| Rank | #345 of 5,272 Claude Code mods; #138 in Interface |
| License | MIT |
| Last commit | 2026-10-18 |
| Stars this week | +1 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | nothing |
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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.env.get | reads env vars |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.id | |
$.session.version | |
$.ui.log | draws interface |
How do I install mod-events?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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
- 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)