What problem does it solve?
Many Claude Code users lack visibility into where tokens are consumed and why costs rise; this Skill turns raw conversation logs into per-turn analytics, cost breakdowns, and actionable recommendations so teams can reduce waste and optimize workflows.
Core Features & Use Cases
- Ingest & Parse: Parse JSONL conversation files from local Claude project directories into per-turn analytics tables and session summaries.
- Cost Optimization: Identify top waste drivers by dollar amount, recommend CLAUDE.md rules and model substitutions, and estimate savings.
- Workflow Analytics & Dashboard: Produce an interactive offline HTML dashboard showing model economics, top projects, skill/agent/hook usage, hook latency, and week-on-week trends.
- Agent Enrichment: Construct data-grounded prompts for a claude-code-guide agent and spawn it in the foreground to generate personalized guidance for the top insights.
- Use Case: Run on your ~/.claude/projects to discover cache-miss hot spots, model-mix savings opportunities, and underused or failing skills that drive cost.
Quick Start
Run cm-ingest-token-data to parse your ~/.claude/projects and open the generated dashboard at ~/.claude-memory/dashboard.html for an immediate spending and workflow report.