What is compact-tools?
compact-tools is a Claude Code mod by shou6 that ターミナルでシェルの出力を 1 行に畳み、/compact-tools で全出力表示と切り替える. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | shou6 |
| Repository | shou6/claude-mods |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | Low risk (100/100) |
| Rank | #4,601 of 5,272 Claude Code mods; #427 in Context & memory |
| License | MIT |
| Last commit | 2026-10-16 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | ToolUse, ToolResult |
Is compact-tools safe to install?
compact-tools scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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 no files or config | Pass |
| Doesn't read environment variables | Pass |
| 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 |
|---|---|
$.command.register | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.resolve | draws interface |
How do I install compact-tools?
- 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/shou6/claude-mods claude plugin validate ./claude-mods/compact-tools
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add shou6/claude-mods && claude plugin install compact-tools@shou6-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs compact-tools for you:
Install the "compact-tools" Claude Code mod from https://github.com/shou6/claude-mods/tree/main/compact-tools. Run claude plugin validate on it first and show me what it can access before you enable it.
More from shou6/claude-mods
This repository has 5 Claude Code mods on MCPMods.
- mermaid-view: 返答の mermaid のブロックを、ターミナルの中で色付きの罫線の図として描く (Low risk)
- pr-watch: 自分の PR の状態とレビュー依頼の件数を帯に出し、/prs で一覧を開く (Low risk)
- status-band: プロンプト上の帯に、モデル名とコンテキスト・セッション・週間の使用率をバーで表示する (Low risk)
- work-ledger: ターンごとのトークンとツール呼び出しを JSONL に記録し、/note で作業メモを残す (Review before installing)