token-tracker

Community

Instant token usage and cost tracking.

Authorthesaifalitai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides precise tracking and cost estimation for token usage so users can understand billing, optimize prompts, and budget for API usage across Claude models.

Core Features & Use Cases

  • Per-request Accounting: Estimates input, output, and total tokens for each request and provides an estimated cost with the chosen model.
  • Session Summaries & Budgets: Aggregates session totals, average cost per request, and monthly/annual budget estimates for forecasting.
  • Cost Comparison & Context Tracking: Compares costs across models, applies cache discounts, and monitors context window consumption with warnings for compaction.
  • Use Case: A developer or freelancer can enable tracking to append token and cost blocks after responses, run cost comparisons when evaluating model changes, and estimate monthly spend for a given workload.

Quick Start

Ask the token-tracker to "show token usage and estimated cost for the last request using Claude Sonnet 4.6".

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: token-tracker
Download link: https://github.com/thesaifalitai/claude-setup/archive/main.zip#token-tracker

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.