Claude Code mod
compact-shaper
Summarizes compactions as a handoff, and cuts re-readable tool output instead on /compact prune
Install
git clone https://github.com/MichaelP17/claude-mods.git
claude --plugin-dir ./claude-mods/compact-shaperThe repo has no marketplace file, so load the plugin folder directly with --plugin-dir.
What it can access
- Reach
- L1Reads: reads the transcript, draws
- Sees
- compaction
- Hooks
session.startcommand.runsession.compact
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- MichaelP17/claude-mods
- Folder
compact-shaper- Author
- Michael Prömpler
- License
- MIT
- Last updated
- 16 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is compact-shaper?
Summarizes compactions as a handoff, and cuts re-readable tool output instead on /compact prune It is a mod for Claude Code, from MichaelP17/claude-mods on GitHub.
What can the compact-shaper mod access?
Its widest reach is "reads" (reads the transcript, draws). It sees compaction. Like any mod, it runs with your permissions.
How do I install compact-shaper?
Clone MichaelP17/claude-mods and start Claude Code with --plugin-dir pointing at the mod's folder (compact-shaper).
Is compact-shaper popular?
MichaelP17/claude-mods has 2 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 16 October 2026.
More memory & instructions mods
handoff-notes
109whyashthakker/awesome-claude-code-mods
Keep a dated list of progress and next steps, then copy it.
rebound
2mako-code/gobworks
Sharper retries after a failed turn: when checks still fail, Claude gives up, errors loop, or you say "that didn't work", haiku drafts a retry with the lesson, a different approach and the exact failing output. One click sends it.
stance
pourya7/claude-code-mods
Session modes that are enforced, not requested: investigate, draft, build, ship. Denies the tool calls a stance rules out, auto-switches on phrases like "no code", and shows a pixel-art class badge above the prompt.
java-rules
1MatheusChiodi/cockpit
In Java projects, keeps Claude on constructor injection, try-with-resources, no swallowed exceptions and the declared Java version
session-journal
Alyan-khattak/Claude-Code-Mods
Writes a markdown log of every prompt, changed file and command to .claude/journal, with a /standup summary.
pairs
1MDmubarak786/claude-mods
Memory pairs in a pane. Sixteen face-down cards, eight matching pairs; press a card's letter to turn it, find its twin, finish in as few turns and as little time as you can. Best of each kept. Zero tokens.
Browse the most popular Claude Code mods, all memory & instructions mods, or the skills and MCP server directories.