# Claude Code Status Line

> A colored Claude Code status line: model, effort level, context-window use, a prompt-cache countdown, and your 5-hour and weekly usage limits.

Claude Code Status Line is a free AI agent skill on Agensi by Tim, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Tim](https://www.agensi.io/creators/monkey7c)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-22
- Security: scan passed (2026-11-22); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/claude-code-status-line
- Tags: llm-ops, productivity

## About this skill

A one-line status bar for Claude Code that shows what you usually have to go looking for:

```
◆ Opus 5.5 ●●●○○ high │ ctx ▰▰▱▱▱▱▱▱ 23% 230k/1M │ cache ▰▰▰▱ 4m05s │ 5h ▰▰▰▱▱▱ 42% ↻ 2h13m │ 7d ▰▰▰▰▰▱ 81%
```

- **Model and effort**: the current model, plus effort as dots (low → max).
- **Context window**: bar, percent and tokens used out of the window size.
- **Prompt cache**: a live countdown until the cache goes cold, so you know when to send your next message. When it is cold, it shows how many tokens the next message will re-write.
- **Usage limits**: your 5-hour limit with time until it resets, and your weekly limit.

Bars change color from green to yellow, orange and red as they fill. On narrow terminals the line drops detail until it fits.

Ask your agent to install it. A small Node.js installer copies the script into your Claude config folder and sets `statusLine` in `settings.json`. It keeps every other setting and saves a timestamped backup first. On Windows it writes the forward-slash path that Claude Code's Git Bash needs. Run the same request again to update, or ask to uninstall to remove it.

## Requires

- Node.js

Works with Claude Code only, since it sets Claude Code's statusLine setting. On Windows, Claude Code runs it through Git Bash (Git for Windows).

## Known limitations

Works with Claude Code only. Cache warmth covers the main conversation, not subagents, and needs Claude Code v2.1.251 or later. The usage-limit segments appear only when Claude Code reports them (subscription plans, after the first response). Colors need a terminal with 24-bit color support.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Claude Code Status Line skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Will it overwrite my settings.json?

No. It only sets the statusLine entry, keeps every other setting, and writes a timestamped backup before any change. If settings.json can't be parsed, it stops without touching the file.

### Why don't I see the 5h and 7d segments?

They appear once Claude Code reports rate limits, which happens on subscription plans after the first response.

### Does it work on Windows?

Yes. Claude Code runs status lines through Git Bash on Windows, and the installer writes the quoted, forward-slash path that Git Bash needs.

### The end of the line gets cut off. What can I do?

Set CLAUDE_STATUSLINE_WIDTH to a smaller width. The line then drops detail until it fits.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
