terminal-browser Claude Code mod

Embeds a browser alongside the Claude Code conversation.

  • engine.create
  • browser.open
  • browser.close
  • session.start
  • command.run
  • tool.call
  • ui.render
  • ui.message
  • ui.scroll
  • ui.close

Install commands

Enter these two lines in the Claude Code prompt, in order.

1. Add marketplace   2. Install plugin
/plugin marketplace add zenbu-labs/terminal-browser
/plugin install terminal-browser@terminal-browser

Review the source before installing. Installation guide →

Permissions Facts

Can read files
–
Can write files
–
Can access the network
Yes
Can read environment variables
–
Can change prompts
Yes
Can intercept tool calls
Yes

Capability evidence is not a security certification; “–” does not mean a capability is absent.

Source & updates

Last updated
2026-10-07
License
MIT
Plugin version
0.0.2
Claude Code
2.1.287+
Source
2165ae7
Repository stars
3,712
Source files
Plugin manifest ↗Hooks configuration ↗Registered module ↗Marketplace manifest ↗

Source inventory

Declared events: engine.create | browser.open | browser.close | session.start | command.run{command=browser} | tool.call{tool=?} | ui.render{component=Pane | requestId=browser} | ui.message | ui.scroll{requestId=browser} | ui.close{id=browser}

Declared API calls: $.clock.sleep (via watchBridge) | $.command.register | $.fs.exists (via terminalBrowserCommand) | $.http.fetch (via fetchState | post) | $.process.run (via checkCapabilities | startBridge) | $.prompt.fill (via deliverAgentText) | $.session.surfaces | $.tool.register | $.ui.blit (via watchBridge) | $.ui.close (via closeBrowser) | $.ui.invalidate (via deliverAgentText | openBrowser | watchBridge) | $.ui.log | $.ui.open (via openBrowser | $.ui.resolve

Can access the network evidence

terminal-browser:107 ↗

const response = await $.http.fetch(bridgeUrl(path), {

terminal-browser:121 ↗

const response = await $.http.fetch(bridgeUrl(`/state?version=${version}`), { headers: authHeaders() })

Can change prompts evidence

terminal-browser:239 ↗

const { isFilled } = await $.prompt.fill({ text: `${lines.join('\n')}\n` })

Can intercept tool calls evidence

terminal-browser:304 ↗

on('tool.call', { tool: new RegExp(`^${OPEN_TOOL}$`) }, async ($, e) => {

terminal-browser:311 ↗

on('tool.call', { tool: new RegExp(`^${CLOSE_TOOL}$`) }, async ($) => {

Review methodology · Source and updates · Runtime limits · Function hooks guide