Install
openclaw skills install claude-usageCalculate Claude Max subscription usage from OpenClaw session data. Shows credits consumed, weekly budget percentage, 5-hour rate limit window, and per-session breakdown.
openclaw skills install claude-usageTrack your Claude Max subscription usage based on the reverse-engineered credits system from she-llac.com/claude-limits.
When the user asks about Claude usage, credits, subscription consumption, rate limits, or wants to know how much budget is left.
Ask the user for:
pro ($20), 5x ($100), or 20x ($200). Default: 5xSave it so they never have to repeat:
python3 {SKILL_DIR}/scripts/claude-usage.py "2026-02-09 14:00" --plan 5x --save
# Weekly overview (uses saved config after first --save)
python3 {SKILL_DIR}/scripts/claude-usage.py
# Override plan or timezone
python3 {SKILL_DIR}/scripts/claude-usage.py --plan 20x --tz "America/New_York"
# Top N sessions only
python3 {SKILL_DIR}/scripts/claude-usage.py --top 5
# Single session detail (substring match on key or id)
python3 {SKILL_DIR}/scripts/claude-usage.py --session "main"
python3 {SKILL_DIR}/scripts/claude-usage.py --session "9aadee"
# JSON output
python3 {SKILL_DIR}/scripts/claude-usage.py --json
--session)credits = (input_tokens + cache_write_tokens) × input_rate + output_tokens × output_rate
| Model | Input rate | Output rate |
|---|---|---|
| Haiku | 2/15 | 10/15 |
| Sonnet | 6/15 | 30/15 |
| Opus | 10/15 | 50/15 |
Cache reads are free. Non-Claude models (Gemini, Codex, etc.) don't consume Claude credits.
| Plan | $/month | Credits/5h | Credits/week |
|---|---|---|---|
| Pro | $20 | 550,000 | 5,000,000 |
| 5× | $100 | 3,300,000 | 41,666,700 |
| 20× | $200 | 11,000,000 | 83,333,300 |
~/.openclaw/agents/main/sessions/)