Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By xobotyiv2.0.0MITIn 1 marketplace
Shows context left, the closer rate limit and session cost in a two-row status line that survives agent directory changes. Needs Node.js 26 or later on your PATH; a SessionStart hook copies the script and patches settings.json.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
status-line, context-window, rate-limit, session-cost, terminal-ui, statusline, status, ui ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A two-row status line that shows the context left, the rate limit closest to running out, and what the session costs, and keeps working when an agent changes directory.
A session in this repository, rendered by statusline.mts:

The first row carries the output style, the model with its effort, and the session cost, with the context left and the closer rate limit at its right edge; the second carries the directory, the branch, and the lines changed this session.
Claude Code's default status line is minimal. When working on complex tasks, you need visibility into:
Project-level status line configurations break when agents change directories during execution, leaving you without status visibility mid-session.
This plugin installs a two-row status line to your user-level Claude configuration directory, where it persists across all sessions and survives agent directory changes.
The first row shows the output style, the model with its reasoning effort, and the session cost. At its right edge sit the context left and whichever rate limit is closer to stopping you, the 5-hour or the 7-day one, with the time it resets. A limit counts as closer when, at the pace used so far in its window, it runs out before it resets. When neither will, the one with less left is shown.
The second row shows the current directory, the git branch, and the lines added and removed in the session. The directory reads relative to the project root; in a worktree session it shows the repository the worktree was created from, tagged with the worktree name.
Context left is measured against the model's full context window. Claude Code doesn't pass the auto-compact threshold to status lines, so if you lowered the auto-compact window, compaction runs before the context reaches zero.
The layout follows the terminal width. On a wide terminal, context and rate limit stay at the right edge. As the terminal narrows, the first row drops the reasoning effort, then the output style, the reset time, and the cost; the second row folds the path, then drops the line counts and shortens the branch.
Color urgency increases as context or the rate limit runs low: gray → yellow → orange → red.
The status line needs Node.js 26 or later as the node on your PATH. Its script is written in TypeScript, and Claude
Code runs it with node, which strips the types itself, so nothing is built at install time.
/plugin install the-statusline --marketplace xobotyi/cc-foundry
The plugin automatically:
statusline.mts in your Claude configuration directory: CLAUDE_CONFIG_DIR when
you set it, ~/.claude otherwisesettings.json in the same directorystatusline.js that releases before 2.0.0
installed thereOn every session start, a hook copies the status line script to your user-level Claude directory and patches your settings if needed. The script receives session data from Claude Code and renders the two-row status display.
User preferences like padding are preserved across updates. The status line uses absolute paths, so it continues working even when agents change directories during multi-agent workflows.
Claude Code doesn't re-run the status line when the terminal is resized, so the hook sets a refreshInterval of 10
seconds: after a resize, the rows refit to the new width within that time. A refreshInterval you set yourself is kept.
To modify the status line display, edit statusline.mts in the plugin directory and bump the version in
.claude-plugin/plugin.json. Changes propagate on the next session start.
/plugin uninstall the-statusline
To fully clean up, remove the statusLine key from settings.json in your Claude configuration directory and delete
statusline.mts there. The directory is CLAUDE_CONFIG_DIR when you set it, ~/.claude otherwise.
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub xobotyi/cc-foundry --plugin the-statuslinePlugins from other owners that cover similar ground