LLM¶
Recipes for managing Claude Code usage and configuration.
Usage Tracking¶
token-usage runs ccusage to show token consumption and costs across sessions. Useful for understanding how much
you've used over a period, which sessions were expensive, and which models consumed the most.
The statusline already shows 5-hour and 7-day usage bars in real time. token-usage gives you the historical breakdown.
Settings¶
settings opens ~/.claude/settings.json in your editor. Common things to tweak: model (opus, sonnet), effort
level, status line config, and permission rules.
Cache¶
cache-clear removes the statusline usage cache (/tmp/claude_usage_cache). The statusline caches API responses for 60
seconds to avoid hitting the network on every render. Clear it if the bars look stale or after changing accounts.