Skip to content
Claude Code & Tools

Claude Code Session Dashboard for Multiple Computers

See how a Claude Code session dashboard brings multi-computer status, remote approvals, and account limits together, and what to check before deployment.

Keeping track of my Claude Code sessions meant moving between terminals just to see what needed approval and what had finished. There was one session on my home PC, two on a server, and one on a build VM. Account usage limits needed a separate check.

So I built a session dashboard and a plugin. The aim was to see everything in one place and answer a waiting session even when I wasn't at the terminal.

The dashboard shows session status and conversations across computers in a browser, where you can also answer approval requests or send the next instruction. The same screen works on a phone.

Session status and remote approvals

Each computer runs a plugin built from Node scripts with no additional dependencies. The plugin sends session information to the server, which stores it and displays it in the web dashboard.

For the server, I used Hono and PostgreSQL; the web interface is built with React. Development requires Node.js 22 or later. The API contracts and session-state rules that the server, web interface, and plugin need to agree on are documented separately.

The plugin is registered in the marketplace, and the commands below run inside Claude Code. Replace the example server URL with the address of the server you're connecting to. New users need administrator approval first.

Text
/plugin install c-monitor@c-monitor
/c-monitor:connect https://c-monitor.example.com
Install and connect after marketplace registration
  1. Run the install and connect commands, then find the approval link and verification code in the terminal.
  2. Open the approval link in a browser. It opens automatically on a desktop, but you'll need to open it yourself in a headless environment such as an SSH session.
  3. Sign in with a Google account.
  4. Check that the computer name and verification code in the browser match what's shown in the terminal.
  5. Approve the connection. That computer will then send its session information automatically.
Mermaid
flowchart LR
 P[PC plugin] -->|Mask, then send| S[Collection server]
 S --> W[Web dashboard]
 S -->|Notifications| T[Telegram]
 W -->|Approvals and instructions| S
 T -->|Replies| S
 S -->|Remote replies| P
Plugins send session information to the server, which passes replies from the web and Telegram back to the sessions.

The dashboard groups sessions by computer and shows each computer's connection status, operating system, and plugin version. Computers stay in the list even when they have no running sessions, because I still want to know which machines are connected.

Session cards use color to distinguish their states. A glance at the dashboard shows where work is running and where a session is waiting for an answer.

Card appearanceSession state
RedWaiting for an answer or approval
GreenTask complete
BlueWorking
Dashed orangeDisconnected
GraySession ended

A completed task and an ended session are different states. Green cards blink until the next task starts, while red cards stop blinking when you open them. Click a card to see the conversation and tool-use history, along with the session's context usage and estimated cost.

Usage limits have their own cards, grouped by Claude account. They show usage against the five-hour and weekly limits, reset times, and the trend over the past seven days. Colors change when usage exceeds 80% and 95%, and crossing a limit threshold also triggers a notification. I added these cards to see which account would run out of capacity first when several sessions were running.

An approval request gets buttons for Allow, Allow for this session, and Deny. Multiple-choice questions get buttons for their options, and a text field lets you send the next instruction. In Telegram, you can use the buttons or reply to the message.

The approval prompt stays open in the terminal. The first reply sent from the web, Telegram, or the terminal takes effect, so you can still answer in the terminal as usual even with remote replies enabled.

As of plugin 0.3.1, the implemented features include collecting session status, conversations, and account limits, plus answering approval requests and sending instructions from the web or Telegram. What I haven't measured yet is how much approval wait times or transmission delays have decreased.

Mask secrets before sending

Because conversations are sent to a server, the plugin masks strings that look like API keys, tokens, or passwords on the computer itself, before transmission. Masking them on the server would be too late: the original values would already have left the computer.

Masking doesn't mean conversations stay off the server. The full session conversation is stored, including user messages, Claude's replies, and tool inputs and results. Users can view their own computers and sessions, plus sessions shared with them; administrators can view stored conversations for operational purposes.

The masking looks for formats that resemble secrets, so it shouldn't be treated as a filter for every kind of sensitive information. Before using a tool that stores entire conversations, check what gets masked, what remains in the records, and who can read them.

A hand holds a brass stencil over blacked-out lines on paper before sending it through a mail slot.

Keep working during server outages

A tool added to monitor Claude Code shouldn't stop the work it's monitoring. I designed it so tasks keep running even if the server is down or a transmission fails.

Unsent records are kept for a later retry. During a temporary collection-server outage, Claude Code continues working, and the backlog is sent once the server returns.

Boxes keep moving along a conveyor while other boxes wait in a basket beside an unlit indicator.

Deployment and maintenance

Deployment uses Docker Compose. Copy the example environment file to deploy/.env.prod, fill in the values, then build and start the containers with the command below. The app container doesn't expose host ports directly; it's accessible only through the proxy network.

Shell
docker compose -f deploy/compose.yml --env-file deploy/.env.prod up -d --build
Initial deployment

For later updates, run the deployment script from the repository directory on the server. It backs up the database first, gets the latest code with git pull --ff-only, then builds, starts the containers, and checks that they're running correctly.

Shell
bash deploy/deploy.sh
Subsequent updates

A healthy container doesn't necessarily mean conversations will appear in real time. If the display lags, check buffering on the reverse proxy that carries the conversation stream. With buffering enabled, the proxy collects responses before forwarding them, which delays what appears on screen. Turn buffering off for real-time display.

nginx
proxy_buffering off;
Reverse-proxy stream setting

Sessions that were already open when you installed the plugin won't appear on the dashboard automatically. Run /reload-plugins in each existing session or restart Claude Code.

Reload the plugin after an update, too; otherwise, open sessions keep using the previous version's hooks. Remote replies are supported from plugin 0.2.0 onward, so a session upgraded from 0.1.x can't accept web replies until you reload it.

Be careful with the delete button on ended or disconnected session cards. It deletes the session immediately, without confirmation, and removes the stored conversation from the server as well. There's no undo, so check for any records you need to keep before clicking.

Rather than add more sessions next, I want to test a longer server outage and time how long the queued records take to appear on the dashboard after it comes back.

Joy

Leads AI adoption at a large Korean enterprise. Uses AI firsthand, at work and in everyday life, and writes down what ran, what stalled, and how it changes the way we work and think.

Need help rolling out tools or training your team?

Talks and advisory

Share this postXFacebookThreads