# cost-tracker

> Claude/Codex skill by [@rohitg00](https://omgskills.com/library/rohitg00/index.md) · 2.8k stars · Updated 2026-07-27

Track session costs, set budget alerts, and optimize token spend. Use to check costs mid-session or set spending limits.

Tags: agent-orchestration, ai-agents, ai-coding, ai-workflow, claude, claude-code, claude-code-plugin, claude-code-skills, claude-skills, codex, context-engineering, cursor, developer-tools, gemini-cli, hooks, productivity, self-correction, workflow, worktrees

## Install

```sh
git clone https://github.com/rohitg00/pro-workflow /tmp/pro-workflow && ln -s /tmp/pro-workflow/skills/cost-tracker ~/.claude/skills/cost-tracker
```

## From README

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 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...

## Links

- HTML page: https://omgskills.com/library/rohitg00/pro-workflow/skills/cost-tracker/
- GitHub: https://github.com/rohitg00/pro-workflow
- Author: [@rohitg00](https://omgskills.com/library/rohitg00/index.md)

## More from this repo

- [context-engineering](https://omgskills.com/library/rohitg00/pro-workflow/skills/context-engineering/index.md) — Master the four operations of context engineering — Write, Select, Compress, Isolate.
   - [@rohitg00](https://omgskills.com/library/rohitg00/index.md) · 2.9k stars
- [auto-setup](https://omgskills.com/library/rohitg00/pro-workflow/skills/auto-setup/index.md) — Auto-configure quality gates, hooks, and settings for a new project.
   - [@rohitg00](https://omgskills.com/library/rohitg00/index.md) · 2.8k stars
- [batch-orchestration](https://omgskills.com/library/rohitg00/pro-workflow/skills/batch-orchestration/index.md) — Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees.
   - [@rohitg00](https://omgskills.com/library/rohitg00/index.md) · 2.8k stars
