# @eccs0103/claude-cli-status-line

> Claude CLI status line command that renders workspace, git branch, model, rate limits and context window as an ANSI-colored line

Latest version **1.4.2** (published 2026-11-07) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @eccs0103/claude-cli-status-line
pnpm add @eccs0103/claude-cli-status-line
yarn add @eccs0103/claude-cli-status-line
bun add @eccs0103/claude-cli-status-line
```

Provides the command `claude-cli-status-line`.

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 1.4.2 |
| Published | 2026-11-07 |
| First published | 2026-06-03 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 167.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | eccs0103 |
| Maintainers | eccs0103 |
| Keywords | claude, cli, status-line, ansi |

## Links

- npm: https://www.npmjs.com/package/@eccs0103/claude-cli-status-line
- Repository: https://github.com/eccs0103/claude-cli-status-line
- Homepage: https://github.com/eccs0103/claude-cli-status-line#readme
- Issues: https://github.com/eccs0103/claude-cli-status-line/issues
- npm.io page: https://npm.io/package/@eccs0103/claude-cli-status-line

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.4.2 (latest) — 2026-11-07
- 1.4.1 — 2026-10-08
- 1.4.0 — 2026-10-08
- 1.3.2 — 2026-07-02
- 1.3.1 — 2026-06-30
- 1.3.0 — 2026-06-28
- 1.2.0 — 2026-06-28
- 1.1.2 — 2026-06-25
- 1.1.1 — 2026-06-12
- 1.1.0 — 2026-06-12
- 1.0.4 — 2026-06-05
- 1.0.3 — 2026-06-04
- 1.0.2 — 2026-06-04
- 1.0.1 — 2026-06-04
- 1.0.0 — 2026-06-03

## README

# @eccs0103/claude-cli-status-line

A Claude CLI status line command that renders an ANSI-colored status bar showing your workspace directory, git branch, active model, rate limit usage, and context window consumption.

![example](./resources/images/status-line-render.svg)

[Change log](./CHANGELOG.md)

## Setup

1. Install

	```
	npm install -g @eccs0103/claude-cli-status-line
	```

2. Connect

	Add to your `~/.claude/settings.json`:

	```json
	{
		"statusLine": {
			"type": "command",
			"command": "claude-cli-status-line"
		}
	}
	```

Or run via the Claude CLI:

```
claude config set statusLine.type command
claude config set statusLine.command "claude-cli-status-line"
```

## What it shows

Directory · Branch · Model · 7-day limit · 5-hour limit · Context window

Color thresholds: green (>30%), yellow (10–30%), red (≤10%).

Model also shows the current reasoning effort, with `⚡` when fast mode is on (`Opus 5.5 (high)⚡`). Context also shows how long the prompt cache stays warm (`25% # 42m`), or `cold` in red when the next message will re-process the whole context. Either one can be switched off under `config` → Details.

## Configuring

```
claude-cli-status-line config
```

Lets you toggle segments, reorder them, switch the Model effort and Context prompt-cache details, change colors, adjust thresholds, customize the progress bar, choose the countdown time format, and reset to defaults. Settings are saved to `~/.claude/status-line.config.json`.

---
_Source: https://npm.io/package/@eccs0103/claude-cli-status-line · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
