Claude Code mod
better-compaction
Compaction that waits for the model's turn to end, and summarizes at its own effort level.
Install
/plugin marketplace add spiiritual/claude-code-stuff
/plugin install better-compaction@claude-code-stuffMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: sets env vars, drives Claude, reads env vars, draws
- Sees
- classic hooks, compaction
- Hooks
classic.PreCompactclassic.PostCompactsession.compactturn.stepturn.complete
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
- spiiritual/claude-code-stuff
- Folder
plugins/better-compaction- Marketplace
claude-code-stuff- Author
- spiiritual
- Type
- Workflow mods
- License
- MIT-0
- Last updated
- 28 September 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is better-compaction?
Compaction that waits for the model's turn to end, and summarizes at its own effort level. It is a mod for Claude Code, from spiiritual/claude-code-stuff on GitHub.
What can the better-compaction mod access?
Its widest reach is "writes or runs" (sets env vars, drives Claude, reads env vars, draws). It sees classic hooks, compaction. Like any mod, it runs with your permissions.
How do I install better-compaction?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add spiiritual/claude-code-stuff and then /plugin install better-compaction@claude-code-stuff.
More workflow mods
bang
drnic/claude-mods
Run ! shell commands sent from Remote Control, and /run the last ! command Claude suggested
bismillah
kavunkarpuz-debug/miscic
Kullanıcının her prompt'una verilen cevabı ayarlanabilir bir açılış satırıyla başlatır (varsayılan: Bismillahirrahmanirrahim)
away-keep-running
iosifnicolae2/claude-away-keep-running
/away turns your Mac's screens off while the Mac stays awake, so Claude Code keeps working while you're gone. Move the mouse or press a key to come back.
browser-boost
Rukono/browser-boost
Makes Claude drive browsers faster: a browsing playbook, smaller default screenshots, and nudges to batch actions.
auto-session-title
fernandokobayashi-telus/claude-mods
Titles the session after a few prompts and refreshes it as the work drifts; /done and /undone add or remove a checkmark in front of the title.
calm
joshhornby/dotfiles
Hide tool noise and show one live status line while Claude works. Needs CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1.
Browse the most popular Claude Code mods, all workflow mods, or the skills and MCP server directories.