Claude Code mod
compaction-trigger
Requests a session compaction when the live context passes a token threshold, so verbatim compaction plugins run near the working ceiling instead of at the model window.
Install
/plugin marketplace add darkroomengineering/cc-settings
/plugin install compaction-trigger@cc-settingsMods 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, reads settings, draws
- Hooks
ui.logturn.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
- darkroomengineering/cc-settings
- Folder
plugins/compaction-trigger- Marketplace
cc-settings- Author
- Darkroom Engineering
- License
- MIT
- Last updated
- 30 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is compaction-trigger?
Requests a session compaction when the live context passes a token threshold, so verbatim compaction plugins run near the working ceiling instead of at the model window. It is a mod for Claude Code, from darkroomengineering/cc-settings on GitHub.
What can the compaction-trigger mod access?
Its widest reach is "writes or runs" (sets env vars, drives Claude, reads env vars, reads settings, draws). Like any mod, it runs with your permissions.
How do I install compaction-trigger?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add darkroomengineering/cc-settings and then /plugin install compaction-trigger@cc-settings.
Is compaction-trigger popular?
darkroomengineering/cc-settings has 52 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 30 October 2026.
More context & usage mods
usage-band
3yash-gadodia/claude-mods
A line above the prompt with the five-hour and seven-day limit windows, this session's context fill and cost, plus a nudge to clear when the window gets expensive. The footer shows the cost in Singapore dollars.
agent-ClaudeRouter
2visualife/ClaudeRouter
Picks the model and effort per request, and shows a live band above the prompt: routing, running agents, skills, MCP, context and plan usage, plus a /ClaudeRouter pane
usage-band
3kimura-0314/claude-mod-usage-band
入力欄の上に使用量メーター(ctx・5h・7d・モデル別の週枠)と effort の切り替えを出す
agent-fleet
2VladLeus/claude-mods
Dashboard of running Claude sessions: context, active/idle, subagents, workflows and who messages whom
ultracompress
3michael-berardi/ultracompress
Deterministic local compaction for Claude Code: replaces the stock compaction summarizer with the local UltraCompress binary (no model call, no API cost per compaction) and serves a recall tool over the raw session transcript.
agent-mailbox
2charanjit-singh/ClaudeVsCodeMinimal
Mailboxes for Claude sessions: names, cross-profile messages that wake idle sessions, and a band with your account, context, and plan limits.
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.