Claude Token Counter — Development skill for Claude Code
Carefully track token usage while using Claude.
How to install Claude Token Counter
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open maludb/claude-token-counter and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Token Counter does
Carefully track token usage while using Claude.
Alternatives in Development
- Claude Integration Guide — FOR CLAUDE CODE: When a user asks you to integrate components from this showcase repository into their project 9.3k ★
- 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 ★
README
claude-token-counter
A live terminal dashboard that tracks your **Claude Code** token usage and cost in near real time — plus span markers to measure a unit of work and rolling log files. Zero dependencies, one file, just Node.
[](LICENSE)  
Claude Code Token Tracker 14:32:08
────────────────────────────────────────────────────────────────────────────────
▶ SPAN auth system since 14:02:11 (29m 57s)
in 4,210 out 18,940 cache-r 1,402,883 cache-w 233,015
tokens 1,659,048 requests 11 cost $4.21
CURRENT SESSION · my-api · 9f3c1a2b ● live
in 5,279 out 75,542 cache-r 5,721,161 cache-w 585,706
requests 26 span 1h 48m updated 7s ago cost $10.63
TODAY 2026-06-15 tokens 7,197,622 requests 29 cost $13.52
model input output cache-r cache-w cost
opus-4-8 11,613 77,092 6,268,883 840,034 $13.52
ALL TIME tokens 41,883,902 requests 612 cost $96.40
model input output cache-r cache-w cost
opus-4-8 198,221 1,402,944 38,902,113 1,279,624 $89.71
sonnet-4-6 12,004 88,210 1,902,556 410,338 $6.69
RECENT
14:32:01 opus-4-8 in 2 out 1,373 cr 277,762 $0.1821
14:31:39 opus-4-8 in 2 out 175 cr 276,853 $0.1519
────────────────────────────────────────────────────────────────────────────────
3 projects · 28 sessions · log:daily · keys m span q quit
Numbers above are illustrative.
Contents
- Why
- Features
- Requirements
- Install
- Quick start
- The dashboard
- [Spans — measur
Related Skills
Token Tracker
Keep track of your agent's token limit while coding through terminal.
Cccost
Instrument Claude Code to track actual token usage and cost.
Greenbelt
Greenbelt is Claude Code hooks that track token usage across Claude Code sessions and plants trees to reduce y
AgentsUsage
A lightweight Windows system tray application that parses local Claude CLI and Codex usage logs, hosting an em
Skill Usage Counter
Measure which Claude Code/Codex skills you actually invoke. Hook + backfill + report; privacy-safe.
Tandem Skill
Persistent pair-programming between Claude Code and the OpenAI Codex CLI: one Codex thread per project, protoc
Related Agents
Performance Monitor
Monitor agent execution, track token usage, measure response quality, and optimize workflows
Measure Response Time For Varying Prefix Match Lengths
import time from statistics import mean def time_compare(guess, iterations=1000): times = [] for _ in range(it
Cost Governor
Track aggregate token spend and API costs across all agent operations. Enforce budget constraints, detect cost