claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Automation & Workflows

cctop

Live top-style monitor for Claude Code sessions

// Automation & Workflows[ cli ][ api ][ claude ]#claude#ai-agents#bun#claude-code#monitoring#tui#automationApache-2.0$open-sourceupdated 11 days ago
Actively maintained
100/100
last commit about 10 hours ago
last release about 10 hours ago
releases 7
open issues 2
// star history
// install
git clone https://github.com/stefanprodan/cctop

cctop

Interactive top-style monitor for Claude Code sessions. Know at a glance what Claude is working on, how much context it has left, and which sessions are waiting for input.

cctop

Features

  • All your sessions at a glance — every running Claude Code session in one table: process stats (PID, memory, CPU, uptime), busy/idle state, context size, model, host app (terminal or IDE), project, git branch, and last prompt.
  • Sub-agent & process tree — live sub-agents (with their latest turn) and each session's sub-processes, open and orphaned TCP ports.
  • Live TUI — navigate with the keyboard, open a per-session detail view, and filter and sort on the fly; piped or run with --once it prints a single frame.
  • Status at a glance — busy sessions are green, idle red; CPU and context heat toward red as they climb; the selected session is marked with a blue bar.
  • Weekly usage limits (opt-in) — show your Claude subscription's 5h/7d rate-limit usage in the summary line.
  • Quit a runaway session in place (xSIGTERM, with confirm), or free ports held by a session's leftover dev server (f in the detail view).
  • Read-only and local — the TUI reads only ~/.claude and the process table, spawns no processes.
  • Zero dependencies — a single Bun program with no npm packages; it uses only the Bun runtime and OS built-ins.

Install

On macOS or Linux, install the standalone binary with Homebrew:

brew install stefanprodan/tap/cctop

Or install it as a script with Bun:

bun install -g github:stefanprodan/cctop#v0.3.0

Usage limits (opt-in)

To display the subscription's rate-limit usage, add the following to your Claude Code status-line script:

input=$(cat)

# persist the account-wide 5h/7d rate limits
printf '%s' "$input" | cctop --capture-usage || true

With --capture-usage the rate limits stats are persisted to ~/.claude/cctop/usage.json from which the cctop TUI reads. See docs/usage-limits.md for more details.

Update

With Homebrew:

brew upgrade stefanprodan/tap/cctop

Or upgrade the scrip to the latest release with Bun:

bun install -g github:stefanprodan/cctop#v0.3.0

Uninstall

With Homebrew:

brew uninstall stefanprodan/tap/cctop

Or with Bun:

bun uninstall -g cctop

If you enabled usage limits, also remove the cctop --capture-usage line from your Claude Code status-line script.

Usage

On an interactive terminal cctop runs as a live TUI (like top); when piped, redirected, or run with --once it prints a single frame and exits.

Keys

While the TUI is running:

KeyAction
/k /jmove the selection
PgUp/PgDnjump 10 rows
g / Gjump to top / bottom
enteropen the detail view for the selected session
escleave the detail view / close an overlay
/filter sessions (type, enter to apply)
scycle the sort column (default, cpu, mem, ctx, pid)
xquit the selected session (SIGTERM, with confirm)
freclaim the detail view's orphan ports (SIGTERM, with confirm)
?toggle the help overlay
q / Ctrl-Cquit cctop

Options

cctop [filter] [options]

  filter                 only show sessions whose project, host, branch,
                         model, or session id contains this
  -w, --watch[=seconds]  set the refresh interval (default: 1s, min 0.25s)
  --once                 render once and exit (default when piped)
  --json                 print full session details as JSON
  -v, --version          show version
  -h, --help             show this help

Examples:

cctop flux         # start filtered to sessions matching "flux"
cctop --watch=0.5  # refresh twice a second
cctop --once       # single frame, then exit
cctop --json       # machine-readable snapshot

Contributing

cctop is open source and contributions are welcome — open an issue or send a pull request on GitHub. See docs/CONTRIBUTING.md to get set up.

License

Apache 2.0

// compatibility

Platformscli, api
Operating systems
AI compatibilityclaude
LicenseApache-2.0
Pricingopen-source
LanguageTypeScript

// faq

What is cctop?

Live top-style monitor for Claude Code sessions. It is open-source on GitHub.

Is cctop free to use?

cctop is open-source under the Apache-2.0 license, so it is free to use.

What category does cctop belong to?

cctop is listed under automation in the Claudeers registry of Claude-compatible tools.

0 views
122 stars
unclaimed
updated 11 days ago

// embed badge

cctop on Claudeers
[![Claudeers](https://claudeers.com/api/badge/cctop.svg)](https://claudeers.com/cctop)

// retro hit counter

cctop hit counter
[![Hits](https://claudeers.com/api/counter/cctop.svg)](https://claudeers.com/cctop)

// reviews

// guestbook

0/500

// related in Automation & Workflows

🔓

The API to search, scrape, and interact with the web at scale. 🔥

// automationfirecrawl/TypeScript143,720AGPL-3.0[ claude ]
🔓

The agent that grows with you

// automationNousResearch/Python211,605MIT[ claude ]
🔓

An open-source long-horizon SuperAgent harness that researches, codes, and creates. With the help of sandboxes, memories, tools, skill, subagents and message…

// automationbytedance/Python76,016MIT[ claude ]
🔓

🗂 The essential checklist for modern web development, for humans and AI agents

// automationthedaviddias/MDX73,123[ claude ]
→ see how cctop connects across the ecosystem