cctop

A top-style live monitor for all your Claude Code sessions, showing at a glance which is busy, how much context remains, and who is waiting for input.

Stars
★ 150
Last updated
today
FARS reviewed
Nov 23, 2026
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
CLI
Works with
Platform-specificClaude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
macOS or Linux~/.claude directoryShell / CLILocal filesystem
Typical use
Developers running several Claude Code sessions who need to tell busy, idle, and waiting-for-input sessions apart at a glance.
Not a fit if
  • Teams that don't use Claude Code sessions
  • Users who want a native Windows GUI instead of a terminal
  • Teams monitoring multiple AI coding assistants across vendors
Maintenance
Commits in the last 30 dayslast commit 2026-11-23
Source review
70/100 · Some gaps

What does this agent do, and when should you use it?

cctop is a single-file command-line program written in Bun that gives Claude Code sessions a top-like real-time monitor. It runs as a TUI that aggregates every running session into one table with process stats (PID, memory, CPU, uptime), busy/idle state, context size, model, host app (terminal or IDE), project, git branch, and the last prompt. It also surfaces live sub-agents with their latest turn, each session's sub-processes, and open or orphaned TCP ports. The tool reads only ~/.claude and the process table and spawns no processes; the only files it writes are its own preferences and usage cache under ~/.claude/cctop/. When piped or run with --once it prints a single frame and exits, and --json emits a machine-readable snapshot. It installs via a script, Homebrew, or Bun, and ships an upgrade subcommand to replace its own binary.

On start, cctop reads session metadata from ~/.claude and the OS process table, then builds and refreshes a live table. The first seven columns (status dot, PID, MEM, CPU, UP, CTX, MODEL) are always shown; the remaining columns can be hidden or reordered via the columns key in ~/.claude/cctop/settings.json. Keyboard controls include: arrow/PgUp/PgDn/g/G navigation, b to jump to the last session that rang, enter for a detail view, h for the session history dashboard, / to filter, s to cycle sort columns, n to toggle notifications (terminal bell plus OSC 9 desktop notification), x to send SIGTERM to a session with confirmation, f to reclaim orphan ports from the detail view, and ? for help. CLI flags cover [filter], -w/--watch to set the refresh interval, --once for single-frame output, --json for full session details, -v/--version, and -h/--help. An optional --capture-usage mode, called from a Claude Code status-line script, persists 5h/7d rate-limit stats to ~/.claude/cctop/usage.json for the TUI to display in the summary line.

  1. Developers running several Claude Code sessions who need to tell busy, idle, and waiting-for-input sessions apart at a glance.
  2. tmux users with agents spread across many panes who rely on the bell and desktop notifications while away.
  3. Operators hunting a leftover dev server holding a port and reclaiming it from the detail view.
  4. Anyone reviewing past token usage by model, tool/MCP, or project through the h-key history dashboard.
  5. Scripts and CI jobs that need a one-shot session snapshot via --once or --json.
  6. Debugging a runaway agent by inspecting the sub-agent and sub-process tree and terminating it in place.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/stefanprodan/cctop/main/install.sh | sh
  • brew install stefanprodan/tap/cctop
  • bun install -g github:stefanprodan/cctop#v0.9.1
Config files
~/.local/bin
Install notes cover
macOS · Linux

How do you install or deploy this agent?

On macOS or Linux, the install script downloads the standalone binary for your OS/arch, verifies its checksum, and installs to ~/.local/bin (override with PREFIX):

curl -fsSL https://raw.githubusercontent.com/stefanprodan/cctop/main/install.sh | sh

Or install with Homebrew:

brew install stefanprodan/tap/cctop

Or with Bun (requires Bun; pins an explicit release):

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

The standalone binary is self-contained and needs no Bun runtime. To install a specific release set CCTOP_VERSION=v0.5.0; from a fork set CCTOP_REPO=owner/name.

How do you use this agent?

Run cctop on an interactive terminal for the live TUI; when piped or with --once it prints a single frame and exits. Common invocations:

cctop flux         # only sessions matching "flux" in project, host, branch, model, or session id
cctop --watch=0.5  # refresh twice a second
cctop --once       # single frame, then exit
cctop --json       # machine-readable snapshot

To show your subscription's 5h/7d rate-limit usage in the summary line, add this to your Claude Code status-line script:

input=$(cat)
printf '%s' "$input" | cctop --capture-usage || true

Update in place with the built-in updater:

cctop upgrade
cctop upgrade --check

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure

What are this agent's strengths and limitations?

Pros
  • A single Bun program with zero npm packages; the standalone binary is self-contained, so install is one command.
  • Puts process metrics, context headroom, busy/idle state, sub-agents, and ports into one live table with top-style navigation.
  • Read-only by default: reads only ~/.claude and the process table, spawns no processes, and writes only under ~/.claude/cctop/.
  • --once and --json make it scriptable; columns are configurable and sort/refresh/notification settings persist across restarts.
  • Opt-in bell and desktop notifications (OSC 9, supported by iTerm2, Ghostty, kitty, WezTerm, Windows Terminal, and tmux monitor-bell) cover the look-away case.
Limitations
  • Monitor scope is tied to Claude Code sessions, so it is unusable for other coding agents.
  • Depends on the ~/.claude directory and the process table; shows nothing on machines with no Claude Code sessions.
  • Notifications are opt-in and rely on terminal OSC 9 support, which varies across terminals.
  • Rate-limit display requires manually editing your Claude Code status-line script.
  • Windows is not documented as supported; the install script targets macOS and Linux.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
cctop This agent 70 · Some gaps CLIFree ★ 150 today TypeScript Claude Code
GenericAgent 39 · Major gaps CLIFree + model costs ★ 14k today Python Claude API
OpenClaw Command Center 62 · Some gaps Agent plugin / skillFree ★ 250 1mo ago JavaScript —
Jelly: Local Multi-Bot Agent Workspace 53 · Major gaps — ★ 95 1d ago TypeScript ChatGPT · OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
70/ 100 5-point scale 3.5 / 5
Trust 19/29
Reliability 8/14
Adaptability 14/18
Convention 14/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust19 / 29 · 3.3/5

The monitoring path is read-only over ~/.claude and the process table, writing only its own settings.json/usage.json, with network confined to explicit `cctop upgrade` (least_privilege 2). SIGTERM to sessions and port reclamation both require confirmation (user_confirmation 2). Data flow is documented thoroughly across README, AGENTS.md and usage-limits.md (data_flow_transparency 3). However it reads full transcripts and last prompts; sensitive-data handling relies on local storage and throttling with no redaction or access-control notes (sensitive_data_handling 2). Zero runtime dependencies and pinned devDependencies, but no lockfile audit or vulnerability scanning shown (dependency_security 2). External effects are limited to signals and self-update with atomic swap and checksum, yet upgrade replaces its own binary and rollback is reinstall-only (external_effects 2, rollback 2). Release workflow includes build provenance attestation, but no NOTICE/copyright attribution in-repo and publisher is unverified (source_attribution 1).

Reliability8 / 14 · 2.9/5

README, AGENTS.md, package.json and tests describe consistent behavior; tests cover parsing and collection logic (self_consistency 2). Dependencies are only Bun and OS built-ins with engines bun>=1.4.0, though tightly bound to Bun and macOS/Linux (dependency_availability 2). Docs explain failure paths (--capture-usage silent exit 0, stale-data labeling) but lack user-facing error messages and diagnostics (failure_messages 1).

Adaptability14 / 18 · 3.9/5

Targets users running many Claude Code sessions; scenario is clear (audience_and_scenarios 2). Capability boundaries are sharply defined in AGENTS.md: read-only, exception list, platform limits (capability_boundaries 3). Invocation is via CLI flags and TUI keys, well-defined but without natural-language trigger semantics (trigger_precision 2). macOS/Linux only, relying on libproc and /proc, limiting environment fit (environment_fit 2).

Convention14 / 18 · 3.9/5

README is well structured with features, install, keys, options and column customization (information_architecture 3). Install covers script, Homebrew and Bun, plus update and uninstall (install_notes 3). Version numbers are inconsistent between package.json and README examples (v0.9.1 vs v0.5.0), so naming stability is moderate (naming_stability 2). Example scripts and usage examples exist but no FAQ (examples_and_faq 2). Known limitations are scattered (subscription accounts, platforms, stale data) rather than consolidated (known_limitations 2). Full Apache-2.0 license file (license 3). Release workflow with version check exists but no CHANGELOG (versioning_changelog 2). Maintenance responsibility points only to GitHub issues/PRs and the publisher is unverified (maintenance_responsibility 1).

Effectiveness10 / 13 · 3.8/5

TUI plus --json/--once output is practical, columns configurable, information-dense (output_usability 3). Clear marginal value for multi-session monitoring but a convenience tool (marginal_value 2). Zero dependencies, single binary, low overhead, though it needs a resident TUI and status-line hook setup (cost_benefit 2).

Verifiability5 / 8 · 3.1/5

Most README claims map to AGENTS.md and source layout, but some features (notifications, history view) lack source evidence in the sample (claim_traceability 2). Tests and CI workflow corroborate parsing logic, though the sample does not cover all claims (cross_source_corroboration 2). Docs separate facts from design intent (e.g. upgrade as the only network path), but some performance and safety assertions lack evidence (fact_inference_separation 2).

Risks and how to mitigate them
  • The install script is fetched via curl | sh from the main branch; review it and verify checksums before executing.
  • `cctop upgrade` replaces its own binary and rollback requires reinstall; keep a backup of the previous version.
  • The tool reads full transcripts and last prompts; be mindful of local data exposure in sensitive projects.
  • README version examples (v0.5.0) disagree with package.json (0.9.1); rely on the actual release when installing.
  • Publisher identity is unverified; enterprise users should audit the source or verify the build provenance attestation.
Evidence confidence: Low Reviewed Nov 23, 2026 Reviewed revision aa0d763e32fb
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/stefanprodan-cctop.svg)](https://followagents.com/en/agents/stefanprodan-cctop)
<a href="https://followagents.com/en/agents/stefanprodan-cctop"><img src="https://followagents.com/badge/stefanprodan-cctop.svg" alt="FARS review"></a>

FAQ

Does cctop modify my Claude Code session data?
No. It reads only ~/.claude and the process table and writes only its preferences and usage cache under ~/.claude/cctop/. The one exception is an explicit cctop upgrade, which swaps its own binary. Quitting a session (x) or freeing ports (f) sends SIGTERM only after a confirmation.
Can I use it without installing Bun?
Yes. The install script downloads a self-contained standalone binary that needs no Bun runtime; only the bun install -g path requires Bun.
Are notifications and usage limits on by default?
Both are opt-in. Notifications are toggled with n in the TUI; usage limits require adding a cctop --capture-usage call to your Claude Code status-line script.
How do I update to a new version?
Run cctop upgrade (or cctop upgrade --check to only check) or re-run the install script; Homebrew users run brew upgrade stefanprodan/tap/cctop. An already-running TUI notices its binary changed and says so in the footer, taking effect after restart.
Is cctop free?
Yes. cctop is free to use and does not need a paid service.
Is cctop open source?
Yes. The source code is on GitHub (stefanprodan/cctop) under the Apache-2.0 licence.
Is cctop safe to use?
FollowAgents' FARS review (Nov 23, 2026) scored cctop 19/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is cctop still maintained?
Yes. The latest commit on GitHub is from 2026-11-23, within the last 30 days.
Who makes cctop?
cctop is published on GitHub by the account stefanprodan. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts