terminal-browser

Reviewed at commit 2165ae7

A browser beside your Claude Code conversation for websites, local HTML previews and GitHub pull requests.

Made by
zenbu-labs
What we checked

Adds a /browser command that opens a pane showing a real web browser inside Claude Code in the terminal. Your clicks, scrolling and typing in the pane go to that browser, and text you send from the browser to the agent is placed in your prompt box. It needs the separate terminal-browser program installed on your machine.

Review details

Static review of the source at the pinned commit; not run. The function-hook module hooks/register.tsx registers engine.create, browser.open, browser.close, session.start, command.run (/browser), ui.render (Pane), ui.message, ui.scroll, ui.close and, only when the agentTool option is switched on (off by default), tool.call handlers for the open and close tools it registers itself. It starts the separately installed terminal-browser program with $.process.run (terminal-browser capabilities, terminal-browser claude-bridge launch; a checkout copy at ../cli/dist/main.js is used if present) and then talks to it only over http://127.0.0.1:<port> with a bearer token, using $.http.fetch. Key presses, pointer events and scroll ticks from the pane are forwarded to that local bridge; frames come back through shared memory and are drawn with $.ui.blit. Text the user sends from the browser to the agent is stripped of control characters and put into the prompt box with $.prompt.fill, not submitted. The only change since the previous review is that the leading '> ' quote marker is no longer added to that text. The plugin reads no files and no prompts and writes no files. The external terminal-browser program, which fetches whatever pages you open, was not reviewed; its README says it installs with curl | bash or brew and sends pseudo-anonymous usage events and crash reports unless disabled (DO_NOT_TRACK=1, TERMINAL_BROWSER_NO_TELEMETRY=1 or a config setting). Failure behaviour: if the program is missing or too old the command returns an install or upgrade message.

What it uses
  • Reads your prompts: no
  • Sees tool calls: no
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events

A browser running directly inside claude code. Preview websites, view HTML documents, and let your agent control the built in browser.

Made this mod? Add a badge to your README

modsforClaude badge for terminal-browser

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/terminal-browser.svg)](https://modsforclaude.com/mods/terminal-browser/)

← All mods