Tokscale is a CLI tool for tracking token usage and costs across AI coding assistants like OpenCode, Claude Code, and Gemini CLI. It helps developers and operations teams monitor usage, optimize costs, and integrate with IDEs like Cursor and AmpCode.
git clone https://github.com/junhoyeo/tokscale.githttps://github.com/junhoyeo/tokscale
Monitor token usage across multiple AI platforms to optimize costs.
Analyze daily token consumption trends to identify peak usage times.
Visualize contributions and performance over time with interactive graphs.
Submit usage data to leaderboards for competitive analysis and community engagement.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/junhoyeo/tokscaleCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Track my token usage for the past 7 days across all connected AI tools. Break down usage by tool and provide a summary of total tokens consumed. [TOOLS] = [OpenCode, Claude Code, Codex, Gemini CLI, Cursor IDE, AmpCode, Factory Droid]. Format the output in a clear table with columns for tool name, date, and token count.
Here's your token usage summary for the past 7 days: | Tool Name | Date | Token Count | |-----------------|------------|-------------| | OpenCode | 2023-10-01 | 1,200 | | Claude Code | 2023-10-01 | 850 | | Codex | 2023-10-01 | 1,500 | | Gemini CLI | 2023-10-01 | 700 | | Cursor IDE | 2023-10-01 | 900 | | AmpCode | 2023-10-01 | 600 | | Factory Droid | 2023-10-01 | 1,100 | Total tokens consumed: 6,850 Your usage has increased by 15% compared to the previous week. The highest usage was on OpenCode and Codex, likely due to the complex code generation tasks you were working on.
AI assistant built for thoughtful, nuanced conversation
Google's multimodal AI model and assistant
AI-first code editor
Automate invoicing and financial reporting for streamlined business management.
data platform for metagenomics and the microbiome
Enterprise workflow automation and service management platform