limit-guard
by egoricon · ★ 1 · updated 19 Oct 2026
0
Stops long autonomous Claude Code tasks at a 5-hour usage threshold you pick — per chat, zero tokens spent on checks
Install
/plugin marketplace add egoricon/claude-limit-guard/plugin install limit-guard@claude-limit-guardThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runturn.startturn.completesession.measuretool.callprompt.submitui.render- API calls
$.command.register$.session.append$.state.get$.state.set$.turn.abort$.ui.resolve$.ui.toast- Draws
SessionModeAbovePrompt- Can see
every tool callevery prompt- Reach
- level 2 of 3 drives Claudereads mod statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/egoricon/claude-limit-guard
- Path in repo
- repository root
- Source commit
eeafad9the exact code the scan read- Author
- @egoricon
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.