output-trimmer

by Plagemes · ★ 8 · updated 15 Oct 2026

Status lineGuardsvalidates

0

Trims huge command outputs to head, tail and error lines before they flood the context.

install output-trimmer

Install

/plugin marketplace add Plagemes/claude-mods
/plugin install output-trimmer@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
tool.callsession.append
API calls
$.state.get$.state.set$.ui.status
Can see
Bash calls
Reach
level 1 of 3 reads 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/Plagemes/claude-mods
Path in repo
mods/output-trimmer
Source commit
e9815ce the 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

pair-mode

Plagemes/claude-mods

Claude proposes, you type: edits become diffs you apply yourself, for deliberate practice.

★ 8BandsGuardsCommands

parallel-explore

Plagemes/claude-mods

/explore sends three subagents to investigate different parts of the codebase and merges their findings.

★ 8PanesGuardsCommands

path-jail

Plagemes/claude-mods

Allows writes only inside the project root, resolving symlinks and .. tricks.

★ 8GuardsCommandsAutomation

permission-log

Plagemes/claude-mods

Keeps a log of every tool call that was denied, and why.

★ 8Status lineGuardsCommands

permission-ping

Plagemes/claude-mods

Pings you with a sound and toast when Claude is waiting on your approval.

★ 8ToastsGuardsAudio

persona-switch

Plagemes/claude-mods

/persona switches Claude between reviewer, architect, teacher and other roles.

★ 8Status lineCommandsPrompt

pii-in-logs

Plagemes/claude-mods

Flags log statements that print emails, passwords, tokens or other personal data.

★ 8ToastsGuards

port-check

Plagemes/claude-mods

Before a dev server starts, tells you if the port is already taken and by which process.

★ 8ToastsGuards

pr-describer

Plagemes/claude-mods

/pr-desc drafts a pull request title and description from your branch diff.

★ 8PanesGuardsCommands

prod-guard

Plagemes/claude-mods

Stops production-affecting commands (terraform apply, kubectl on prod, DROP TABLE) unless explicitly allowed.

★ 8GuardsPromptAutomation

profile-run

Plagemes/claude-mods

/profile runs a command under a profiler and shows the hottest functions.

★ 8PanesCommands

project-brain

Plagemes/claude-mods

A self-organising project memory that learns which decisions, conventions and fixes matter and recalls them like a neural network.

★ 8PanesGuardsCommands

Other mods in Status line, close to this one by stars.