Token Tracker — Development agent for Claude Code
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
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 RepositoryRelated Agents
Usage Reporter
Reads real Claude Code usage from ~/.claude/stats-cache.json. Reports daily/weekly token usage by model, cache
Cost Estimator
Estimates Cloudflare Workers costs before deploying. Reads wrangler.toml, counts D1 tables/rows, estimates KV/
Notes Scribe
Reads the build log, run logs, and validation stats, and drafts the NOTES.md write-up the assignment asks for.
Pipeline Analyst
Use to see what is working: weekly review, funnel by agent and by source, stuck agents, usage and budget. Trig
Futuresfanatic
Applies Roderick Casilli's ("Futures Fanatic"/TDG) four documented trading systems (see skills/futuresfanatic/
Itsjjsimon
Applies itsjjsimon's "Fair Pricing Theory" session-based futures strategy (see skills/itsjjsimon/SKILL.md) to
Related Skills
Estimate Assistant
Generate accurate task estimates using historical data, complexity analysis, and team velocity metrics
Aegis Activity Logger
Append-only JSONL audit log of every Edit/Write/Bash mutation, one file per UTC day. Provides historical repla
Project Hello W Name
by disler - Creates customizable greeting components with name input, demonstrating argument passing, componen