Skip to content

claude-idle-compact: Claude Code mod: compacts an idle session shortly before its prompt…

Open-source Claude Code mod by davidar. Its repo describes it as: Claude Code mod: compacts an idle session shortly before its prompt cache expires. Shows what the community built in the first days of mods.

Preview of claude-idle-compact: Claude Code mod: compacts an idle session shortly before its prompt…
See all

Alex Hillman

@alexknowshtml · Oct 3

At a token threshold it has Haiku write a structured handoff brief to disk, runs /clear and seeds the fresh session with a pointer to it, so long jobs keep their thread without lossy compaction.