{"repo":"loplop-h/spent","free":true,"listed":false,"github":"https://github.com/loplop-h/spent","clone":"git clone https://github.com/loplop-h/spent.git","description":"Claude Code session cost tracker. Efficiency score, productive vs wasted breakdown, live terminal dashboard.","language":"Python","stars":18,"topics":["ai","anthropic","cli","developer-tools","llm","monitoring","python","claude-code","efficiency","session-tracker"],"license":"MIT","category":"ai-agents","readme_excerpt":"spent See what your Claude Code sessions really cost. Efficiency score. Productive vs wasted breakdown. Live terminal dashboard. --- You use Claude Code every day. Do you know how much each session costs? Which tool uses are productive and which are wasted? spent tracks every tool use, classifies it as productive, neutral, or wasted, and gives you an efficiency score. No API keys. No external services. Everything runs locally from Claude Code's own hook system. Web dashboard Quick Start That's it. spent cc setup installs three hooks into /.claude/settings.json : - PostToolUse -- logs every tool invocation (Edit, Read, Bash, Grep, etc.) - SessionStart -- marks when a session begins - Stop -- marks session end and writes the final summary Restart Claude Code after setup. Costs are tracked automatically from that point. Features Feature Status --------- -------- Per-session cost tracking Done Efficiency score (0-100) Done Productive / neutral / wasted classification Done Live terminal dashboard ( spent cc live ) Done Per-tool cost breakdown Done Session history and trends Done Web dashboard ( spent cc dashboard ) Done Efficiency tips Done Claude Code skill ( /spent ) Done Statusline integration Done JSON export Done Multi-model pricing (Opus, Sonnet, Haiku) Done Cost anomaly detection Roadmap Team cost aggregation Roadmap CI usage reports Roadmap How It Works Claude Code hooks fire on every tool use. spent logs each event to a local JSONL file at /.spent/claude-sessions.jsonl wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/loplop-h","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/loplop-h/spent/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}