Community程式設計與開發github.com

ashley-seymour/claude-skills

在首次使用 Claude 桌面應用程式的內建瀏覽器(也稱為應用程式內瀏覽器、瀏覽器面板、Claude 瀏覽器或「您自己的瀏覽器」)步驟之前,請先閱讀此技能。其工具在桌面應用程式中執行時命名為 mcp__Claude_Browser__*,而在連結至使用者電腦的雲端工作階段中則為 mcp__remote-devices__Claude_Browser__*;在這些工具啟用前,可能只有一個 enable__mcp__remote-devices__Claude_Browser 工具。內容涵蓋面板的持續登入狀態、分頁與 preview_start、以文字讀取頁面、網站授權、面板無法開啟的內容,以及無法存取時的處理方式。此技能不適用於 Chrome 中的 Claude(mcp__claude-in-chrome__* 工具,該工具有其專屬技能),也不決定應使用哪個瀏覽器。

claude-skills 是什麼?

此技能(ashley-seymour/claude-skills)提供了使用 Claude 桌面應用程式內建瀏覽器面板的完整指南。這套瀏覽器工具在本地桌面工作階段中命名為 `mcp__Claude_Browser__*`,在雲端工作階段中則為 `mcp__remote-devices__Claude_Browser__*`。技能詳述了面板的持久化登入、分頁管理、文字讀取頁面、網站授權以及無法開啟的內容(如 file:// URL 和本機 localhost)。當面板隱藏或離線時,技能指導 Claude 如何通知使用者,並與使用者協作。此技能對於任何需要在 Claude 對話中可靠地自動執行瀏覽操作的開發者或 AI 代理使用者極具價值,無論是在桌面環境還是雲端環境。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ashley-seymour/claude-skills/tree/HEAD/.trash/1792396014664-17492-PVvHm9/built-in-browser

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

內建瀏覽器

內建瀏覽器是 Claude 桌面應用程式中的一個真實瀏覽器面板,與使用者的 Chrome 瀏覽器分開。其工具在會話本身於桌面應用程式中執行時命名為 mcp__Claude_Browser__*,而當會話在雲端執行(從網頁、手機或桌面應用程式啟動)並連結至使用者電腦時,則命名為 mcp__remote-devices__Claude_Browser__*。兩種情況下前綴之後的名稱相同,Claude 會使用實際存在的前綴,而此技能所指的工具名稱均為前綴之後的部分。

如果唯一存在的內建瀏覽器工具是 enable__mcp__remote-devices__Claude_Browser,Claude 會先呼叫它:它會為此對話開啟內建瀏覽器,一旦執行完成,mcp__remote-devices__Claude_Browser__* 工具就會出現。

使用者可以看到的內容

瀏覽器面板與構件、文件和檔案預覽共用桌面應用程式的側邊面板,該面板一次只顯示其中一個內容。當瀏覽器面板顯示時,使用者可以看到 Claude 所見的內容,並可隨時瀏覽或接管操作。當面板中開啟其他內容,或面板關閉時,內建瀏覽器仍會繼續運作,但使用者無法看到它。

在要求使用者親自於內建瀏覽器中執行操作(如點擊按鈕、登入或完成驗證步驟)之前,Claude 會先呼叫 tabs_context,其結果會說明瀏覽器面板是顯示中、隱藏中還是未開啟。如果面板未開啟,Claude 會先開啟頁面並再次檢查。如果面板處於隱藏狀態,Claude 會先要求使用者在 Claude 桌面應用程式中將瀏覽器面板叫出:在 Mac 上按下 Cmd+Shift+B,或在 Windows 上按下 Ctrl+Shift+B,或者關閉側邊面板中任何其他開啟的內容,然後點擊地球圖示(瀏覽器按鈕)。接著 Claude 會說明要在瀏覽器中執行的操作。Claude 之所以提出要求,是因為使用瀏覽器並不會自動讓面板重新顯示,而且面板顯示什麼內容是由使用者決定的。Claude 也會在對話中說明它在瀏覽器中找到或做了什麼,因為使用者可能沒有在觀看面板。

登入狀態會持續保留,且屬於使用者

內建瀏覽器會保留其自身的持久化設定檔,該設定檔在桌面應用程式的各個會話之間共享。使用者或先前的會話可能已在某些網站登入,而 Claude 完成的登入動作也會持續保留供後續使用。Claude 會將現有的工作階段視為使用者的:它絕不會登出、變更憑證,或對帳戶執行任務所需範圍之外的操作。

分頁

內建瀏覽器具備分頁功能。preview_start 搭配 url 參數可以在一次呼叫中於該 URL 開啟一個新分頁並回傳 tabId,此舉不會影響現有分頁,因此當目標已知時,Claude 會優先使用它,而非先使用 tabs_create 再使用 navigate。navigate、read_page、get_page_text、find、computer、form_input 以及主控台和網路讀取工具,皆作用於由 tabId 指定的分頁;省略 tabId 則作用於當前作用中的分頁,而 tabs_context 會列出所有開啟的分頁。

透過 ToolSearch 載入

Claude 會批次載入內建瀏覽器工具,而非逐一載入:如果它們在延遲清單中,Claude 會在一次 ToolSearch 呼叫中全部載入,查詢條件為其完整名稱前綴,例如 { query: "mcp__remote-devices__Claude_Browser__", max_results: 64 }。

讀取頁面

Claude 偏好使用 get_page_text 和 read_page 而非螢幕截圖來讀取頁面,因為它們回傳的是頁面的實際文字和結構,而非可見視窗的像素。computer 搭配動作 "screenshot" 則用於視覺佈局是重點,或使用者要求檢視頁面的情況。

網站授權、封鎖的網站與 request_access

根據使用者的授權設定,使用者可能會被要求在 Claude 操作某個網站之前先進行核准,而某些網站則會直接被封鎖。Claude 會等待待處理的授權,而非想辦法繞過。如果頁面被拒絕或授權被駁回,Claude 會告知使用者並繼續進行,而非重試。

當工具帶有 mcp__remote-devices__Claude_Browser__ 前綴時,授權請求可以從使用者的任何裝置上回應,且可能需要一些時間才能送達,而該會話可能也有一個 request_access 工具。如果某個瀏覽器工具回應說該網站尚未獲得允許,且 request_access 工具存在,Claude 會使用該網站的 URL 和範圍 "once"(或者當任務會持續使用該網站時使用 "site")來呼叫它,等待使用者回應,然後重試原始工具。如果沒有 request_access,則被拒絕的網站會按照上述方式處理:Claude 告知使用者並繼續進行。

內建瀏覽器無法開啟的內容

內建瀏覽器無法開啟 file:// URL 或 Claude 自行啟動的 localhost 伺服器,因為這些伺服器執行在 Claude Shell 的執行環境中,而非瀏覽器面板的執行環境。為了向使用者顯示 Claude 生成的 HTML,Claude 應改用構件。

當內建瀏覽器無法連線時

當工具帶有 mcp__remote-devices__Claude_Browser__ 前綴時,瀏覽器面板執行在使用者電腦的 Claude 桌面應用程式中,而 Claude 則在其他地方執行,因此只有在該應用程式開啟且線上時才能連線。如果這些工具呼叫無法連線到桌面應用程式(出現連線錯誤或無回應),Claude 會告知使用者內建瀏覽器在其電腦上似乎處於離線狀態,而非重試,並遵循工作階段的瀏覽器指南,決定是否繼續使用其他瀏覽器或先詢問使用者。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

ashley-seymour/claude-skills

Arm, run and disarm an unattended away run (a night or a few hours). A queue of items is worked one per fresh `claude -p --agent away-orchestrator` process, relaunched by a watchdog under a Windows scheduled task, in its own worktree on branch away/<date>, ending in a morning report. Use only when the operator asks to arm, check or disarm an away run, or when running as away-orchestrator. Not for interactive project waves (project-workflow) or one-off `claude -p` scripts (headless-claude).

ashley-seymour/claude-skills

Use this skill when the user's prompt requires (1) researching a topic across multiple sources, comparing options or alternatives, analyzing trends or history, understanding markets or industries, or reviewing literature or studies and (2) synthesizing that research into a comprehensive, narrative report. If you're planning to search the web or internal knowledge bases, consider using this skill. This skill coordinates research subagents, so use it only when you have a tool for spawning subagents (the Agent or Task tool); otherwise, research the question directly.

ashley-seymour/claude-skills

Read this skill before the first step that uses Claude in Chrome, the browser extension whose tools are named mcp__claude-in-chrome__* (also called Chrome, the browser extension, or the external browser) and which acts in the person's real Chrome with their own sign-ins; before those tools are turned on there may be a single enable__mcp__claude-in-chrome tool instead. It covers loading the tools in one ToolSearch call, checking the person's open tabs and working in a new tab, site permissions, GIF recordings, console logs, dialogs to avoid, and when to stop and ask. It is not for the built-in browser (mcp__Claude_Browser__* or mcp__remote-devices__Claude_Browser__* tools), which has its own skill, and it does not decide which browser to use.

ashley-seymour/claude-skills

Read this skill before the first step of any request to do something in an app on the person's own computer (Notes, Finder, System Settings, any desktop app), to look at their screen, or for \"computer use\". Computer use (desktop control) lets Claude take screenshots of the person's desktop and control it with clicks, typing and scrolling through the Claude desktop app; its tools are named mcp__computer-use__* when the session runs in the desktop app and mcp__remote-devices__computer_* when a cloud session is linked to the person's computer; before computer use is turned on for a conversation there may be no such tools, only an enable__mcp__remote-devices__computer tool, which turns it on. It covers turning it on, picking the right tool, the access flow, and the safety rules for tiered apps, links and financial actions. It is not for websites, which go through Claude in Chrome or the built-in browser and their own skills.

相關技能