What is output-trimmer?
output-trimmer is a Claude Code mod by noash-xrc that trims long Bash output to its start, end and error lines, and saves the full output to a file. It is listed under Interface and has 3 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | noash-xrc |
| Repository | noash-xrc/claude-tools |
| Popularity | 3 GitHub stars |
| Category | Interface |
| Security | Review before installing (76/100) |
| Rank | #846 of 5,272 Claude Code mods; #309 in Interface |
| License | MIT |
| Last commit | 2026-10-11 |
| Hooks | 1 events |
| Sees | Bash calls |
| Draws on | nothing |
Is output-trimmer safe to install?
output-trimmer scores 76/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables. It passed 6 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 no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| 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 |
$.state.get | |
$.state.set |
How do I install output-trimmer?
- 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/noash-xrc/claude-tools claude plugin validate ./claude-tools/output-trimmer
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add noash-xrc/claude-tools && claude plugin install output-trimmer@noash-tools
Or ask Claude to set it up
Paste this into Claude Code and it installs output-trimmer for you:
Install the "output-trimmer" Claude Code mod from https://github.com/noash-xrc/claude-tools/tree/main/output-trimmer. Run claude plugin validate on it first and show me what it can access before you enable it.
More from noash-xrc/claude-tools
This repository has 8 Claude Code mods on MCPMods.
- auto-effort: Picks low, medium or high effort for each prompt, keeping the prompt cache warm (Low risk)
- context-meter: Band above the prompt with model, effort, context fill, rate-limit windows and session cost, cache state (Review before installing)
- idle-compact: Compacts an idle session with a large context just before its prompt cache expires, while the summary still reads from c (Review before installing)
- project-memory: A repo's memory/ folder, shared through git: a Haiku agent reads it and returns only what the task needs, another one co (Low risk)
- reminders: Claude records unfinished work in Docs/todos.md; /todos shows the open list. (Review before installing)
- savings-meter: Keeps a ledger of what output-trimmer, subagent-router and auto-effort save, shown by /savings (Low risk)
- subagent-router: Runs search subagents on Haiku and general-purpose ones on Sonnet, and /orchestrate splits a big task across scout, work (Low risk)