command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Mar 18, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ccmon
A terminal dashboard for monitoring Claude Code usage and costs in real time.

ccmon reads the JSONL session files that Claude Code writes to ~/.claude/projects/ and displays a live-updating TUI with:
- Today's summary — total tokens, cost breakdown by model (Opus, Sonnet, Haiku), and prompt count
- Burn rate — estimated cost/hour, tokens/hour, and messages/hour based on a rolling 30-minute window
- Active sessions — highlights sessions that are currently running
- Recent sessions — table of sessions with project, summary, model, tokens, cost, duration, and recency
Install
go install github.com/TheBabaYaga/ccmon@latest
Or build from source:
go build -o ccmon .
Usage
ccmon [flags]
| Flag |
Default |
Description |
-path |
auto-detect (~/.claude/projects/) |
Path to Claude Code projects directory |
-refresh |
2 |
Refresh interval in seconds |
Press q or Ctrl+C to quit.
Requirements
- Go 1.24+
- Claude Code installed with at least one prior session
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
internal
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.