Home / Claude Code mods / Interface / session-limit

session-limit

session-limit is a Claude Code mod by bendrucker that warn the model mid-turn as the 5-hour or 7-day limit nears.

Updated 2026-10-18

What is session-limit?

session-limit is a Claude Code mod by bendrucker that warn the model mid-turn as the 5-hour or 7-day limit nears. It is listed under Interface and has 18 GitHub stars.

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

Is session-limit safe to install?

session-limit scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 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 no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
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
$.modEvents.emit
$.session.append
$.state.get
$.state.set
$.ui.logdraws interface

How do I install session-limit?

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

Or ask Claude to set it up

Paste this into Claude Code and it installs session-limit for you:

Install the "session-limit" Claude Code mod from https://github.com/bendrucker/claude/tree/main/plugins/session-limit. 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)
  • mod-events: Structured event log for mods: `$.modEvents.emit` writes per-session OTel log records as JSONL (Review before installing)
  • 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)