Skip to content
Skills Library
Personal productivity · Tool integration

usage-statusline

/usage-statusline

Install a Claude Code status line that shows the model, context fill as a coloured bar with tokens used, and on Pro/Max plans the 5-hour and 7-day usage with time until each limit resets. One install script copies it to a stable path and sets statusLine in ~/.claude/settings.json, backing the file up first. Use when the user wants to see context or plan usage at a glance, asks when their limit resets, or wants the same status line on another machine. Triggers: 'status line', 'statusline', 'show context usage', 'when does my limit reset', 'how much of my plan is left', 'install my status line',

Repository
ai-skills ↗
Licence
MIT
Last repository change
25.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/install.sh, scripts/statusline.sh

What it does and when to use it

Install a Claude Code status line that shows the model, context fill as a coloured bar with tokens used, and on Pro/Max plans the 5-hour and 7-day usage with time until each limit resets. One install script copies it to a stable path and sets statusLine in ~/.claude/settings.json, backing the file up first. Use when the user wants to see context or plan usage at a glance, asks when their limit resets, or wants the same status line on another machine. Triggers: 'status line', 'statusline', 'show context usage', 'when does my limit reset', 'how much of my plan is left', 'install my status line',

Triggers from the description

status linestatuslineshow context usagewhen does my limit resethow much of my plan is leftinstall my status line
Original author description

Install a Claude Code status line that shows the model, context fill as a coloured bar with tokens used, and on Pro/Max plans the 5-hour and 7-day usage with time until each limit resets. One install script copies it to a stable path and sets statusLine in ~/.claude/settings.json, backing the file up first. Use when the user wants to see context or plan usage at a glance, asks when their limit resets, or wants the same status line on another machine. Triggers: 'status line', 'statusline', 'show context usage', 'when does my limit reset', 'how much of my plan is left', 'install my status line',

How it works

  1. Install
  2. Verify
Original SKILL.md headings · 54 lines, 287 words
SKILL.md preview
---
name: usage-statusline
description: "Install a Claude Code status line that shows the model, context fill as a coloured bar with tokens used, and on Pro/Max plans the 5-hour and 7-day usage with time until each limit resets. One install script copies it to a stable path and sets statusLine in ~/.claude/settings.json, backing the file up first. Use when the user wants to see context or plan usage at a glance, asks when their limit resets, or wants the same status line on another machine. Triggers: 'status line', 'statusline', 'show context usage', 'when does my limit reset', 'how much of my plan is left', 'install my status line', 'kolik mám kontextu', 'kdy se resetuje limit', 'dej mi statusline'."
---

# Usage Status Line

One line under the prompt:

```
Opus 5.5 │ ctx ████░░░░░░ 42% 84k/200k │ 5h 31% ↻2h13m │ 7d 12% ↻4d3h
```

| Part | Meaning |
| --- | --- |
| `Opus 5.5` | Current model |
| `ctx ████░░░░░░ 42%` | Context window fill. Green below 50 %, yellow to 80 %, red above |
| `84k/200k` | Tokens in the current context / window size |
| `5h 31% ↻2h13m` | Share of the 5-hour plan limit used, time until it resets |
| `7d 12% ↻4d3h` | The same for the 7-day limit |

The `5h` and `7d` parts come from the `rate_limits` field Claude Code passes to
status lines on Pro and Max plans. They appear after the session's first
response; API-key sessions never show them.

## Install

Requires `jq`. Run:

```bash
"${CLAUDE_PLUGIN_ROOT}/scripts/install.sh"
```

It copies `scripts/statusline.sh` to `~/.claude/usage-statusline.sh` and sets
the top-level `statusLine` in `~/.claude/settings.json`. A plugin cannot set
that key itself, and the plugin's own path changes with every update, hence the
copy. Re-run the script after updating the plugin.

If a different status line is already configured, the script stops with exit
code 2 and prints the current command. Show it to the user and run with
`--force` only if they want it replaced; settings.json is backed up to
`settings.json.bak.<timestamp>` before any change. Honours `CLAUDE_CONFIG_DIR`.

The line shows up on the next refresh — after the next message, or after a
restart of Claude Code.

## Verify

Feed the script sample input; it should print one coloured line:

```bash
echo '{"model":{"display_name":"Opus 5.5"},"context_window":{"used_percentage":42,"context_window_size":200000,"current_usage":{"input_tokens":84000}}}' \
  | ~/.claude/usage-statusline.sh
```

`usage-statusline: jq not installed` means `jq` is missing from the `PATH`
Claude Code runs the status line with.
Files in this package (3)
  • SKILL.md 3 KB
  • scripts/install.sh 2 KB
  • scripts/statusline.sh 2 KB

Versions

RepositoryScoreLicence
This page · freema/ai-skills95MIT
frank-bee/claude-usage95MIT

Database snapshot: 13.11.2026 · package version 1f47fc9416b2 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100cc-statusline
    Install a ready-made two-line Claude Code status line (Dracula theme): model, context bar with token counts, session cost, effort level, output style, repo, worktree, git branch, plus 5h/7d rate-limit quotas with reset countdowns. Use when setting up or initializing the Claude…
  • 100claude-statusline
    Guide for creating and configuring the Claude Code status line. Use when building a custom status bar, configuring statusLine in settings.json, scripting token/model/git readouts, or debugging status-line output.
  • 100statusline
    Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.
  • 95show-usage-limits
    Put the user's Claude usage limits in their status line — the 5-hour and weekly windows, how much is spent, and when each resets — so hitting a limit stops being a surprise. Use this whenever someone asks to see their usage, wants to monitor rate limits or context usage, says…
  • 100claude-code-statusline-development
    This skill should be used when the user asks to "create a statusline", "customize the status line", "add a custom prompt", or mentions Claude Code statusline. Also suggest when the user wants to display git branch, context usage, model name, or session costs at the bottom of Claude Code.
  • 100context-window-statusline
    This skill should be used when the user asks to "set up a status line", "configure the footer", "show context window usage", "add a statusline", "visualize context window", "customize the Claude Code footer", or wants to display token counts, cost, or session metrics in the…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.