Claude Code Costs — Development skill for Claude Code
Analyze your Claude Code conversation costs with interactive visualizations.
How to install Claude Code Costs
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open philipp-spiess/claude-code-costs and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Costs does
Analyze your Claude Code conversation costs with interactive visualizations.
Alternatives in Development
- Mempalace Mine — Mine projects and conversations into the MemPalace 58.6k ★
- Arscontexta — Claude Code plugin that generates individualized knowledge systems from conversation 2.8k ★
- Claude Supermemory — Persistent memory across sessions and projects using Supermemory 2.3k ★
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
Agent Cost Dashboard
Interactive web dashboard to monitor and analyze your coding agent API costs.
Cost Analysis
Analyze costs for a decision or project. Produces TCO, ROI, and payback period with sensitivity analysis on ke
Memory Flush
You are a memory extraction assistant for Omux. Your job is to analyze a conversation between the MainAgent an
Evolution Timeline
I have extracted prompts from my Claude Code conversation history. These prompts represent the types of reques
Frequency Chart
I have extracted prompts from my Claude Code conversation history. These prompts represent the types of reques
Claude Compaction Viewer
View and analyze Claude Code conversation history and compaction events with a TUI and CLI tool for clear sess
Related Agents
Visualization Specialist
Expert data visualization specialist for creating interactive, insightful, and publication-quality visualizati
Shine Chart Builder
Generates interactive charts and diagrams via ECharts MCP, Mermaid MCP, or VegaLite MCP. Produces publication-
3D Scene Developer
Web 3D visualization specialist who creates immersive 3D scenes, terrain models, point cloud visualizations, a