Claude Code Costs
Description
Analyze your Claude Code conversation costs with interactive visualizations.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
claude-code-costs
Analyze your Claude Code conversation costs with interactive visualizations.
💡 **Want to see how I use Claude Code?** [Here's my workflow](https://spiess.dev/blog/how-i-use-claude-code) and approach to getting things done with it.
Installation
You don't need to install anything! Just run:
npx claude-code-costs
What it does
This tool analyzes all your Claude Code conversations stored in `~/.claude/projects/` and:
- Calculates total costs across all conversations
- Shows daily cost breakdown for the last 30 days
- Lists top 20 most expensive conversations
- Provides project-based filtering
- Generates an interactive HTML report with charts
The report is automatically generated in your system's temp directory and opened in your default browser.
Requirements
- Node.js 14.0.0 or higher
- Claude Code conversations stored in the default location (
~/.claude/projects/)
Output
The tool provides:
- Console summary of costs and top expensive conversations
- Interactive HTML report with:
- Total cost summary
- Daily cost chart (last 30 days)
- Top 20 conversations bar chart
- Detailed table with filtering by project
License
MIT
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development