Display real-time metrics about your current Claude Code session.
Display real-time session metrics including rate limits, model, duration, tools, agents, and task counts. Use this to quickly check your current session status and resource usage.
/plugin marketplace add duyet/claude-plugins/plugin install statusline@duyet-claude-pluginsDisplay real-time metrics about your current Claude Code session.
When this command is invoked, you MUST:
Run:
bash /Users/duet/project/claude-plugins/statusline/scripts/fetch-rate-limits.sh
Parse the JSON response for five_hour and seven_day percentages.
Output in compact format with only non-empty values:
📊 [health] | 5h: [5h%] | 7d: [7d%] | Model: [model] | [duration] | Tools: [tool×count] | Agents: [name(time)] | Tasks: [status counts]
Health indicators:
Task status:
Do NOT show:
📊 🟡 67% | 5h: 42% | 7d: 28% | Model: Opus 4.5 | 15m 42s | Tools: Read×8 Glob×4 Bash×3 | Tasks: 🔄 1 ⏳ 3 ✓ 7
Minimal output when few metrics available:
📊 🟢 12% | 5h: 5% | 7d: 2%
/statusline:enable — Enable real-time monitoring/statusline:disable — Disable monitoring