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

Installs 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

OperationRelative CostOptimization
Large file readsHighUse offset/limit params
Broad grep searchesMediumScope to specific dirs
Subagent spawningHigh (new context)Reuse agents via SendMessage
Repeated tool callsCumulativeBatch operations
MCP tool callsVariableMinimize round-trips
Model selection3-10x differenceUse haiku for simple tasks

Token Budget by Task Type

TaskTypical CostBudget 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
1rohitg00 avatarcontext-engineeringrohitg00/pro-workflowMaster the four operations of context engineering — Write, Select, Compress, Isolate. Manage token budgets, compaction strategies, and context partitioning to k171skills.sh installs
2rohitg00 avatarmcp-auditrohitg00/pro-workflowAudit connected MCP servers for token overhead, redundancy, and security. Use when sessions feel slow or before adding new MCPs.169skills.sh installs
3cloudai-x avatardevops-infrastructurecloudai-x/claude-workflow-v2Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions166skills.sh installs
4rohitg00 avatarthoroughness-scoringrohitg00/pro-workflowScore every decision point with a Thoroughness Rating (1-10). AI makes the marginal cost of doing things properly near-zero — pick the higher-rated option every166skills.sh installs
5rohitg00 avatarauto-setuprohitg00/pro-workflowAuto-configure quality gates, hooks, and settings for a new project. Detects project type and sets up appropriate tooling. Use when onboarding a new codebase.165skills.sh installs
6rohitg00 avatarfile-watcherrohitg00/pro-workflowConfigure file watching hooks to auto-react to config changes, env file updates, and dependency modifications. Use to set up reactive workflows.165skills.sh installs