UsageAppears in · Status lineAdded

Context Bar

A footer with model, effort, context fill and cache countdown; one-click compact/clear.

Context Bar · Effect preview · IllustrationIllustrative
> Add pagination to the order list
⏺ I’ll look at the list component first.
❯
❯
? for shortcuts ◆ Opus 5.5 (1M) ▆ high
Context ███░░░░░ 34% Cache 99% ~58m ⇊ ⇊ ⌫
(illustrative)

Illustration. Actual results depend on the mod, terminal and environment.

Install

/plugin marketplace add ziedgithub/claude-code-mods
/plugin install context-bar@zied-mods
/reload-plugins

Run these commands one at a time in a Claude Code session.

What it accesses

Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.

Reads

Yes

Reads session model, effort, usage and context estimates, cache settings, and the subagent list.

Writes files

Yes

Remembers your account's cache duration in plugin storage across sessions.

Runs commands

Yes

On click it runs /model or /effort, and /compact or /clear after you confirm.

Network

Unspecified

Introduction

Context Bar is a Claude Code mod that draws a footer in the slot right of the hint line under the prompt. It shows how much of the last prompt the cache served and roughly when it expires (99% ~58m, then cold), learning whether your account caches for 5 minutes or an hour and remembering it between sessions; with warm-compact installed it uses that mod's duration and marks a pending compaction (⇊) or keep-warm renewal (♨). It shows the model and effort, colored by family and level; click either to pick another and it runs /model or /effort for you. A context bar (green, orange, red) updates after every step, with an early ~ estimate after large reads and a hover breakdown matching /context. Compact ⇊ and clear ⌫ ask first and time out after five seconds. Opening a subagent transcript switches the footer to that agent, read-only. Needs Claude Code 2.1.296+ (author-tested on 2.1.296 and 2.1.302). In Desktop it shows a single line of context and cache. Scores are documentation-calibrated, not tested by us; the preview is illustrative.

Who it is for

  • People who want context fill and cache expiry always in view
  • People who switch model or effort often

Requirements

  • Claude Code ≥ 2.1.296
  • In Desktop it shows a single line of context and cache.
  • With warm-compact installed it shows that mod's compact or renew plan.