A htop-like TUI for monitoring Claude Code sessions in real-time
Project description
cctop
A htop-like TUI for monitoring Claude Code sessions in real-time.
See all your running Claude Code sessions at a glance — status, project, branch, idle time, LLM-generated summaries, and more.
Press Enter to jump straight to the iTerm2 pane running a session. No more hunting through tabs.
Quick start
# Run directly (no install needed)
uvx --from claude-cctop@latest cctop
# Install the hooks so cctop can track session activity in real-time
cctop install
Restart any running Claude Code sessions after installing hooks.
iTerm2 integration
Press Enter on any session to instantly focus its iTerm2 pane. cctop walks up the process tree from the Claude PID to find the matching terminal session — works across tabs, split panes, and windows.
Setup: Make sure the iTerm2 Python API is enabled (Preferences > General > Magic > Enable Python API). It may already be on by default.
What it shows
| Column | Description |
|---|---|
| PROJECT | Project directory (auto-detects worktrees) |
| NAME | Session name (--name flag passed to claude) |
| BRANCH | Git branch or worktree name |
| STATUS | Working (+ current tool), Idle, or Offline |
| MSGS | Message count |
| DURATION | Total session duration |
| IDLE | Time since last activity |
Expand a session with Space to see the PR link, an LLM-generated summary, the working directory, session ID, and branch details.
Keybindings
| Key | Action |
|---|---|
↑/↓ or k/j |
Navigate sessions |
Space |
Expand / collapse session detail |
Enter |
Focus the iTerm2 pane |
c |
Copy session ID to clipboard |
r |
Regenerate LLM summary |
F6 or >/< |
Cycle sort mode |
/ |
Filter (coming soon) |
? or h |
Help |
q |
Quit |
Options
cctop # Show active sessions only
cctop --recent 1h # Include sessions ended within the last hour
cctop install # Install hooks into Claude Code settings
cctop uninstall # Remove hooks and clean up
Requirements
- Python 3.12+
- macOS (iTerm2 integration is macOS-only)
jq(used by hooks —brew install jq)- Claude Code with hooks support
Uninstall
cctop uninstall
This removes the hooks from Claude Code settings and cleans up ~/.cctop.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_cctop-0.2.2.tar.gz.
File metadata
- Download URL: claude_cctop-0.2.2.tar.gz
- Upload date:
- Size: 248.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8ca54cd9a220b91dcd68975c3650d2b37483dca3d77f71cf19c964734528c1f
|
|
| MD5 |
68a0ec7e25aca34e74e84d53e34c4815
|
|
| BLAKE2b-256 |
d6cd0df19d0d7b3243d4cbfc3e27550c3f5cb4ec009e20a942ff2425c97b03a0
|
File details
Details for the file claude_cctop-0.2.2-py3-none-any.whl.
File metadata
- Download URL: claude_cctop-0.2.2-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
888e2f7611091e7a4f15f5fab52ce93380019536318672b5c9ea2a2d270ed423
|
|
| MD5 |
175fc0c0e2e0cf98467d5b26c4dd4522
|
|
| BLAKE2b-256 |
1223d4061b76d84b74e77a41e700480882c941c42aa2579d5e2c3ecc5e7c85da
|