output-flood
Reviewed
at commit 0e4c0dd
New version, not yet reviewed
Measures how much context each Bash command spent and tells the model, past a size limit, which narrower command would have answered the same question.
0 upvotes
Log in to upvote or save- Made by
- Kerem Gok
- Pinned commit
-
0e4c0dd09165cae2933d79eda6069c6df477137f - What we checked
-
Measures the size of each Bash result after a batch of tool calls. When one passes a limit (20 KB by default, set with /output-flood limit), it tells Claude how much context it used and which narrower command to run next time, and shows you a line in the sidebar or transcript. It reads only the output sizes and the command text, makes no network calls and stores its on/off setting and the limit.
Review details
Static review of the source at the pinned commit; not run. Hooks: session.start (registers /output-flood), command.run for /output-flood (status, on, off, limit <kb> from 1 to 1000), classic.PostToolBatch (measures the stdout and stderr length of Bash calls and returns a note in additionalContext for results over the limit, once per distinct command). Runtime calls: $.store.get and set (enabled, limit), $.sidebar.set (falls back to $.ui.log when the sidebar mod is missing), $.command.register. The note to the model contains a shortened command (60 characters) and a canned piece of advice chosen by regex on the command; it does not contain the output. No network, no file access, no process execution, no obfuscation. Not reviewed: eslint.config.js and Makefile in the clone, which are dev tooling and not loaded by the hooks.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/output-flood/)