Rules & settings · davila7

Claude Code setting that turns off idle compaction

An environment setting for Claude Code that disables idle compaction of long terminal conversations.

This text was machine-translated from the publisher's own information and has not been checked by a human editor. The publisher's original text is the reference.

This resource was imported automatically from the sources listed below and has not been reviewed by the AI Gate team yet. The description is the publisher's own, as published. Check the repository before installing.

What it does

By default, Claude Code compacts a terminal conversation longer than 200K tokens (set by CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS) when it has been idle for about 54 minutes, before its one-hour prompt cache expires. This setting turns that behaviour off.

It suits users who would rather pay to reprocess the full conversation on their next message than continue from a summary.

Idle compaction only happens when auto-compact is on and the one-hour cache is in use, so the setting has an effect only under those conditions. It should not be combined with idle-compaction-early.

Limitations and requirements

Requires Claude Code 2.1.290 or later. Idle compaction applies only when auto-compact is on and the one-hour prompt cache is in use. Do not combine with idle-compaction-early.

Safety

Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.

Sources

  • AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 17 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 85
    idle-compaction-off

    Turn off idle compaction (Claude Code 2.1.290+). By default, a terminal conversation over 200K tokens (CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS) that sits idle for about 54 minutes is compacted before its one-hour prompt cache expires; this only happens with auto-compact on and the one-hour cache in use. Use this if you would rather pay to reprocess the full conversation on your next message than continue from a summary. Do not combine with idle-compaction-early.

    As shown on www.aitmpl.com when we last read it
Not reviewedRules & settings
davila7

code-spaceship-statusline by davila7

A space-themed status line that tracks a ship's fuel, warp level, distance and condition as coding activity accumulates.

Software development
Updated 17 Nov 2026
Not reviewedRules & settings
patrickjs

Blender Python Add-ons

A rule file for Blender Python add-on development, published by patrickjs.

Software development
Updated 14 Nov 2026
Not reviewedRules & settings
patrickjs

Toss-Style Design System

A design-system rule resource published by patrickjs, with no further details available in its catalogue record.

Design & media
Updated 14 Nov 2026
Not reviewedRules & settings
patrickjs

Java (Spring Boot, JPA) Cursor Rule

A rule file for the Cursor editor that covers Java development with Spring Boot and JPA.

Software development
Updated 14 Nov 2026