Real-time dashboard for monitoring multiple Claude Code sessions. CLI and mobile web UI with QR code access. Supports terminal focus switching for iTerm2, Terminal.app, and Ghostty on macOS. Ideal for operations teams managing multiple coding sessions.
git clone https://github.com/onikan27/claude-code-monitor.gitThe claude-code-monitor skill provides a real-time dashboard designed for monitoring multiple Claude Code sessions simultaneously. This skill features a command-line interface (CLI) and a mobile web UI, enabling users to access their sessions easily via QR code. It supports terminal focus switching for popular terminal applications like iTerm2, Terminal.app, and Ghostty, making it a versatile tool for macOS users who need to keep track of various workflows efficiently. One of the key benefits of the claude-code-monitor skill is its ability to streamline the monitoring process, allowing developers and AI practitioners to focus on their tasks without constantly switching between sessions. While specific time savings are not quantified, the skill's design aims to enhance productivity by providing a centralized view of ongoing sessions, thus reducing the time spent on manual monitoring. This skill is particularly useful for developers and product managers who work with multiple Claude Code instances and require an efficient way to oversee their operations. It can also benefit AI practitioners looking to optimize their workflow automation processes. By utilizing claude-code-monitor, users can ensure they are always informed about the status of their sessions, enabling quicker decision-making and troubleshooting. Implementation of the claude-code-monitor skill is categorized as intermediate, with an estimated setup time of around 30 minutes. Users will need a macOS environment to utilize this skill effectively. As businesses increasingly adopt AI-first workflows, integrating such monitoring tools becomes essential for maintaining operational efficiency and ensuring that AI automation processes run smoothly.
[{"step":"Install the claude-code-monitor CLI tool via pip (pip install claude-code-monitor) or Homebrew (brew install claude-code-monitor). Verify installation with `claude-code-monitor --version`.","tip":"Ensure you have Python 3.9+ and Node.js 16+ installed for full functionality."},{"step":"Start monitoring sessions by running `claude-code-monitor start --project E-commerce --os macOS`. The tool will automatically detect active Claude Code sessions.","tip":"Use `--filter` flag to focus on specific projects or metrics (e.g., `--filter \"cpu>60\"` for high CPU sessions)."},{"step":"Generate a shareable dashboard with `claude-code-monitor dashboard --qr --expires 2h`. Scan the QR code with your mobile device to access the web UI.","tip":"Set up automatic dashboard refresh with `--refresh 5s` for real-time monitoring."},{"step":"Switch between sessions directly from your terminal using the focus controls (⌘+1 to ⌘+9). For iTerm2 users, enable \"Applications in terminal may access clipboard\" in preferences.","tip":"Customize keyboard shortcuts by editing ~/.claude-code-monitor/config.json."},{"step":"Export session data for analysis with `claude-code-monitor export --format csv --output sessions.csv` or generate a PDF report with `claude-code-monitor report --output report.pdf`.","tip":"Use `--include` and `--exclude` flags to customize report content."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/onikan27/claude-code-monitorCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Set up a real-time monitoring dashboard for [NUMBER] active Claude Code sessions running [PROJECT_NAME] on [OPERATING_SYSTEM]. Focus on [KEY_METRICS: CPU usage, memory consumption, active files, or error rates]. Use the claude-code-monitor CLI tool to generate a shareable QR code for mobile access. Prioritize sessions with [CRITERIA: high error rates or resource spikes].
``` claude-code-monitor v1.2.3 - Real-time Session Dashboard Active Sessions (5/5): ┌─────────────────────────────────────────────────────────────────────┐ │ ID │ Project │ Status │ CPU% │ Memory │ Active File │ Errors │ ├─────────────────────────────────────────────────────────────────────┤ │ 101 │ E-commerce │ Running │ 45% │ 1.2GB │ /src/models/user.js │ 0 │ │ 102 │ API Gateway │ Running │ 78% │ 2.1GB │ /src/routes/auth.js │ 3 │ │ 103 │ Data Pipeline │ Paused │ 12% │ 0.8GB │ /src/transformers.py │ 0 │ │ 104 │ Mobile App │ Running │ 62% │ 1.5GB │ /lib/utils/network.js │ 1 │ │ 105 │ Admin Panel │ Running │ 33% │ 0.9GB │ /src/components/Navbar│ 0 │ └─────────────────────────────────────────────────────────────────────┘ Critical Alerts: - Session #102 (API Gateway): 3 errors in /src/routes/auth.js (JWT validation failures) - Session #104 (Mobile App): High memory usage (1.5GB) - potential leak in network.js Mobile Access: 📱 QR Code: [Generated QR code linking to https://monitor.claude.local/session/102] Expires: 2024-05-20 14:30 UTC Terminal Focus Controls: ⌘+1: Switch to E-commerce (Session 101) ⌘+2: Switch to API Gateway (Session 102) ⌘+3: Switch to Data Pipeline (Session 103) ⌘+4: Switch to Mobile App (Session 104) ⌘+5: Switch to Admin Panel (Session 105) Next Steps: 1. Investigate Session 102 errors - check JWT middleware configuration 2. Profile Session 104 memory usage using claude-code-monitor profile 104 3. Schedule Session 103 resume for 15:00 UTC ```
Modern publishing platform for content-driven growth
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan