jamubc/toolbox/tree/main/plugins/browse

jamubc/toolbox/tree/main/plugins/browse

browse 是一個 Claude Code 外掛(來自 jamubc/toolbox marketplace),會在提示列旁的窗格中開啟 Web 瀏覽器。使用 /plugin marketplace add jamubc/toolbox,再使用 /plugin install browse@toolbox 安裝。使用 /browse 開啟起始頁,使用 /browse <address or words> 導覽或搜尋 DuckDuckGo,使用 /browse close 停止。真實像素渲染使用 kitty graphics protocol(kitty 或 Ghostty);其他終端機會退回彩色半區塊,Claude 桌面應用程式、VS Code 擴充功能與行動版不會顯示任何內容。需要 Chrome/Chromium/Brave/Edge 與 PATH 中的 Node.js 18+,支援 macOS(已測試)和 Linux(未測試),目前尚不支援 Windows,並將自己的 Chrome 設定檔保存在 ~/.cache/claude-browse/chrome-profile。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add jamubc/toolbox claude plugin install browse
A Claude Code web browser.

Add the marketplace:
/plugin marketplace add jamubc/toolbox
Install the plugin:
/plugin install browse@toolbox
| Command | What it does |
| --- | --- |
| /browse | Opens the browser on a start page: type an address or a search and press Enter, or pick YouTube, DuckDuckGo, Wikipedia, Hacker News or GitHub. |
| /browse <address or words> | Opens the address, or searches DuckDuckGo. |
| /browse close, or the pane's ✕ | Closes the pane and stops the browser and its sound. |
| The address bar | Type an address or words and press Enter. It has the keys when the start page opens. |
| Click the page | Clicks there. Your keys then go to the page; Esc gives them back to the prompt. |
| Mouse wheel over the page | Scrolls the page. |
| /config → How the page is drawn | auto, always real pixels (kitty or Ghostty only) or always colored blocks (any terminal). |
| Where you run Claude Code | Picture | Sound | | --- | --- | --- | | kitty, Ghostty | Real pixels (kitty graphics protocol). Untested so far. | Yes | | Any other terminal: Terminal.app, iTerm2, Zed, VS Code's terminal, WezTerm, tmux, or over ssh | Colored half-blocks, two pixels per character. Video is recognizable but chunky, and small text cannot be read. | Yes, on the machine running Claude Code | | Claude desktop app, VS Code extension, mobile | Nothing. The pane says the browser only draws in the terminal, and no browser starts. | No |
| System | Status | | --- | --- | | macOS | Tested: YouTube with sound, clicks, keys, the wheel, closing. | | Linux | Should work; untested. Chrome is looked up on your PATH. | | Windows | Not supported yet. The pane says so. |
/config → Browser to draw in and Node.js 18+ to run it./config → How the page is drawn back to auto or colored blocks./browse says so.browser/browser.mjs runs Chrome headless and drives it over the DevTools protocol, with no dependencies.
hooks/register.tsx draws the pane, answers /browse, and forwards the wheel.hooks/pointer.tsx lies over the picture and passes on clicks and keys./clear and /compact leave the page up: /clear starts a new session in the same process, so the pane keeps what it was showing and writes it into the new one./browse <address> shows in the conversation as the command's reply, so Claude can read it. Pages, frames and what you type into the page stay between the pane and the local Chrome.~/.cache/claude-browse/chrome-profile: cookies and logins persist there between sessions, apart from your everyday Chrome profile. Delete that folder to forget them.