maludb

Claude Token Counter — Development skill for Claude Code

Development community

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: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) ![node: >=20](https://img.shields.io/badge/node-%3E%3D20-339933.svg) ![dependencies: none](https://img.shields.io/badge/dependencies-0-brightgreen.svg)

 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