TokenUsage — Development skill for Claude Code
Live token usage tracking for Claude Code inside Obsidian.
How to install TokenUsage
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open beolatn/TokenUsage and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What TokenUsage does
Live token usage tracking for Claude Code inside Obsidian.
Alternatives in Development
- Claude Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
- Caveman Claude Skill — Ultra-compressed communication mode for Claude 396 ★
- Katmer Code — Claude Code inside Obsidian — academic research skills, inline diff editing, MCP support 353 ★
README
Token Usage
Token Usage is an Obsidian plugin that tracks Claude Code token consumption from locally stored session files.
Instead of relying on API access or external dashboards, Token Usage reads Claude Code's local JSONL files and displays real-time token statistics directly inside Obsidian — broken down by type, time range, and model.
**For power users:** Token Usage tracking is machine-wide by default (see [How It Works](#how-it-works)) — but the **[Vault / Project Breakdown](#vault--project-breakdown)** splits that back down by working directory, so you can see exactly which client, project, or vault consumed how many tokens and when. Export it as a standalone Markdown report to hand to a client as a usage/billing reference.
Features
- Vault/project breakdown for power users — see exactly which vault or client project consumed how many tokens and when, exportable as a standalone Markdown report for client billing (see Vault / Project Breakdown)
- Live sidebar panel with token breakdown across five time ranges
- Separate display of all four token types: Input, Output, Cache Write (C.Write), Cache Read (C.Read)
- Rolling 5-hour session window matching Claude Code's internal rate-limit window
- Context sub-labels under each section title — shows scope at a glance ("Rolling window · counts toward rate limit", "Started yesterday · spans multiple days", "Calendar day · since midnight")
- Logarithmic scale for minibar widths — keeps all four token types visually proportional even across large magnitude differences
- Spike warning — amber badge when today's usage is ≥ 2× your personal recent average (window follows your Claude data retention setting)
- Collapsible sections — all five time-range sections fold individually, state persists across refreshes
- 7-day bar chart with model distribution — stacked by Haiku, Sonnet, Opus, Fable
- Rate limit tracking — session and weekly limit hits auto-detected from local JSONL f
Related Skills
Poke Agent Safari
Pokemon-themed live dashboard for Claude Code agents with session status, token usage, and Pokedex tracking.
Claude Code Token Usage
Where your Claude Code tokens and dollars go — per project, then inside a single session. Local-only, stdlib P
Claude Session Visualizer
new Live visualization dashboard for Claude Code sessions with execution trees, token cost tracking, thinking
Tokscale
🛰️ A CLI tool for tracking token usage from OpenCode/Claude Code/Codex/Gemini CLI/Cursor IDE • Generate Your
Codex Token Meter
Native macOS menu bar apps for tracking Codex and Claude Code token usage, quota, cache efficiency, cost, and
TokenWatch
Native macOS app for tracking coding-agent token usage and estimated cost
Related Agents
Local Writer
Use for high-token repetitive writing (docstrings, inline code comments, Markdown documentation, CHANGELOG/REA
Brain Manager
Token-efficient memory manager for the Obsidian Brain. Use it for retrospectives, session handoffs, and adding
API Cost Scanner
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching stra