Context usage, session limits, weekly allowance, Git status and active tasks at a glance.
$ npx ctxline-claude
Read left to right. If a source is missing, the line just skips it.
↑ hover, tap, or use arrow keys to inspect a segment
Each running subagent gets a row: name, model, effort, context and elapsed time.
Effort shows only when a subagent overrides it.
The Code tab can't run statusline scripts, so ctxline ships a plugin: a pixel pet, live activity, branch, cache rate, context and usage limits.
In the mock, the row and thin line above the prompt are ctxline. The rest is Desktop's own.
H and W are 5-hour and weekly usage.
In the app
MithunWijayasiri/ctxline-claudeOr with commands
/plugin marketplace add MithunWijayasiri/ctxline-claude
/plugin install ctxline-desktop@ctxline
Third-party plugins don't auto-update by default. Paste this into Claude Code to turn it on:
Turn on auto-update for the ctxline plugin marketplace: in ~/.claude/settings.json, set extraKnownMarketplaces.ctxline.autoUpdate to true (if there is no ctxline entry, add one with source github, repo MithunWijayasiri/ctxline-claude). Then run: claude plugin update ctxline-desktop@ctxline
A second plugin, ctxline themes, restyles the desktop app. Each look has a light version and a still background.
/ctxtheme duskMountains at dusk, mirrored in a still lake./ctxtheme emberGlowing coals along the bottom./ctxtheme contourOrange topographic map lines./ctxtheme phoenixA black hole, and small galaxies around it.In the app
MithunWijayasiri/ctxline-claude (skip if you already did for ctxline-desktop)/ctxtheme <style> to switch.Or with commands
/plugin marketplace add MithunWijayasiri/ctxline-claude
/plugin install ctxline-desktop-themes@ctxline
A single zero-dependency Node script.
Context comes straight from Claude Code's session data on every render.
5-hour and weekly limits come from the session data, with Anthropic's usage API as a fallback.
The fallback is cached and shared across sessions.
Every failure path degrades silently to cached or partial output. The statusline always renders.
The rest lives in the docs on GitHub — one click away.
Donations help keep it maintained, improve existing features, and fund new open-source tools.