cm-get-token-insights
CommunityAnalyze Claude token usage and cut costs
Software Engineering#analytics#claude#dashboard#cost-optimization#claude-code#token-insights#workflow-profiling
AuthorOlatisunkanmi
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cm-get-token-insights Download link: https://github.com/Olatisunkanmi/claudefiles/archive/main.zip#cm-get-token-insights Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.