
Cost Tracker
This is basically a cheat sheet for keeping Claude Code sessions efficient and cheap. It breaks down what burns through tokens fast (file reads, spawning subagents, broad searches) and gives you rough budgets for different task types, like $0.50 for a bug fix or $5 for a refactor. The tool call budgets are especially handy since you can tell when you're halfway through your runway and should wrap up. Most useful if you're running lots of sessions or working on a tight budget and want to know where the money actually goes. The optimization list is practical stuff like reading files selectively and batching operations instead of spamming individual calls.
- skills.sh installs
- 172
- GitHub stars
- 2.9K
- last updated
- Jun 8, 2026
Install
$ npx -y skills add rohitg00/pro-workflow --skill cost-tracker --agent claude-codeInstalls into .claude/skills of the current project.
Files
Cost Tracker
Monitor and optimize Claude Code session costs.
Trigger
Use when:
- Checking session costs
- Setting budget alerts
- Optimizing token spend
- Planning multi-session work
Cost Awareness
Check Current Costs
# Session cost is shown at the end of each session
# Mid-session: check the status bar or run /cost
Cost Drivers
| Operation | Relative Cost | Optimization |
|---|---|---|
| Large file reads | High | Use offset/limit params |
| Broad grep searches | Medium | Scope to specific dirs |
| Subagent spawning | High (new context) | Reuse agents via SendMessage |
| Repeated tool calls | Cumulative | Batch operations |
| MCP tool calls | Variable | Minimize round-trips |
| Model selection | 3-10x difference | Use haiku for simple tasks |
Token Budget by Task Type
| Task | Typical Cost | Budget Alert |
|---|---|---|
| Bug fix | $0.10-0.50 | $1.00 |
| Feature (small) | $0.50-2.00 | $3.00 |
| Feature (large) | $2.00-8.00 | $10.00 |
| Refactor | $1.00-5.00 | $7.00 |
| Code review | $0.20-1.00 | $2.00 |
Tool-Call Budgets
Set explicit budgets by task complexity:
Sponsors
Details
- Repository
- github.com/rohitg00/pro-workflow
- Category
- Automation & Workflows
- First seen
- Jun 11, 2026
More from rohitg00/pro-workflow
All 35- Context Engineering171
- Mcp Audit169
- Orchestrate167
- Thoroughness Scoring166
- Auto Setup165
- File Watcher165
- Safe Mode164
- Plan Interrogate163
- Batch Orchestration162
- Bug Capture162
- Agent Teams161
- Permission Tuner161
- Sprint Status159
- Llm Gate158
- Wiki Query157
- Wiki Builder156
- Survey Generator154
- Wiki Research Loop154
- Wiki Viewer153
- Skill Optimizer140
- Module Map
- Token Efficiency239
- Pro Workflow213
- Wrap Up210