← Back to Skills Marketplace
Token Usage Dashboard
by
bkes994408-cmd
· GitHub ↗
· v1.0.0
· MIT-0
172
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install token-usage-dashboard
Description
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trig...
Usage Guidance
This package appears to do what it says: it runs the CodexBar CLI (or ingests an exported JSON) and builds a local dashboard. Before installing or running it: 1) Inspect the brew tap (steipete/tap) and the codexbar formula to ensure you trust that source. Adding a third‑party Homebrew tap can install arbitrary code. 2) Be aware the dashboard parses local LLM session logs (via CodexBar) and llmCalls can include raw prompt text — treat outputs and any generated summary files as sensitive. 3) Example alert configs include webhook URLs, but active dispatch is reportedly not implemented; nonetheless, check any alert/config you provide so you don't accidentally post sensitive data to external webhooks. 4) If you need to be extra cautious, run the scripts on exported JSON copies (not on live logs) in a controlled environment and review code before executing.
Capability Analysis
Type: OpenClaw Skill
Name: token-usage-dashboard
Version: 1.0.0
The token-usage-dashboard skill bundle is a legitimate tool designed to visualize and manage LLM costs and usage patterns using data from the CodexBar CLI. The core logic in scripts/token_usage_dashboard.py and scripts/model_usage.py focuses on local data processing, including cost attribution, anomaly detection, and multi-tenant access control. The implementation demonstrates security awareness through the use of safe subprocess calls, XSS protection in the generated HTML dashboard, and automated anonymization of sensitive prompt data. No indicators of data exfiltration, malicious persistence, or unauthorized remote execution were found, and the bundle includes comprehensive unit tests and documentation.
Capability Assessment
Purpose & Capability
Name/description (token usage dashboard) match the actual code and requirements: scripts call the CodexBar CLI, parse its local cost JSON, and build a dashboard. Required binary is only 'codexbar' and the SKILL.md/install specify the brew formula to provide it.
Instruction Scope
Runtime instructions and scripts invoke 'codexbar cost' (or accept a JSON file/stdin) and parse daily rows and per-call records including llmCalls/prompts. This is expected for a dashboard but means the tool will process local LLM session data (potentially including prompt text). No unexpected network exfiltration or external endpoints are invoked in the provided code; example configs contain webhook URLs but README states active dispatch is not implemented.
Install Mechanism
Install uses a brew formula from the steipete/tap tap. Installing a third-party Homebrew tap is a reasonable delivery mechanism for a macOS CLI, but it is a less-reviewed source than an official/homebrew-core package — verify the tap and formula before installing.
Credentials
No environment variables, credentials, or config paths are required by the skill itself. The code relies on CodexBar to read local logs (as documented). The set of requested access (codexbar CLI and optional input JSON files) is proportionate to the stated purpose.
Persistence & Privilege
Skill is not always-enabled and uses normal invocation. It does not request elevated system privileges or modify other skills. It runs local scripts and may open a browser to show generated HTML; nothing indicates persistent or escalated privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install token-usage-dashboard - After installation, invoke the skill by name or use
/token-usage-dashboard - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the model-usage skill for summarizing per-model Codex or Claude usage via CodexBar CLI.
- Provides both current and all-model breakdowns using local cost logs.
- Supports output as plain text or pretty JSON, with scriptable CLI options and input flexibility.
- Only available on macOS (Darwin) with brew-based installation of CodexBar CLI.
- Offers clear guidance on usage, model selection logic, and references for further details.
Metadata
Frequently Asked Questions
What is Token Usage Dashboard?
Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trig... It is an AI Agent Skill for Claude Code / OpenClaw, with 172 downloads so far.
How do I install Token Usage Dashboard?
Run "/install token-usage-dashboard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Token Usage Dashboard free?
Yes, Token Usage Dashboard is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Token Usage Dashboard support?
Token Usage Dashboard is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin).
Who created Token Usage Dashboard?
It is built and maintained by bkes994408-cmd (@bkes994408-cmd); the current version is v1.0.0.
More Skills