Comprehensive status line plugin for Claude Code with context usage, API rate limits, cost tracking, and modular widget system.
- π€ Model Display: Shows current model (Opus, Sonnet, Haiku)
- π Progress Bar: Color-coded context usage (green β yellow β red)
- π Token Count: Current/total tokens in K/M format
- π° Cost Tracking: Cumulative session cost in USD
- β±οΈ Rate Limits: 5h session limit with reset countdown, 7d usage (supports day units: 3d2h)
- π Project Info: Directory name with git branch (* for uncommitted changes)
- π§ Config Counts: CLAUDE.md, rules, MCPs, hooks counts
- βοΈ Tool Activity: Running/completed tools tracking
- β±οΈ Session Duration: Session time tracking
- π€ Agent Status: Subagent progress tracking
- β Todo Progress: Task completion rate
- π₯ Burn Rate: Token consumption per minute
- π¦ Cache Hit: Cache hit rate percentage
- β³ Depletion Time: Estimated time to rate limit
- π· Codex Usage: OpenAI Codex CLI usage (model, 5h/7d limits) - auto-detected
- π i18n: English and Korean support (auto-detect)
- π Multi-line: Compact (1), Normal (2), Detailed (4) line modes
- π¨ Color Themes: Choose from multiple color themes (pastel, classic, high-contrast)
Compact (1 line) - Default:
Normal (2 lines):
Detailed (4 lines):
*after branch name indicates uncommitted changes in git
/plugin marketplace add uppinote20/claude-dashboard
/plugin install claude-dashboard
/claude-dashboard:setup
- Clone the repository:
git clone https://github.com/uppinote20/claude-dashboard.git ~/.claude/plugins/claude-dashboard- Run setup:
/claude-dashboard:setup
Run /claude-dashboard:setup without arguments to use interactive mode:
/claude-dashboard:setup
β Display mode? [compact/normal/detailed/custom]
β (For custom: select widgets for each line)
Note: Interactive mode is best for preset selection (compact/normal/detailed). For custom mode, widget order follows the option list order, and only 4 widgets can be shown per question. For full control, use Direct Mode or edit the JSON file.
# Preset modes
/claude-dashboard:setup compact # 1 line (default)
/claude-dashboard:setup normal en pro # 2 lines, English, Pro plan
/claude-dashboard:setup detailed ko max # 3 lines, Korean, Max plan
# Custom mode: full control over widget order and line composition
# Format: "widget1,widget2,...|widget3,widget4,..." (| separates lines)
/claude-dashboard:setup custom auto max "model,context,cost|projectInfo,todoProgress"
/claude-dashboard:setup custom auto max "model,projectInfo,cost,rateLimit5h" # 1 line, custom order
/claude-dashboard:setup custom auto max "context,model|todoProgress,sessionDuration|configCounts" # 3 lines| Widget | Description |
|---|---|
model |
Model name with emoji |
context |
Progress bar, percentage, tokens |
cost |
Session cost in USD |
rateLimit5h |
5-hour rate limit |
rateLimit7d |
7-day rate limit (Max only) |
rateLimit7dSonnet |
7-day Sonnet limit (Max only) |
projectInfo |
Directory name + git branch (* if dirty) |
configCounts |
CLAUDE.md, rules, MCPs, hooks |
sessionDuration |
Session duration |
toolActivity |
Running/completed tools |
agentStatus |
Subagent progress |
todoProgress |
Todo completion rate |
burnRate |
Token consumption per minute |
cacheHit |
Cache hit rate percentage |
depletionTime |
Estimated time to rate limit (approx)ΒΉ |
codexUsage |
OpenAI Codex CLI usage (auto-hide if not installed) |
ΒΉ Depletion time approximation: Assumes all current utilization came from this session. May be inaccurate if session started with pre-existing usage or multiple concurrent sessions are running. Estimate improves as session runs longer.
| Mode | Lines | Line 1 | Line 2 | Line 3 | Line 4 |
|---|---|---|---|---|---|
compact |
1 | model, context, cost, rateLimit5h, rateLimit7d, rateLimit7dSonnet | - | - | - |
normal |
2 | (same as compact) | projectInfo, sessionDuration, burnRate, todoProgress | - | - |
detailed |
4 | (same as compact) | projectInfo, sessionDuration, burnRate, depletionTime, todoProgress | configCounts, toolActivity, agentStatus, cacheHit | codexUsageΒ² |
Β² codexUsage: Auto-hides if Codex CLI is not installed (~/.codex/auth.json)
Settings are stored in ~/.claude/claude-dashboard.local.json:
{
"language": "auto",
"plan": "max",
"displayMode": "compact",
"cache": {
"ttlSeconds": 60
}
}Custom configuration:
{
"language": "auto",
"plan": "max",
"displayMode": "custom",
"lines": [
["model", "context", "cost", "rateLimit5h"],
["projectInfo", "todoProgress"]
],
"cache": {
"ttlSeconds": 60
}
}- Claude Code v1.0.80+
- Node.js 18+
| Color | Usage % | Meaning |
|---|---|---|
| π’ Green | 0-50% | Safe |
| π‘ Yellow | 51-80% | Warning |
| π΄ Red | 81-100% | Critical |
| Feature | Max | Pro |
|---|---|---|
| 5h rate limit | β | β |
| Reset countdown | β | β |
| 7d all models | β | β |
- Check if plugin is installed:
/plugin list - Verify settings.json has statusLine config
- Restart Claude Code
- API token may be expired - re-login to Claude Code
- Network issue - check internet connection
- API rate limited - wait 60 seconds for cache refresh
Run setup with explicit language:
/claude-dashboard:setup normal ko # Korean
/claude-dashboard:setup normal en # English
API response cache is stored in ~/.cache/claude-dashboard/. To clear:
rm -rf ~/.cache/claude-dashboard/Cache files are automatically cleaned up after 1 hour.
# Install dependencies
npm install
# Build
npm run build
# Test locally
echo '{"model":{"display_name":"Opus"},"workspace":{"current_dir":"/tmp"},"context_window":{"context_window_size":200000,"current_usage":{"input_tokens":50000,"output_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0}},"cost":{"total_cost_usd":0.5}}' | node dist/index.jsMIT



