claudemods

All Claude Code modsokamyuji/tool-trim-compaction

tool-trim-compaction

A Claude Code mod in okamyuji/tool-trim-compaction

compaction で古いツール呼び出しと結果を消し、発言は原文のまま残す。削減が足りなければ標準の要約に回す

tool-trim-compaction reaches L2 (writes or runs) and passed claude plugin validate with warnings.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsdrives Claude, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
compaction
Hooks
session.compact, turn.complete
API calls
$.session.compact, $.session.usage, $.ui.log, $.ui.toast
Validation
Passed with warnings
Scanned revision
c2cf3d808da1

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

Badge for your README

Reach badge for tool-trim-compaction Validation badge for tool-trim-compaction

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/okamyuji--tool-trim-compaction--tool-trim-compaction-reach.svg)](https://mods.aidojo.si/mods/okamyuji--tool-trim-compaction--tool-trim-compaction/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/okamyuji--tool-trim-compaction--tool-trim-compaction-validates.svg)](https://mods.aidojo.si/mods/okamyuji--tool-trim-compaction--tool-trim-compaction/)