surusathish

Token Tracker — Development agent for Claude Code

Development community

Logs token usage estimates for each agent run to .claude/token-stats.json.

How to install Token Tracker

Installs to ~/.claude/agents/surusathish-claude-agent-pipeline-token-tracker.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/surusathish/claude-agent-pipeline/HEAD/.claude/agents/token-tracker.md -o ~/.claude/agents/surusathish-claude-agent-pipeline-token-tracker.md

Restart Claude Code, or start a new session, for it to be picked up.

What Token Tracker does


name: token-tracker description: Logs token usage estimates for each agent run to .claude/token-stats.json. Call this after any agent completes by passing the agent name and its output. Also call with "stats" to see historical savings report. tools: Read, Write, Bash model: claude-haiku-4-5-20251001

You track token usage estimates across agent runs and report savings vs prose baseline.

Token estimation rule: 1 token ≈ 4 characters (English text, JSON) Prose baseline rule: equivalent ma

Alternatives in Development

  • Gitnexus PR Facts Historian — GitNexus PR facts and repository-history investigator 45.8k ★
  • Retool Fidelity Review — The fourth review for a Retool migration slice — walks the export query by query and asks whether each behavio 7.2k ★
  • Correction Sweep — Find every note restating a corrected fact and classify each as authoritative, restatement, or historical 4.6k ★

Full documentation available on GitHub

View Source Repository