Claude Code mod

lcm

Lossless context management — DAG-based summarization that preserves every message

60 starsContext & usage modsValidates on Claude Code 2.1.316 Source

Install

From source
git clone https://github.com/lossless-claude/lcm.git
claude --plugin-dir ./lcm/.

The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.

What it can access

Reach
L3Network: network, runs processes, writes files, drives Claude, reads env vars, draws
Sees
classic hooks, the system prompt, every prompt, every tool call, compaction
Hooks
session.startclassic.SessionStartclassic.UserPromptSubmitclassic.PostToolUseclassic.PostToolUseFailureclassic.Stopsession.endprompt.contextprompt.sectionprompt.submitturn.completetool.callsession.appendsession.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.
Claude Code docs

Details

Folder
.
Author
Pedro Almeida
License
MIT
Last updated
25 October 2026

FAQ

What is lcm?

Lossless context management — DAG-based summarization that preserves every message It is a mod for Claude Code, from lossless-claude/lcm on GitHub.

What can the lcm mod access?

Its widest reach is "network" (network, runs processes, writes files, drives Claude, reads env vars, draws). It sees classic hooks, the system prompt, every prompt, every tool call, compaction. Like any mod, it runs with your permissions.

How do I install lcm?

Clone lossless-claude/lcm and start Claude Code with --plugin-dir pointing at the mod's folder (.).

Is lcm popular?

lossless-claude/lcm has 60 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 25 October 2026.

More context & usage mods

goal-meter

68

nateherkai/claude-code-mods

A progress bar for /goal built from Claude's own task plan: tasks done out of the plan, elapsed time, an ETA at the goal's own pace, and every chat's goal in /goals

Context & usage mods/plugin install

project-sentinel

57

Arjun0014/project-sentinel

Project Sentinel keeps long Claude Code runs on track: a status bar, the Control Room panel, Context Autopilot (automatic handoff to a fresh context), Cache Guardian (the prompt cache in view, kept warm on request), Operations (work queued for later, decisions Claude leaves for you, watchers that wake a parked run, a Cold Resume Guard), permission categories that ask or deny, a run chain, Frontier Max, a lazy-exit guard, a model router, subagent limits, Focus view, machine load and Kit, an optional pixel companion.

Context & usage mods/plugin install

cache-keeper

68

nateherkai/claude-code-mods

Keeps a big chat's prompt cache warm, warns before an expensive cold restart, shows every local chat on one board (/board), and hands a chat off to a fresh one (/handoff)

Context & usage mods/plugin install

token-weather-usage

23

augiefra/claude-mods

One line above the prompt: context tokens with their weather, a bar per recent prompt, your 5-hour and 7-day limits against the time elapsed, the prompt cache with its time left, the session cost with the last prompt's share in dollars and in points of the 5-hour limit, and the subagents running. Labels in English, French or Russian. After Token Weather (Anthropic, Apache-2.0) and the ideas of usage-meter (HolyGrail) and prompt-cache-control (Daniel San).

Context & usage mods/plugin install

archcore

73

archcore-ai/archcore

Spec-driven development and context engineering for AI coding agents, backed by project context in Git.

Context & usage mods/plugin install

lemo-meter

54

lemomo-ai/lemo-mod

用量横条:输入框上方显示上下文、5 小时额度、花费和 git 分支;状态栏显示消息编号(已有自己的状态栏时默认关闭);点「检查」才联网查新版本 / Usage meter: context, 5-hour quota, cost and git branch above the prompt; a status line with the message number (off by default if you have your own); checks for updates online only when you press Check

Context & usage mods/plugin install

Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.