---
title: "context-bar"
url: "https://claudemods.dev/en/builds/context-bar-2503f5"
source: "https://github.com/ziedgithub/claude-code-mods/tree/main/context-bar"
source_type: "github"
repo: "https://github.com/ziedgithub/claude-code-mods/tree/main/context-bar"
author: "ziedgithub"
author_handle: "ziedgithub"
stars: 0
category: "Dashboards & HUD"
categories: ["hud"]
tags: ["cache", "claude-code", "context-window", "footer", "hud", "plugin", "statusline"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add ziedgithub/claude-code-mods\nclaude plugin install context-bar@zied-mods"
added: "2026-10-05T01:48:28.099Z"
updated: "2026-11-19T00:25:59Z"
locale: "en"
content_locale: "en"
---

# context-bar

A footer for Claude Code. In the slot right of the hint line under the prompt, it shows:

## Description

# context-bar

A footer for Claude Code. In the slot right of the hint line under the prompt, it shows:

![context-bar, a rendered preview](../docs/context-bar.png)

- **Cache**: how much of the last prompt the cache served, and roughly how long until it expires: `99% ~58m`, then `cold` once it has lapsed or after a compaction.
  - Whether your account caches for 5 minutes or an hour is worked out from the requests themselves, and remembered between sessions.
- **Model and effort**: `◆ Opus 5.5 (1M)  ▆ high`, colored by model family and by effort level. Click either one to get a row of chips and pick another. This runs `/model` or `/effort` for you.
- **Context**: how full the context window is, in a bar that is green under 30%, orange under 60% and red after that.
  - After a compaction or a `/clear`, and in a fresh session, Claude Code has no measured figure until the next response. Meanwhile the bar shows Claude Code's own local estimate (the one `/context` makes), marked with `~`.
- **Compact `⇊` and clear `⌫`**: one click asks first (`clear context? yes no`). The question goes away by itself after five seconds, so a stray click does nothing.

On a narrow terminal the labels shorten, and when one row can't hold everything the blocks stack.

What other mods put in the same slot, such as [warm-compact](../warm-compact/)'s on/off chip, goes at the right end of the row, along with the engine's own mode labels.

## Install

```sh
claude plugin marketplace add ziedgithub/claude-code-mods && claude plugin install context-bar@zied-mods
```

Then restart Claude Code.

See the [repository README](../README.md) for running it from a clone.

## Install

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

## Original README

# context-bar

A footer for Claude Code. In the slot right of the hint line under the prompt, it shows:

![context-bar, a rendered preview](../docs/context-bar.png)

- **Cache**: how much of the last prompt the cache served, and roughly how long until it expires: `99% ~58m`, then `cold` once it has lapsed or after a compaction.
  - Whether your account caches for 5 minutes or an hour is worked out from the requests themselves, and remembered between sessions.
- **Model and effort**: `◆ Opus 5.5 (1M)  ▆ high`, colored by model family and by effort level. Click either one to get a row of chips and pick another. This runs `/model` or `/effort` for you.
- **Context**: how full the context window is, in a bar that is green under 30%, orange under 60% and red after that.
  - After a compaction or a `/clear`, and in a fresh session, Claude Code has no measured figure until the next response. Meanwhile the bar shows Claude Code's own local estimate (the one `/context` makes), marked with `~`.
- **Compact `⇊` and clear `⌫`**: one click asks first (`clear context? yes no`). The question goes away by itself after five seconds, so a stray click does nothing.

On a narrow terminal the labels shorten, and when one row can't hold everything the blocks stack.

What other mods put in the same slot, such as [warm-compact](../warm-compact/)'s on/off chip, goes at the right end of the row, along with the engine's own mode labels.

## Install

```sh
claude plugin marketplace add ziedgithub/claude-code-mods && claude plugin install context-bar@zied-mods
```

Then restart Claude Code.

See the [repository README](../README.md) for running it from a clone.
