Claude Code usage

Claude Esp

Stream Claude Code's hidden output (thinking, tool calls, subagents) to a separate terminal in real-time

Install

Install
go install github.com/phiat/claude-esp@latest

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/phiat/claude-esp.git

From the README

claude-esp

Stream Claude Code's hidden output (thinking, tool calls, subagents) to a separate terminal in real-time.

Looking for the Rust port? See: claude-esp-rs

The Problem

When using Claude Code interactively, tool outputs and thinking are collapsed by default and require pressing Ctrl+O to toggle visibility. This tool lets you watch all that output in a separate terminal with a nice TUI, without interrupting your main Claude Code session.

Features

- Multi-session support - Watch all active Claude sessions simultaneously
- Hierarchical tree view - Sessions with nested Main/Agent nodes
- Real-time streaming - See thinking, tool calls, and outputs as they happen
- Subagent tracking - Automatically discovers and displays subagent activity
- Session events - Compaction boundaries, hook output (including hook errors, blocked stops and injected context), post-edit LSP diagnostics, PR-link and artifact-link events, session-cost summaries (cost, lines changed, models used), session continuations, background-task progress, prompt-cache misses (with reason + extra tokens), queue operations, slash-command invocations, transient notices, killed-subagent markers, model refusals, scheduled-task (cron / loop) fires, plan/auto mode transitions, permission-mode changes, and skill/MCP/tool deltas surfaced inline
- Agent type labels - Shows agent types (Explore, code-reviewer, etc.) from .meta.json
- Token usage tracking - Cumulative input/output token counts in the header bar
- Per-agent context size - Each Main/subagent row shows current context as a percentage of the model's max context window (Main 18%, Explore 9%). Denominator is the model's *max window* (1M for the Claude 5 family, Haiku 5.5 included, and opus-4-6 through 4-8 / sonnet-4-6, 200k for haiku-4-5), not the…
Read the full README on GitHub

Details

Language
Go
License
MIT
Last updated
23 October 2026
Topics
agentsclaudegotui

FAQ

What is Claude Esp?

Stream Claude Code's hidden output (thinking, tool calls, subagents) to a separate terminal in real-time It is a usage for Claude Code, from phiat/claude-esp on GitHub.

How do I install Claude Esp?

Run go install github.com/phiat/claude-esp@latest, then follow the setup in the README.

Is Claude Esp popular?

phiat/claude-esp has 157 GitHub stars and 6 forks, and is included in 2 curated Claude Code lists. It was last updated on 23 October 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.