edit-limit
by Plagemes · ★ 8 · updated 15 Oct 2026
Asks for confirmation when a single turn tries to modify more than N files.
Install
/plugin marketplace add Plagemes/claude-mods/plugin install edit-limit@claude-modsThen 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.runprompt.submitturn.starttool.call- API calls
$.clock.after$.command.register$.fs.read$.mods.hello$.mods.mode$.mods.notify$.mods.publish$.mods.registerTab$.state.get$.state.set$.ui.log$.ui.toast- Can see
every prompt/"^(?:Edit|MultiEdit|Write|NotebookEdit)$"/ calls- Reach
- level 1 of 3 reads filesreads mod statedrawsother: $.mods.helloother: $.mods.modeother: $.mods.notifyother: $.mods.publishother: $.mods.registerTab
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Plagemes/claude-mods
- Path in repo
mods/edit-limit- Source commit
e9815cethe exact code the scan read- Author
- @Plagemes
- 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.
More from Plagemes/claude-mods
email-digest
Plagemes/claude-mods
Daily or weekly email summaries in plain language for clients and managers who don't live in chat.
env-example-sync
Plagemes/claude-mods
Keeps .env.example in sync with the environment variables your code actually reads.
env-guard
Plagemes/claude-mods
Protects .env files, SSH keys and credential stores from being read or modified.
error-buzz
Plagemes/claude-mods
A short buzz when a command or test run fails.
error-feed
Plagemes/claude-mods
Collects every failed command and tool error in one pane.
explain-diff
Plagemes/claude-mods
/explain-diff explains in plain words what changed in the last turn and why.
explain-level
Plagemes/claude-mods
/eli5, /normal and /expert set how deep Claude's explanations go.
file-size-watch
Plagemes/claude-mods
Warns when an edited file grows past a size that hurts readability.
files-touched
Plagemes/claude-mods
A pane of every file read, edited or created in the session, with counts.
fixture-factory
Plagemes/claude-mods
/fixtures generates realistic test data that matches your schema or types.
flaky-detector
Plagemes/claude-mods
Detects tests that pass and fail at random and keeps a list of the suspects.
focus-timer
Plagemes/claude-mods
A Pomodoro timer in the status line with focus and break cycles.
Related mods
Other mods in Toasts, close to this one by stars.