One short Python line: the model, then context, five-hour and seven-day usage, each as a percentage with a dot that shifts from green to red as it fills. No dependencies, no network calls.

Before you install

  • This version was reviewed before it was listed on Oct 18, 2026
  • Doesn't ask to connect to the internet
  • Needs only python3; it imports json, sys and re from the standard library.
  • The readings are percentages only, with no reset times or token counts.
Not showing after you paste? Fix it

Preview

Clean repo
Opus 4.8 · ctx ● 22% · 5h ● 26% · 7d ● 7%
New session
Opus 4.8
Dirty branch
Sonnet 4.6 · ctx ● 48% · 5h ● 40% · 7d ● 18%
Near-full
Opus 4.8 · ctx ● 91% · 5h ● 88% · 7d ● 61%
1M context
Fable 5 · ctx ● 64% · 5h ● 33% · 7d ● 80%
Post-compact
Haiku 4.5 · 5h ● 52%
Worktree
Opus 4.8 · ctx ● 37% · 5h ● 44% · 7d ● 20%
Non-git
Opus 4.8 · ctx ● 22%

In Claude Desktop

Heat Dot Line in Claude Desktop

Recorded with statusline-anywhere.

What it does

A short line with the model name, then context, five-hour and seven-day usage, each a percentage next to a dot that runs from green to red as it fills.

Written in
Python
Network access
None requested
Works in
Terminal

How it works

  1. Reads the model name, context_window.used_percentage and both rate limit windows.
  2. Colors each dot on a gradient: green at 0%, amber near 50% and red at 100%.
  3. Shortens a model name ending in (1M context) to a dim [1M] tag.
  4. Leaves out any reading Claude Code doesn't send, so a new session shows only the model.

Source

#!/usr/bin/env python3
"""Pattern 1: Minimal dots - colored circles with numbers only"""
import json, sys

data = json.load(sys.stdin)

R = '\033[0m'
DIM = '\033[2m'
BOLD = '\033[1m'

def gradient(pct):
    if pct < 50:
        r = int(pct * 5.1)
        return f'\033[38;2;{r};200;80m'
    else:
        g = int(200 - (pct - 50) * 4)
        return f'\033[38;2;255;{max(g, 0)};60m'

def dot(pct):
    p = round(pct)
    return f'{gradient(pct)}●{R} {BOLD}{p}%{R}'

model_raw = data.get('model', {}).get('display_name', 'Claude')

# コンテキストサイズ情報を短縮表示(例: "<モデル名> (1M context)" → "<モデル名> [1M]")
import re
ctx_match = re.search(r'\((?:with )?(\d+\w?)\s*context\)', model_raw)
if ctx_match:
    model_name = re.sub(r'\s*\((?:with )?\d+\w?\s*context\)', '', model_raw)
    model = f'{model_name} {DIM}[{ctx_match.group(1)}]{R}'
else:
    model = model_raw

parts = [f'{BOLD}{model}{R}']

ctx = data.get('context_window', {}).get('used_percentage')
if ctx is not None:
    parts.append(f'ctx {dot(ctx)}')

five = data.get('rate_limits', {}).get('five_hour', {}).get('used_percentage')
if five is not None:
    parts.append(f'5h {dot(five)}')

week = data.get('rate_limits', {}).get('seven_day', {}).get('used_percentage')
if week is not None:
    parts.append(f'7d {dot(week)}')

print(f'  {DIM}·{R}  '.join(parts), end='')

Badge for your README

Own this listing? Add it to your README. The badge shows the install count as it grows.

Reviewed on statuslin.es
[![Reviewed on statuslin.es](https://statuslin.es/badge/c/heat-dot-line-101f2040.svg)](https://statuslin.es/c/heat-dot-line-101f2040?utm_source=readme-badge)

Or show the preview card:

Preview on statuslin.es
[![Preview on statuslin.es](https://statuslin.es/og/c/heat-dot-line-101f2040.png)](https://statuslin.es/c/heat-dot-line-101f2040?utm_source=readme-badge)

More status lines

  • 83 installs
████▊░░░░░░░░░░░░░░░░░ 22% of 200K · GOOD │ ↓ 44.0K ↑ 1.4K │ $0.41 │ ⏱ 10m 12s │ +128/-34 │ 5h 26% ↻2h06m │ 7d 7% ↻2d0h │ ◆ Opus 5.5 · main · 03:53
  • 5 installs
✳ Usage 5h 26% · week 7% · fable 15%
  • 4 installs
◆ Opus 4.8 ▏ ctx ▓▓░░░░░░░░ 22% ▏ high ▏ 10m main ▏ week ▓░░░░░░░░░ 7% ▏ 2d0h ▏ $0.41 ▏ +128/-34
◆ Opus 4.8 │ app/main ▰▰▰▰▱ 78% │ ↑44k ↓1.4k │ 5h: -- │ 7d: -- │ 10m12s
[Opus 4.8] ctx 22% · 5h ▓▓░░░░░░ 26% on track · resets in 2h06m · 7d ▓░░░░░░░ 7% on track · resets in 2d0h
Opus 4.8 · app · ▕███░░░░░░░░░▏ 44k · 4.4k/turn · 5h 26% · 7d 7%

Related mods

Token Weather Usage in Claude Desktop

One line above the prompt: context tokens with their weather, a bar per recent prompt, your 5-hour and 7-day limits against the time elapsed, the prompt cache with its time left, the session cost with the last prompt's share in dollars and in points of the 5-hour limit, the subagents running, and a one-click pill for the GOs Claude proposes. Labels in English, French or Russian. After Token Weather (Anthropic, Apache-2.0) and the ideas of usage-meter (HolyGrail) and prompt-cache-control (Daniel San).

⏵⏵ auto mode on · ← for agents 5h ━━━─────── 26% ↻ 2h 7m

Your subscription usage at the bottom right of Claude Code: the 5-hour and weekly windows, taking turns, side by side or fixed on one of them.

Deck in Claude Desktop

A cockpit for Claude Code: plan bars and subagent strips, context, usage limits with reset countdowns and burn rates, spend, the model route and a pet. Six bar styles, three collapsed looks. CLI and Desktop.

Flightdeck in Claude Desktop

Flightdeck: a live agent dashboard for Claude Code. Main model vitals, an on-call architect, every permission check, subagent cards and swimlanes, a turn receipt and a session log, all from real session events