louisnwadike52-design

Tokenmonitor — AI skill for Claude Code

AI community

See what your AI coding tools actually use and cost — token usage & estimated spend for Claude Code, Codex CLI, and Gemini CLI.

How to install Tokenmonitor

This entry records only its repository, not the path inside it, so there is no exact command to give. Open louisnwadike52-design/tokenmonitor and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tokenmonitor does

See what your AI coding tools actually use and cost — token usage & estimated spend for Claude Code, Codex CLI, and Gemini CLI. 100% local, zero dependencies.

Alternatives in AI

  • Codeburn — Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Code 9.7k ★
  • Ccstatusline — by sirmalloc - A highly customizable status line formatter for Claude Code CLI that displays model info, git b 5.5k ★
  • Token Monitor — Local-first desktop widget for tracking token usage, costs, and limits across 32+ AI coding tools—including Cl 1.8k ★

README

tokenmonitor

[![CI](https://github.com/louisnwadike52-design/tokenmonitor/actions/workflows/ci.yml/badge.svg)](https://github.com/louisnwadike52-design/tokenmonitor/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Node >= 20](https://img.shields.io/badge/node-%3E%3D20-brightgreen.svg)](package.json) [![Zero dependencies](https://img.shields.io/badge/dependencies-0-success.svg)](package.json)

**See what your AI coding tools actually use and cost — one command, 100% local.**

`tokenmonitor` reads the session logs your AI CLIs already write to disk and reports token usage and estimated spend across all of them:

Tool Logs read Notes
Claude Code ~/.claude/projects/**/*.jsonl ($CLAUDE_CONFIG_DIR overrides) dedupes resumed sessions; 5m/1h cache-write TTLs priced separately
OpenAI Codex CLI $CODEX_HOME/sessions (default ~/.codex/sessions) per-request deltas; cached input priced at the discounted rate
Gemini CLI $GEMINI_DIR (default ~/.gemini) best-effort scan of session metrics and chat transcripts

No API keys, no accounts, no telemetry, no network calls — it never leaves your machine.

Install

npm install -g tokenmonitor   # or: npx tokenmonitor

From source (zero dependencies — there is nothing to `npm install`):

git clone https://github.com/louisnwadike52-design/tokenmonitor.git
cd tokenmonitor && npm link

Usage

tokenmonitor            # usage by tool + model (default)
tokenmonitor daily      # usage by day
tokenmonitor models     # usage by model
tokenmonitor plans      # list known subscription plans
$ tokenmonitor daily --since 2026-09-05

Date        Input     Output     Cache Read  Cache Write          Total  Est. Cost
──────────────────────────────────────────────────────────────────────────────────
2026-09-05  4,933  1,642,150  1,338,074,425   11,017,526  1,350,739,034    $816.0