Context Meter — AI skill for Claude Code
A tiny status-line script that renders a colored context-window bar under your AI coding agent's prompt.
How to install Context Meter
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ethanplusai/context-meter and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Context Meter does
A tiny status-line script that renders a colored context-window bar under your AI coding agent's prompt. Claude Code + Codex CLI.
Alternatives in AI
- Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
- Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
- ClaudeCodeStatusLine — Custom status line for Claude Code showing model, tokens, rate limits, and git info in real-time 333 ★
README
context-meter
A tiny status-line script that renders a colored context-window bar under your AI coding agent's prompt.

- <50% green · 50–65% yellow · 65–80% orange · 80%+ red
- The percentage is normalized to usable context: 100% lines up with the auto-compact threshold, not the absolute window.
- Single file, no dependencies, no npm install.
Supported tools
| Tool | What you get | Status |
|---|---|---|
| Claude Code | The full custom bar from statusline.js — green/yellow/orange/red thresholds, normalized to the auto-compact buffer. |
✅ tested in CI |
| Codex CLI | Codex's built-in context_usage indicator. Codex has no command-backed status-line hook yet (openai/codex#17827), so we can't run the same script there — but the installer optionally enables Codex's own context display so you still see progress. |
✅ tested in CI |
| Platform | Status |
|---|---|
| macOS | ✅ Tested in CI (Node 16/18/20/22) |
Related Skills
Claude Code Status Line
A custom status line script for Claude Code that displays context window usage, git status, and model informat
ClaudeCode Launchpad CLI
9 Windows & macOS 2-minute installer for Claude Code — auto-installs Node.js, Git & Claude Code; two-line live
Gentle Agent State
See which AI coding agent needs you — right in your tmux tab bar. A colored dot per window (working/blocked/id
Claude Usage Panel
See your Claude Code plan usage everywhere: GNOME top bar, macOS menu bar, a status line under the Claude Code
AI Quota Meter
Claude Code knows how much quota you have left on nearly every turn, and only shows you if you ask. This puts
Tmux Agent Indicator
Tmux plugin that gives visual feedback for AI agent states (running/needs-input/done). Supports Claude Code, C
Related Agents
Codex CLI Research Agent
Senior OpenAI researcher specializing in Codex CLI - researches latest context window and model availability
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode