cost-ledger
cost-ledger is a TypeScript hooks module that runs inside Claude Code sessions to track all costs in real time: session, week, and month totals with budget progress, pace forecasting, and a detailed /costs pane showing prompt-cache breakdowns, expensive prompts, and context contributors. It provides cache lifetime awareness with warnings before re-caching, CSV export for accounting, and an optional keep-alive feature that periodically pings to hold the cache warm during idle time.
Install
Source: https://github.com/bobtat/claude-plugins/tree/HEAD/plugins/cost-ledger
What it's made of
no extra components
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 0
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
- none
- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (bobtat).