DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to keep every session warm with always mode with Cache Tax

Turn on always mode so each turn leaves at least six hours of warm window across sessions.

Short answer: Install the plugin and confirm the cache lifetime setting as described in the first use case; then in a warm session, run /keepwarm always to keep every session warm until six hours after its last turn; run /keepwarm status in a session to confirm the window and next ping. All steps.

Who it is forA developer who runs several long Claude Code sessions over a workday and does not want to arm keepwarm in each one.

The problemSetting keepwarm by hand in every session is easy to forget, and an unwarmed session costs a full rewrite on the next message after a break.

The outcomeEach session that reaches the cache keeps a warm window of at least six hours from its last turn, and the setting persists across sessions.

What you need first

  • Claude Code 2.1.287 or later
  • A one-hour cache (included subscription usage defaults to one hour; API-key, usage-credit and cloud-provider sessions default to five minutes and need promptCacheTtl set to "1h")
  • Claude Code left running during the break

Steps

  1. Install the plugin and confirm the cache lifetime setting as described in the first use case.
  2. In a warm session, run /keepwarm always to keep every session warm until six hours after its last turn.
  3. Run /keepwarm status in a session to confirm the window and next ping.
  4. When you no longer want warming, run /keepwarm off, which stops every session from its next turn and turns always off.

Prompt for your agent

In the karanb192/cache-tax repo, with the plugin installed, run /keepwarm always in a Claude Code session and then /keepwarm status. Report the warming window and next ping. Verify that the window reaches at least six hours after the last turn.

Caveat. Always mode keeps pinging across sessions, so it spends tokens even on sessions you no longer use, and the README says pings cost tokens including uncapped output.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for karanb192/cache-tax and "Keep every session warm with always mode"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer