Use this skill when the user needs to control the browser launch mode for browser. By default browser is managed by Playwright and opens no debugging port (pass
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-browser-visible-en-0908761b0032 ,按照其中的说明把「browser_visible」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Deprecated: This reference supports the stable
browserimplementation. hatch. Prefer the unifiedbrowsertool when experimental mode is enabled.
browser.start launch modes:
cdp_port=N: managed CDP, opens a local debugging port so other local tools can attach (see the browser_cdp skill)private_mode=true: same as the default, kept for backward compatibilityParameter meanings:
headed: whether to display the browser windowprivate_mode: kept for backward compatibility; it no longer changes the launch modeThe two parameters are independent and can be freely combined.
Default launch:
{"action": "start"}
Open a visible window:
{"action": "start", "headed": true}
private_modeAlready the default behavior — do not set it. The parameter is kept only so that older calls keep working, and passing it together with cdp_port is rejected.
private_mode is an explicit parameter for each start call and is not persistedstop it and then start again to switch launch modes or window visibility