setup

setup is a command for coding agents from uppinote20/claude-dashboard. It costs 7 tokens per session (4,280 once invoked), scanned A, original, MIT.

A setup command for configuring the claude-dashboard status line, the small information display shown while working with the agent. It lets you choose how much information and which language or subscription details it shows.

In plain words
What is it for?
Use it to select compact, normal, detailed, or custom layouts, choose English or Korean, set a plan display, and choose status widgets such as model, context, cost, and session details.
Why use it?
It avoids manually editing configuration when you want a shorter or more detailed status display.

Command

Part of the claude-dashboard plugin — 4 commands, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/uppinote20/claude-dashboard/setup
Clone the repo
git clone --depth 1 https://github.com/uppinote20/claude-dashboard

Or install claude-dashboard, the plugin that ships this one along with the rest of its 4 commands, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/uppinote20/claude-dashboard/setup.svg)](https://agentmods.dev/commands/uppinote20/claude-dashboard/setup)
Your own site
<a href="https://agentmods.dev/commands/uppinote20/claude-dashboard/setup"><img src="https://agentmods.dev/badge/commands/uppinote20/claude-dashboard/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,280 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00007 $0.04280
Opus 5 $0.00003 $0.02140
Sonnet 5 $0.00001 $0.00856
Haiku 4.5 $0.00001 $0.00428

Measured 5d ago against content hash 2c1506cfbc22, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/setup.md · 312 lines

How it starts

The opening of the file, as written. The whole thing — 312 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Dashboard Setup

Configure the claude-dashboard status line plugin with widget system support.

Arguments

  • No arguments: Interactive mode (asks questions)
  • With arguments: Direct configuration mode

Direct Mode Arguments

  • $1: Display mode

    • compact (default): 1 line (model, context, cost, rateLimit5h, rateLimit7d, rateLimit7dSonnet, zaiUsage)
    • normal: 2 lines (+ projectInfo, sessionId, sessionDuration, burnRate, todoProgress)
    • detailed: 6 lines (+ sessionName, tokenSpeed, depletionTime, configCounts, toolActivity, agentStatus, cacheHit, performance, tokenBreakdown, forecast, budget, todayCost, codexUsage, geminiUsage, antigravityUsage, linesChanged, outputStyle, version, peakHours, lastPrompt, vimMode, apiDuration, tagStatus)
    • custom: Custom widget configuration (requires $4)
  • $2: Language preference

    • auto (default): Detect from system language
    • en: English
    • ko: Korean
  • $3: Subscription plan

    • max (default): Shows 5h + 7d rate limits
    • pro: Shows 5h only
  • $4: Custom lines (only for custom mode)

    • Format: "widget1,widget2|widget3,widget4"
    • | separates lines
    • Example: "model,context,cost|projectInfo,todoProgress"

Available Widgets

Widget Description
model Model name with emoji, effort level (Opus/Sonnet/Fable), fast mode (Opus)
context Progress bar, percentage, tokens
contextBar Progress bar only (sub-widget of context)
contextPercentage Percentage only (sub-widget of context)
contextUsage Token count only, e.g. 42K/200K (sub-widget of context)
cost Session cost in USD
rateLimit5h 5-hour rate limit
rateLimit7d 7-day rate limit (Pro/Max)
rateLimit7dSonnet 7-day Sonnet limit (Max) — deprecated ~2026-06, merged into the unified weekly bucket at Sonnet 5 launch; stays hidden while the API returns null
rateLimit7dFable 7-day Fable limit (Max)
projectInfo Directory name + git branch + ahead/behind (↑↓), subpath from project_dir, worktree indicator
configCounts CLAUDE.md, AGENTS.md, rules, MCPs, hooks, +Dirs counts
sessionId Session ID (short 8 chars)
sessionIdFull Session ID (full UUID)
sessionDuration Session duration
toolActivity Running/completed tools with targets (e.g., Read(app.ts))
agentStatus Subagent progress
todoProgress Todo completion rate
burnRate Token consumption per minute
cacheHit Cache hit rate percentage
depletionTime Estimated time to rate limit
codexUsage OpenAI Codex CLI usage (auto-hide if not installed)
geminiUsage Google Gemini CLI usage - current model (auto-hide if not installed)
geminiUsageAll Google Gemini CLI usage - all models (auto-hide if not installed)
antigravityUsage Google Antigravity CLI - weekly quota by model family (auto-hide if not installed)
antigravityUsageAll Google Antigravity CLI - per-model quota (auto-hide if not installed)
zaiUsage z.ai/ZHIPU usage (auto-hide if not using z.ai)
tokenBreakdown Input/output/cache write/read token breakdown
performance Composite efficiency badge (cache hit + output ratio)
forecast Estimated hourly cost based on session rate
budget Daily spending vs configured budget limit (requires dailyBudget in config)
tokenSpeed Output token generation speed (e.g., 67 tok/s)
sessionName Session name from /rename command
todayCost Total spending across all sessions today
linesChanged Uncommitted lines added/removed, including untracked files (+N -N)
outputStyle Current output style (hidden when "default")
version Claude Code version display
vimMode Vim mode (NORMAL/INSERT), auto-hides when vim disabled
apiDuration API time as % of total session time
peakHours Peak hours indicator with countdown (weekdays 5-11 AM PT)
tagStatus Commits ahead of matched git tags (uses tagPatterns config, default ["v*"])
slashCommand Active slash command for the current turn (🎯); cleared by next plain-text message
agentMode Session agent identity: 👤 custom agent (via /agent <name>) or 🤖 subagent type

Read the full file on GitHub · 312 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 312 lines · 7 tokens per session scan A 2c1506cfbc22

Subscribe to this mod's changes

setup is a command published in the GitHub repository uppinote20/claude-dashboard (564 stars, last pushed 12d ago), licensed MIT. It adds 7 tokens to every session and 4,280 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.