claudeers.
// Developer Tools

ConTeX

20 context-window meters for the Claude Code statusline. Clone, pick a bar, vibe.

// Developer Tools[ cli ][ api ][ claude ]#claude#ansi#claude-code#statusline#terminal#devtoolsMIT$open-sourceupdated 9 days ago

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up ConTeX (git-clone project) into my current project.
Found on https://claudeers.com/contex
Repo: https://github.com/JustinGamer191/ConTeX
Homepage/docs: —
Detected install method: git-clone → git clone https://github.com/JustinGamer191/ConTeX
Category: devtools. Platforms: cli, api.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
unknown; community-verified: false. Confirm the source before running anything.
// or clone
git clone https://github.com/JustinGamer191/ConTeX

// compatibility

Platformscli, api
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageJavaScript

ConTeX ✦

25 context-window meters for the Claude Code statusline. Clone, pick a bar, vibe. macOS and Windows.

Your context window is the fuel gauge of a Claude Code session — this repo replaces the boring readout with a bar you actually want to look at: a comet burning across the line, a constellation going dark star by star, a Zelda heart meter, digital rain, a fuse running out.

All 20 ConTeX bars rendered in color

(Rendered by the actual design code — regenerate with node scripts/generate-preview.js. Every design also has a separate light-terminal palette.)

Install

git clone https://github.com/JustinGamer191/ConTeX.git
cd ConTeX
node install.js

The picker previews every bar live in your terminal, in real color, on your actual background — at 35% and 85% used — then you pick a number. It wires the statusline into ~/.claude/settings.json (backing up whatever statusline you had, restorable later) and stores your choice in ~/.claude/context-bar.json.

Switch designs anytime by running node install.js again. No restart needed — the statusline picks up the change on its next render.

Requires Node 18+ and Claude Code. No dependencies.

The bars

#DesignVibe
1CometOne star travels the session; its wake cools into stardust
2ConstellationStars ignite one by one, each brighter than the last
3Constellation (draining)A full sky goes dark as context burns — count your stars
4Heart MeterTen Zelda hearts drain right-to-left — finish the fight
5VU MeterAudio LEDs climbing green through amber into the red
6SynthwaveNeon cells sweeping cyan → magenta
7Moon CycleFive moons waxing through real phases 🌒🌓🌔
8Thin LineA quiet hairline for people who want the bar to whisper
9Heat OrbsThermal dots, cold blue → molten red
10Braille FlowSub-segment precision fill — 46% looks different from 43%
11AuroraA wave lighting up in northern-lights colors
12Diamond DustDiamonds crystallizing ice-blue → white
13SignalPhone bars for remaining context; 5 chars wide
14FuseAsh behind, a spark ✶ at the burn point, cord ahead
15RunesElder futhark igniting in arcane cyan → pink
16BatteryThe classic — green, amber under half, red on the last bar
17EKGA pulse that flatlines from the left as the session dies
18TideWater rising through deepening blues
19Pac-Manᗧ eats the session; a ghost ᗣ shows up past 80%
20MatrixDigital rain waking column by column; corrupts red past 80%
21SparklineA contribution graph lighting up bar by bar
22DiceFive dice rolling up pip by pip ⚀→⚅
23ThermometerMercury climbing cool blue → red
24SnakeThe snake grows as the session eats; out of board at 100%
25Rocket🚀 with a flame-and-smoke trail; on fumes past 80%

Every design goes red (its own way) at 80%+ used — the danger zone before autocompact.

What the line shows

<model> │ <current task, when one is in progress> │ <directory> <bar> <pct>
  • The percentage is used context, scaled to the usable window (Claude Code reserves ~16.5% for autocompact; CLAUDE_CODE_AUTO_COMPACT_WINDOW is respected). It stays dim until 50%, warms, then goes bold red at 80%.
  • What the bar measures is the context window by default. Set "source": "five_hour" or "seven_day" in ~/.claude/context-bar.json to show your plan's rate-limit usage instead — the 5-hour or 7-day window Claude Code reports in the statusline payload. On Claude Code versions that don't send rate_limits, the bar falls back to context.
  • Light/dark is auto-detected from the OS appearance — macOS system appearance or the Windows AppsUseLightTheme registry key (cached, checked every 20s) — so the palette follows your system's day/night switching. Override with CONTEXT_BAR_THEME=light|dark or "theme": "light" in ~/.claude/context-bar.json. Other platforms default to dark.

Platform support

macOSWindowsLinux
Bars & picker
Light/dark auto-detectiondark default (use the override)

Windows notes: use a VT-capable terminal (Windows Terminal — which Claude Code effectively requires anyway). A few designs lean on font fallback for their glyphs (Runes ᚠᚢᚦ, Matrix katakana, Pac-Man ᗧ) — the picker previews everything up front, so if a glyph looks wrong in your font, pick a different bar.

Uninstall

node install.js --uninstall

Restores whatever statusline you had before, removes the config, and then the cloned folder is yours to delete.

Contributing a design

A design is one small file in designs/:

'use strict';
const { c } = require('../lib/ansi');

module.exports = {
  name: 'my-bar',          // kebab-case, unique
  title: 'My Bar',
  blurb: 'One line for the picker.',
  render(used, { light }) {
    // used: 0–100 (% of usable context consumed)
    // light: true when the terminal background is light
    // return JUST the bar as an ANSI string — the core adds everything else
    return c(light ? 28 : 46, '█'.repeat(Math.round(used / 10)));
  },
};

Register it in designs/index.js, run node test.js (every design must render 0–100 in both themes without throwing), and open a PR. House rules:

  • 256-color ANSI only (38;5;n) — truecolor support varies too much
  • Design both palettes. Bright pale colors vanish on light backgrounds; deep saturated colors read as "hot" there instead
  • Have a danger state at 80%+ used
  • Keep it under ~16 characters wide so the line survives narrow terminals

License

MIT

// faq

What is ConTeX?

20 context-window meters for the Claude Code statusline. Clone, pick a bar, vibe.. It is open-source on GitHub.

Is ConTeX free to use?

ConTeX is open-source under the MIT license, so it is free to use.

What category does ConTeX belong to?

ConTeX is listed under devtools in the Claudeers registry of Claude-compatible tools.

2 views
10 stars
unclaimed
updated 9 days ago

// embed badge

ConTeX on Claudeers
[![Claudeers](https://claudeers.com/api/badge/contex.svg)](https://claudeers.com/contex)

// retro hit counter

ConTeX hit counter
[![Hits](https://claudeers.com/api/counter/contex.svg)](https://claudeers.com/contex)

// reviews

// guestbook

0/500

// related in Developer Tools

🔓

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…

// devtoolsaffaan-m/JavaScript240,305MIT[ claude ]
🔓

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

// devtoolsgarrytan/TypeScript128,278MIT[ claude ]
🔓

AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…

// devtoolssafishamsi/Python109,277MIT[ claude ]
🔓

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

// devtoolsDietrichGebert/JavaScript104,762MIT[ claude ]
→ see how ConTeX connects across the ecosystem