ワンクリックで
chromium-browser
Control Chrome and Chromium-based browsers through the OpenCode Browser extension and native host.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Control Chrome and Chromium-based browsers through the OpenCode Browser extension and native host.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | chromium-browser |
| description | Control Chrome and Chromium-based browsers through the OpenCode Browser extension and native host. |
Use this skill when the user asks OpenCode to inspect, navigate, automate, test, screenshot, or interact with Chrome or a Chromium-based browser.
This integration does not use Codex's Node REPL or browser-client.mjs runtime.
Use OpenCode browser tools directly:
browser_statusbrowser_capabilitiesbrowser_list_profilesbrowser_selected_profilebrowser_select_profilebrowser_name_profilebrowser_list_tabsbrowser_selected_tabbrowser_get_tabbrowser_new_tabbrowser_claim_tabbrowser_name_sessionbrowser_navigatebrowser_reloadbrowser_backbrowser_forwardbrowser_close_tabbrowser_historybrowser_screenshotbrowser_movebrowser_clickbrowser_double_clickbrowser_scrollbrowser_dragbrowser_typebrowser_keypressbrowser_snapshotbrowser_dom_snapshotbrowser_dom_clickbrowser_dom_typebrowser_locator_countbrowser_locator_clickbrowser_locator_fillbrowser_locator_textbrowser_set_file_inputbrowser_clipboard_read_textbrowser_clipboard_write_textbrowser_enable_inspectionbrowser_console_logsbrowser_network_eventsbrowser_clear_eventsbrowser_download_eventsbrowser_clear_download_eventsbrowser_cdpbrowser_turn_endbrowser_finalizeBefore browser work, call browser_status.
If the native host is not reachable, tell the user to load the extension and install the native messaging manifest before retrying.
If more than one browser profile is connected, call browser_list_profiles and then browser_select_profile before opening, claiming, or inspecting tabs. Do not choose randomly. If the required profile is not listed, report that it is not open; do not launch another profile unless the user explicitly asks.
For setup diagnostics, use the repository scripts:
bun run list:browsersbun run check:browser-running -- --browser chromebun run check:extension -- --browser chrome --extension-id <extension-id>bun run check:native-host -- chrome --extension-id <extension-id> --jsonbun run open:browser -- --browser chrome --dry-runOnly run scripts/open-browser-window.js without --dry-run after the user agrees to open a browser window.
browser_list_profiles to see only currently open profiles, and browser_select_profile to switch between them.browser_name_profile only when the user asks to label a profile, or when a short non-sensitive local label is useful for future selection.browser_list_tabs with scope: "user" to find existing tabs.browser_claim_tab when the user wants to control an already-open tab.browser_list_tabs with scope: "user"; do not guess tab IDs.browser_new_tab or browser_navigate without tabId for a new controlled tab.browser_finalize closes unkept agent-created tabs and releases unkept user-claimed tabs without closing them.browser_finalize before ending browser work. Keep tabs only when the user needs the live page after the turn.status: "deliverable" for tabs that are final user-facing outputs.https://www.google.com/, type the query into the page, and submit it like a user./search?q=... Google URLs unless there is a strong reason. Direct search-result navigation is more likely to trigger automated-traffic or CAPTCHA pages.browser_move when you need to show the OpenCode cursor overlay before acting on the current tab.browser_click, browser_double_click, and browser_drag serialize mouse gestures per tab so concurrent agents do not interleave press/move/release events.browser_locator_click and browser_dom_click now verify that the target exists, is visible, is enabled, accepts pointer events, and is not covered at its click point. If those checks fail, treat the tool failure as real feedback and inspect again before retrying.browser_type, browser_dom_type, and browser_locator_fill require an editable focused/target element and verify the resulting value or text changed as expected.browser_keypress supports common chords such as Control+A, Ctrl+A, Meta+A, and Shift+Tab. Edit chords such as select-all require a focused editable element and fail if verification fails.browser_navigate waits for domcontentloaded by default. Pass waitUntil: "none" only when you intentionally want to race page loading, or waitUntil: "load" when full load completion matters.browser_dom_snapshot plus browser_dom_click for visible interactable elements when it avoids brittle coordinates. Node IDs are snapshot-scoped; take a fresh snapshot after navigation or major DOM changes.browser_locator_* for straightforward CSS-selector interactions; failed selectors, hidden elements, disabled controls, and covered targets should be handled by inspecting the page again rather than assuming success.browser_enable_inspection before collecting console or network events.browser_console_logs for Runtime.consoleAPICalled and Log.entryAdded events.browser_network_events for captured Network.* events.browser_cdp for targeted CDP commands such as Runtime.evaluate, DOM.getDocument, or Performance.getMetrics; pass command parameters with params, or with paramsJson if the client does not expose arbitrary object params. The plugin enables the Performance domain automatically for metrics.browser_download_events after actions that may start downloads. Inline PDFs are reported with status: "opened_inline" when Chrome opens them in the browser instead of downloading them.browser_set_file_input for file inputs after confirming uploads with the user when required.Confirm before actions that submit forms, send messages, upload files, make purchases, change permissions, delete data, save passwords/payment details, or transmit sensitive personal data.
Do not solve CAPTCHAs, bypass paywalls, bypass browser safety interstitials, or complete final password-change submissions.