agentview
/agentview
Live visual dashboard of Claude Code agents working — one column per agent (main + each subagent), every tool call with timing, status, inputs and outputs. Use when the user types /agentview, or asks to see/watch/monitor/visualize what the agents or subagents are doing, open the agent panel/dashboard, or stop/uninstall agentview.
- Author
- rm0ntoya ↗
- Repository
- agentview ↗
- Licence
- MIT
- Last repository change
- 03.11.2026
Assessment and security
- Files in this package
- 66
- Scripts
- 42
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 03.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 42 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/bridge.ts, scripts/chat.ts, scripts/ctl.sh, scripts/env.ts, scripts/history.ts, scripts/hook.sh, scripts/install-hooks.sh, scripts/pty.ts
What it does and when to use it
Live visual dashboard of Claude Code agents working — one column per agent (main + each subagent), every tool call with timing, status, inputs and outputs. Use when the user types /agentview, or asks to see/watch/monitor/visualize what the agents or subagents are doing, open the agent panel/dashboard, or stop/uninstall agentview.
Original author description
Live visual dashboard of Claude Code agents working — one column per agent (main + each subagent), every tool call with timing, status, inputs and outputs. Use when the user types /agentview, or asks to see/watch/monitor/visualize what the agents or subagents are doing, open the agent panel/dashboard, or stop/uninstall agentview.
How it works
- Project binding + terminal bridge (default behaviour of /agentview)
- Views (tabs, keys 1-6)
- Phone access
- Security
- Commands
- Troubleshooting
SKILL.md preview
---
name: agentview
description: Live visual dashboard of Claude Code agents working — one column per agent (main + each subagent), every tool call with timing, status, inputs and outputs. Use when the user types /agentview, or asks to see/watch/monitor/visualize what the agents or subagents are doing, open the agent panel/dashboard, or stop/uninstall agentview.
---
# agentview
Local web dashboard fed by Claude Code hooks. Hooks POST every event to a Bun server on
`127.0.0.1:4777`, which streams them to the browser over WebSocket.
Everything lives in `~/.claude/skills/agentview/`:
- `scripts/ctl.sh` — control script (use this, don't call the pieces directly)
- `scripts/hook.sh` — hook forwarder (1s timeout, always exits 0, never blocks a session)
- `scripts/server.ts` — Bun server, history in `~/.claude/agentview/events.jsonl` (last 5000 events)
- `ui/index.html` + `app.js` + `state.js` + `graph.js` + `style.css` — "mission control" dashboard:
3D agent graph (three.js r170 vendored in `ui/vendor/`, bloom), live terminals per agent, KPIs, timeline,
activity matrix, latency histogram, hot files, event stream; themes NEON/MAGENTA/AMBER/MONO (key `t`)
- `ui/classic.html` — the simple column view (`/classic.html`)
- the server also reads transcripts incrementally to attach token usage (`_usage`) to events
## Project binding + terminal bridge (default behaviour of `/agentview`)
`/agentview` binds the dashboard to **the folder and the Claude Code session that ran it**
(`ctl.sh start` calls `ctl.sh bind` with `$PWD` and `$CLAUDE_CODE_SESSION_ID`). Every tab then shows only that
project (header toggle "todos" shows everything, only when the user asks). Requests typed or spoken in the
dashboard (JARVIS tab) are NOT run by a separate agent: they are delivered to THIS terminal session, which
executes them. The dashboard only watches (hooks) and relays.
When the user runs `/agentview`:
1. `~/.claude/skills/agentview/scripts/ctl.sh start` (binds + opens browser).
2. Start the listener with the **Monitor** tool: command `~/.claude/skills/agentview/scripts/ctl.sh listen`,
description `pedidos do agentview`, `timeout_ms: 1800000`. Re-arm it every time it expires, for the whole session.
3. Tell the user (in Portuguese) that the dashboard is bound to this project and listening.
Each monitor line is one of:
- `[agentview · pedido texto|voz] <texto>` → treat it exactly as if the user typed `<texto>` here, in this project.
Do the work normally (subagents, tools…). Your final reply is captured by the Stop hook and shown/spoken in
the dashboard. For `voz` requests end the reply with one short spoken summary inside `<fala>…</fala>`
(no markdown inside it); the dashboard speaks only that part.
- `[agentview · resposta …] <texto>` → the user's answer to the last question you asked with `ctl.sh ask`.
Talk while working (voice requests): right after a request arrives, BEFORE using tools, run
`ctl.sh say "<one sentence: what you understood and what you'll do>"` — the dashboard speaks it immediately.
Use `ctl.sh say` again for meaningful progress or blockers mid-way (sparingly). NEVER use `ctl.sh say` for the
final result — the result is spoken only from the `<fala>` of your final reply (otherwise the user hears it twice). Permission prompts raised in the
terminal are announced in the dashboard automatically.
Asking the user something while handling a dashboard request: do NOT use AskUserQuestion (it only shows in the
terminal). Run `ctl.sh ask "pergunta" "opção 1|opção 2"`, end the turn, and continue when the
`[agentview · resposta]` line arrives. Before any commit/push/deploy, state the project folder.
Other commands: `ctl.sh bind [dir]`, `ctl.sh unbind` (back to all projects), `ctl.sh status` (shows bound project and
whether the terminal is listening).
## Views (tabs, keys 1-6)
1. **CONTROLE** — live 3D mission control of every Claude Code session (hooks). Click an agent (list, graph node
or mini-terminal header) to open its live terminal: the agent's own transcript (prompts, text, tool calls with full
input/output, optional thinking), refreshed every second (`/api/agent/<session>/<agent|main>`, `ui/agentterm.js`).
2. **COMANDO** — start Claude Code sessions via the Agent SDK (`scripts/chat.ts`): pick folder, model and
permission mode, send requests (queued one at a time), watch the streamed answer and tool calls,
approve/deny permissions (Y / A / N), interrupt (Esc), switch mode, open the session in a terminal.
3. **TERMINAIS** — real PTY terminals (`scripts/pty.ts`, Bun native PTY + xterm.js): shell, `claude`, or
`claude --resume <id>`; tiled layouts, maximize; they survive page reloads (output replayed). Manager sidebar:
name, color, icon, note, pin, drag-reorder, hide, duplicate, restart; live folder / foreground program.
## Phone access
📱 CELULAR (header) or `ctl.sh mobile [tunnel|lan|off]` → pairing QR code (single use, 5 min) → the phone opens the
mobile UI `/m` (JARVIS, chats, terminals, agents, conversations). `tunnel` = Cloudflare quick tunnel (HTTPS, anywhere,
mic works, URL changes each start); `lan` = same Wi-Fi on port+1 (HTTP, no mic). Devices are listed/revoked in the
same modal (`scripts/remote.ts`). When the user asks for phone access, run `ctl.sh mobile` and show the printed URL.
4. **CONVERSAS** — browse past transcripts in `~/.claude/projects`, continue one in COMANDO or a terminal.
5. **JARVIS** — live voice conversation (when a project is bound: talks to the bound terminal session; see above) (`ui/jarvis.js`, `scripts/voice.ts`): mic → ElevenLabs realtime Scribe
(browser websocket with a single-use token; local VAD only streams while someone talks) → a dedicated Agent SDK
chat whose system prompt makes Claude wrap the spoken part in `<fala>…</fala>`. The feed shows everything in
detail; only the `<fala>` summary is spoken via ElevenLabs TTS (proxied by the server). Permissions can be
answered by voice ("sim" / "sempre" / "não"); "para" interrupts. Space toggles the mic, Esc stops speech.
ElevenLabs key: `ELEVENLABS_API_KEY` env or the CONFIG tab (6) (saved to `~/.claude/agentview/voice.json`, mode 600).
6. **CONFIG** — ElevenLabs key, JARVIS voice (voice list/ID, TTS model incl. Eleven v4 / v4 Turbo, speed, stability,
similarity), Claude model (list read from the gateway at ANTHROPIC_BASE_URL), folder and permission mode.
## Security
The server only binds 127.0.0.1, rejects foreign `Host`/`Origin` headers, and every API / WebSocket call
needs the token cookie. The token lives in `~/.claude/agentview/token` (mode 600); `ctl.sh open` opens
`/auth?t=<token>` which sets the cookie. Delete the token file and restart to rotate it. Hook ingest
(`POST /event`) needs no cookie. Requests sent from COMANDO use the user's Claude plan like the CLI does.
## Commands
Map the user's request to one call of `~/.claude/skills/agentview/scripts/ctl.sh`:
| User wants | Run |
|---|---|
| open / start / see agents (default for `/agentview`) | `ctl.sh start` (installs hooks if missing, starts server, binds current project + session, opens browser) — then start the `ctl.sh listen` Monitor (see above) |
| start without opening browser | `ctl.sh start --no-open` |
| is it running? | `ctl.sh status` |
| print the login URL (with token) | `ctl.sh url` |
| phone access / QR code | `ctl.sh mobile` (tunnel) or `ctl.sh mobile lan`; `ctl.sh mobile off` to stop |
| stop the server | `ctl.sh stop` |
| remove completely | `ctl.sh uninstall` (stops server and removes hooks from settings.json; backup is kept) |
Hooks are registered in `~/.claude/settings.json` for PreToolUse, PostToolUse, PostToolUseFailure,
SubagentStart, SubagentStop, UserPromptSubmit, Stop, SessionStart, SessionEnd and Notification.
`install-hooks.sh` is idempotent and writes `settings.json.bak-agentview-<timestamp>` before each change.
After starting, tell the user the URL (`http://127.0.0.1:4777`) and that events only appear while the
server is running (when it's stopped the hook fails silently in under a second).
## Troubleshooting
- Nothing shows up: `ctl.sh status`; check `~/.claude/agentview/server.log`; confirm hooks with
`jq '.hooks.PreToolUse' ~/.claude/settings.json | grep agentview`.
- Port taken: set `AGENTVIEW_PORT` for both the server and the hook (export it in the shell profile).
Files in this package (66)
- .env.example 1 KB
- .gitignore 1 KB
- CHANGELOG.md 6 KB
- CONTRIBUTING.md 10 KB
- LICENSE 1 KB
- README.en.md 23 KB
- README.md 24 KB
- SECURITY.md 6 KB
- SKILL.md 8 KB
- bun.lock 24 KB
- package.json 1 KB
- scripts/bridge.ts 9 KB
- scripts/chat.ts 15 KB
- scripts/ctl.sh 5 KB
- scripts/env.ts 1 KB
- scripts/history.ts 8 KB
- scripts/hook.sh 1 KB
- scripts/install-hooks.sh 1 KB
- scripts/pty.ts 12 KB
- scripts/qr.ts 11 KB
- scripts/remote.ts 11 KB
- scripts/server.ts 21 KB
- scripts/voice.ts 8 KB
- ui/agentterm.js 4 KB
- ui/app.js 29 KB
- ui/classic.html 29 KB
- ui/command.js 15 KB
- ui/graph.js 23 KB
- ui/history.js 4 KB
- ui/index.html 17 KB
- ui/jarvis-worklet.js 1 KB
- ui/jarvis.css 7 KB
- ui/jarvis.js 38 KB
- ui/m-icon.svg 1 KB
- ui/m.css 37 KB
- ui/m.html 9 KB
- ui/m.js 43 KB
- ui/m.webmanifest 1 KB
- ui/md.js 2 KB
- ui/msgs.js 4 KB
- ui/phone.js 6 KB
- ui/settings.css 5 KB
- ui/settings.js 7 KB
- ui/state.js 13 KB
- ui/style.css 20 KB
- ui/terms.js 20 KB
- ui/ui.js 3 KB
- ui/views.css 28 KB
- ui/vendor/three/LICENSE 1 KB
- ui/vendor/three/addons/controls/OrbitControls.js 31 KB
- ui/vendor/three/addons/postprocessing/EffectComposer.js 5 KB
- ui/vendor/three/addons/postprocessing/MaskPass.js 2 KB
- ui/vendor/three/addons/postprocessing/OutputPass.js 2 KB
- ui/vendor/three/addons/postprocessing/Pass.js 2 KB
- ui/vendor/three/addons/postprocessing/RenderPass.js 2 KB
- ui/vendor/three/addons/postprocessing/ShaderPass.js 2 KB
- ui/vendor/three/addons/postprocessing/UnrealBloomPass.js 12 KB
- ui/vendor/three/addons/renderers/CSS2DRenderer.js 5 KB
- ui/vendor/three/addons/shaders/CopyShader.js 1 KB
- ui/vendor/three/addons/shaders/LuminosityHighPassShader.js 1 KB
- ui/vendor/three/addons/shaders/OutputShader.js 1 KB
- ui/vendor/xterm/LICENSE 1 KB
- ui/vendor/xterm/addon-fit.mjs 2 KB
- ui/vendor/xterm/addon-web-links.mjs 3 KB
- ui/vendor/xterm/xterm.css 7 KB
- ui/vendor/xterm/xterm.mjs 337 KB
Versions
The database has no other skills named agentview.
Database snapshot: 13.11.2026 · package version eb09ac4167cc (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90dashboard
The AOS dashboard: a read-only live monitor of Claude Code agents (agents, tasks, cost, file conflicts, alerts, history) served at http://127.0.0.1:4318. Use when the user asks about the AOS dashboard, live agent status, what agents are doing, session cost, file collisions… - 92create-subagents
Expert guidance for creating, building, and using Claude Code subagents and the Task tool. Use when working with subagents, setting up agent configurations, understanding how agents work, or using the Task tool to launch specialized agents. - 92create-subagents
Expert guidance for creating, building, and using Claude Code subagents and the Task tool. Use when working with subagents, setting up agent configurations, understanding how agents work, or using the Task tool to launch specialized agents. - 86sweep
Report what the agents and tasks this session started are doing, with their pull requests and CI, and what needs the user next. Use when asked how the agents are doing, for a status update on dispatched work, or what's left to decide. - 91agent-office
Open a live office view of every coding agent on this machine — Claude Code, Codex, Copilot CLI, Kimi Code, Grok Build, DeepSeek Harness, Gemini CLI, Qwen Code, Pi, omp, Qoder, WorkBuddy and CodeBuddy — and show who is thinking, running a tool, waiting for you, done or stuck.… - 100claude-code-subagents
This skill should be used when creating, configuring, or working with Claude Code subagents. Use when users ask to create custom subagents, set up subagent configurations, manage tool permissions, or need guidance on subagent architecture and best practices.