statusline-usage

star 0

Check Claude API usage limits. Shows current session (5hr) and weekly usage percentages. Use when asking about rate limits, usage, or quota.

abel30567 By abel30567 schedule Updated 1/30/2026

name: statusline-usage description: Check Claude API usage limits. Shows current session (5hr) and weekly usage percentages. Use when asking about rate limits, usage, or quota.

Statusline Usage

Scrapes Claude CLI usage data via PTY automation and caches it for status line display.

Usage

Run the scraper to get current usage:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/scrape-usage.py" --json

Parse the JSON output and display it to the user in a formatted way:

๐Ÿ“Š Claude Usage Status
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
Session (5hr):  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘  45%
Weekly:         โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘  32%

If the scraper fails, inform the user they can run /usage directly in Claude Code.

Commands

Command Description
/check-usage Check current usage limits on-demand
/setup-statusline Install status line and scheduler

Status Line Format

When configured, the status line shows:

Ctx:45% | 5hr:30% | Wk:50% | $3.25

Setup

Run /setup-statusline to install the status line script and configure the scheduler.

Install via CLI
npx skills add https://github.com/abel30567/claude-code-skills --skill statusline-usage
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator