Statsai — Data skill for Claude Code
Cross-device AI usage, token, and cost analytics for developer AI tools.
How to install Statsai
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open starkdmi/statsai and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Statsai does
Cross-device AI usage, token, and cost analytics for developer AI tools.
Alternatives in Data
- Claude Code Usage Monitor — by Maciek-roboblog - A real-time terminal-based tool for monitoring Claude Code token usage 7k ★
- Memex — Open-source, local-first AI journal app for iOS and Android 697 ★
- Token Dashboard — See where Claude Code is burning tokens - turn raw JSONL transcripts into local cost analytics, hotspot views 669 ★
README
StatsAI
Know what your AI coding tools actually cost.
Local-first analytics for AI-assisted development. Bring usage from Claude Code, Codex, OpenCode, and Grok Build into one private, consistent view.
Website · Documentation · Mac app · Releases
AI coding tools make it easy to spend tokens across different providers, accounts, projects, and machines—and surprisingly hard to understand the total. StatsAI reads the logs those tools already keep, normalizes them locally, and turns them into useful answers:
- Which tools, models, projects, and devices use the most tokens?
- What would that usage cost at API-equivalent prices?
- Is a subscription delivering more value than its monthly price?
- What work did those sessions contribute to?
- How is usage changing over time?
No provider API keys. No request proxy. Your raw logs stay on your machine.
[!NOTE] StatsAI is under active development. The CLI is usable today, but its public API and data model may still change before 1.0.
What you get
| Capability | Value | |
|---|---|---|
| 📊 | One usage model | Compare providers, models, accounts, projects, and devices without reconciling incompatible reports. |
| 💸 | * |
Related Skills
Dsh Agent Token Stats
Cross-agent token usage dashboard for DeepSeek Harness: aggregates local logs of Claude Code, OpenCode, Cursor
Cc One
Desktop dashboard for AI coding CLIs — turns Claude Code, Codex, Gemini CLI, Grok CLI and OpenCode session log
Context Lens
See what actually eats your LLM context window. Cross-agent session analytics for WorkBuddy, Qwen, Doubao, Cla
Tokdash
Agent Dashboard: Visualization and analytics for Sessions and Quota Usage. Track, analyze, and optimize token
Claude Code History VSCode
VS Code extension to browse Claude Code, Codex, OpenCode, Grok and GitHub Copilot chat history — file diffs, f
Claude AI Usage Widget
2-in-1 for Claude Code: a live system-tray usage widget (5h/7d plan limits) + local token & cost analytics — p
Related Agents
Usage Scout
Read-only scout for session, token, and cost code in this FastAPI tracker. Use when the user asks where usage
Nyx
Observability & monitoring specialist — OpenTelemetry tracing, token/cost tracking, agent performance analytic
API Cost Scanner
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching stra