Fast, cross-platform, real-time token usage tracker and cost monitor for Gemini CLI / Claude Code / Codex CLI / Qwen Code / Cline / Roo Code / Kilo Code / GitHub Copilot / OpenCode / Pi Agent / Piebald.
git clone https://github.com/Piebald-AI/splitrail.gitFast, cross-platform, real-time token usage tracker and cost monitor for Gemini CLI / Claude Code / Codex CLI / Qwen Code / Cline / Roo Code / Kilo Code / GitHub Copilot / OpenCode / Pi Agent / Piebald.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/Piebald-AI/splitrailCopy 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 and costs for [COMPANY] across [PLATFORM1], [PLATFORM2], and [PLATFORM3]. Provide a breakdown by project and user. Update in real-time and alert me if costs exceed [BUDGET].
## Token Usage and Cost Report ### Overview - **Total Tokens Used**: 1,250,000 - **Total Cost**: $312.50 - **Average Cost per Token**: $0.00025 ### Breakdown by Platform - **Gemini CLI**: 450,000 tokens, $112.50 - **Claude Code**: 300,000 tokens, $75.00 - **GitHub Copilot**: 500,000 tokens, $125.00 ### Breakdown by Project - **Project Alpha**: 600,000 tokens, $150.00 - **Project Beta**: 400,000 tokens, $100.00 - **Project Gamma**: 250,000 tokens, $62.50 ### Breakdown by User - **User A**: 500,000 tokens, $125.00 - **User B**: 400,000 tokens, $100.00 - **User C**: 350,000 tokens, $87.50 ### Alerts - **Project Beta** has exceeded the budget of $80.00 by $20.00.
Automate invoicing and financial reporting for streamlined business management.
AI assistant built for thoughtful, nuanced conversation
Manage feature flags and A/B tests while gaining real-time insights on product performance.
Google's multimodal AI model and assistant
Code hosting and collaboration platform for developers
Identity management for agents