tom-ha/ccbox

6 stars · Last commit 2026-05-28

Rust statusline for Claude Code: model, context burn, tokens/cost, tasks, subagents, and OpenSpec progress under every prompt.

README preview

# ccbox

A fast, Rust statusline for [Claude Code](https://claude.com/claude-code) — drawn under every prompt. It surfaces what's actually relevant during a session: which model you're on, context-window burn, session tokens and cost, in-flight tasks and subagents, OpenSpec progress, and your active Python venv — themed and configurable from your shell rc.

![ccbox statusline](screenshots/example.png)


## Features

- **Model identity** — see which Claude model the session is on at a glance.
- **Context-window burn** — token count, percentage, and a progress bar, with thresholds that adapt to 200K and 1M models.
- **Tokens & cost** — input / output token totals and per-session / per-day spend (auto-hidden for subscription accounts).
- **Tasks** — todo / doing / done counts inline, or a multi-column kanban **board** view for wider terminals.
- **Subagents** — in-flight subagent activity from the current session.
- **OpenSpec progress** — bars and counts when there's an active OpenSpec change.
- **Python venv** — name of the activated venv shown on the top row, when present.
- **Theming** — multiple built-in themes, switchable from an env var or `--theme`.

## Requirements

View full repository on GitHub →