Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By andrejzhengv0.0.12MITIn 1 marketplace
Shows your Cubence account balance and API latency in Claude Code's statusline alongside context usage. It is a fork of claude-hud, and the balance display needs a Cubence API key in your settings.json.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
statusline, hud, context-window, cubence, token-balance, api-latency, status-bar, context ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A fork of jarrodwatts/claude-hud with Cubence balance and API latency display.

Adds a Cubence segment to the context line, showing your account balance and API latency:
Context █░░░░░░░░░ 5% │ Cubence $12.34 230ms
With subscription:
Context █░░░░░░░░░ 5% │ Cubence 5h $1.23/$5.00 bal $12.34 230ms
ANTHROPIC_AUTH_TOKEN and ANTHROPIC_BASE_URL from ~/.claude/settings.json/v1/user/subscription-info to fetch balanceInside Claude Code, run:
Step 1: Add the marketplace
/plugin marketplace add nangongwentian-fe/claude-hud-cubence
Step 2: Install the plugin
On Linux, /tmp is often a separate filesystem (tmpfs), which causes plugin installation to fail with:
EXDEV: cross-device link not permitted
Fix: Set TMPDIR before installing:
mkdir -p ~/.cache/tmp && TMPDIR=~/.cache/tmp claude
Then run the install command below in that session.
/plugin install claude-hud-cubence
Step 3: Configure the statusline
/claude-hud:setup
Install Node.js LTS first:
winget install OpenJS.NodeJS.LTS
Then restart your shell and run /claude-hud:setup again.
Done! Restart Claude Code to load the new statusLine config.
After installing, enable the Cubence display in your HUD config:
Edit ~/.claude/plugins/claude-hud-cubence/config.json:
{
"display": {
"showCubenceBalance": true
}
}
Your ~/.claude/settings.json must have the Cubence credentials:
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "your-cubence-api-key",
"ANTHROPIC_BASE_URL": "https://api.cubence.com"
}
}
Claude HUD gives you better insights into what's happening in your Claude Code session.
| What You See | Why It Matters |
|---|---|
| Project path | Know which project you're in (configurable 1-3 directory levels) |
| Context health | Know exactly how full your context window is before it's too late |
| Cubence balance | Monitor your Cubence account balance and API latency in real-time |
| Tool activity | Watch Claude read, edit, and search files as it happens |
| Agent tracking | See which subagents are running and what they're doing |
| Todo progress | Track task completion in real-time |
[Opus] │ my-project git:(main*)
Context █████░░░░░ 45% │ Cubence $12.34 230ms
/claude-hud:configure)◐ Edit: auth.ts | ✓ Read ×3 | ✓ Grep ×2 ← Tools activity
◐ explore [haiku]: Finding auth code (2m 15s) ← Agent status
▸ Fix authentication bug (2/5) ← Todo progress
Customize your HUD anytime:
/claude-hud:configure
All options from the original claude-hud are supported, plus:
| Option | Type | Default | Description |
|---|---|---|---|
display.showCubenceBalance | boolean | false | Show Cubence account balance and API latency on the context line |
See the full option list in the original claude-hud documentation.
{
"lineLayout": "expanded",
"pathLevels": 2,
"gitStatus": {
"enabled": true,
"showDirty": true
},
"display": {
"showCubenceBalance": true,
"showTools": true,
"showAgents": true,
"showTodos": true
}
}
git clone https://github.com/nangongwentian-fe/claude-hud-cubence
cd claude-hud-cubence
npm ci && npm run build
npm test
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub andrejzheng/claude-hud-cubence --plugin claude-hud-cubence