Tokentap banner
jmuncor jmuncor

Tokentap

AI community intermediate

Description

- **Track Token Usage**: See exactly how many tokens each request consumes - **Monitor Context Windows**: Visual fuel gauge shows cumulative usage against your limit - **Debug Prompts**: Automatically saves every prompt as markdown and JSON for review

Installation

Terminal
claude install-skill https://github.com/jmuncor/tokentap

README

Tokentap (formerly Sherlock)

Token Tracker for LLM CLI Tools

InstallationQuick StartFeaturesCommandsContributing

tokentap tracks token usage for LLM CLI tools with a live terminal dashboard. See exactly how many tokens you're using in real-time.

Why tokentap?

    undefined

Installation

pip install tokentap

Or install from source:

git clone https://github.com/jmuncor/tokentap.git
cd tokentap
pip install -e .

Requirements

    undefined

Quick Start

Terminal 1: Start the Dashboard

tokentap start

You'll be prompted to choose where to save captured prompts, then the dashboard appears:

┌─────────────────────────────────────────────────────────────┐
│  TOKENTAP - LLM Traffic Inspector                           │
├─────────────────────────────────────────────────────────────┤
│  Context Usage  ████████████░░░░░░░░░░░░░░░░  42%           │
│                 (84,231 / 200,000 tokens)                   │
├─────────────────────────────────────────────────────────────┤
│  Time     Provider    Model                      Tokens     │
│  14:23:01 Anthropic   claude-sonnet-4-20250514   12,847     │
│  14:23:45 Anthropic   claude-sonnet-4-20250514   8,234      │
│  14:24:12 Anthropic   claude-sonnet-4-20250514   15,102     │
├─────────────────────────────────────────────────────────────┤
│  Last Prompt: "Can you help me refactor this function..."   │

...