Lossless context management for Claude Code: keep the full history reachable instead of losing it to compaction.
$ claude plugin install lcm --marketplace lossless-claude/lcmReplaces Claude Code's compaction summary: scores every tool call and result, drops or trims stale ones, and keeps the rest verbatim.
Install from your shell (answer y to add the marketplace)
$ claude plugin install fast-jev-compaction --marketplace tamaratran/fast-jev-compactionAlready in a session? Type this at the Claude Code prompt:
$ /plugin install fast-jev-compaction --marketplace tamaratran/fast-jev-compactionPick a scope and the mod is active right away. Needs Claude Code 2.1.287 or later, in a terminal. Full install guide
Read from the mod's code with claude plugin validate on Claude Code 2.1.296, synced Oct 12, 2026. This is a capability list, not a security audit. Mods run with your permissions, so install only from authors you trust.
$ claude plugin uninstall fast-jev-compactionTo switch it off without removing it, use claude plugin disable with the same name.
Lossless context management for Claude Code: keep the full history reachable instead of losing it to compaction.
$ claude plugin install lcm --marketplace lossless-claude/lcmCompacts the conversation at sub-task boundaries instead of waiting for the context limit.
$ claude plugin install taskcut --marketplace wasd96040501/taskcutFinds where your context tokens go, trims the waste, and helps sessions survive compaction without losing quality.
$ claude plugin install token-optimizer --marketplace alexgreensh/token-optimizer