Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Browser?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/wecode-ai-browser-wegent)
---
name: browser
description: Browse, inspect, interact with and test web pages in Wework's built-in browser, including intranet and CI URLs accessible on this device.
---
Wework 内置浏览器 routing:
- "Wework" refers to Wegent's desktop workbench. Describe its browser as the Wework built-in browser.
- For browser tasks inside Wework — including requests to test, verify, QA-check, or inspect a web URL (even intranet or CI URLs) — use the `browser_*` MCP tools from the Wework 内置浏览器 tool server instead of claiming the page is unreachable.
- Build the workflow from the user's requested outcome. Complete every requested action, and never claim an action succeeded unless its matching tool or batch step record succeeded (if a `browser_batch` fails during its final inspect, report completed steps separately from the inspect failure).
- Batch consecutive actions into a single `browser_batch` call with `inspectAfter: true` whenever two or more adjacent steps can run together (for example filling a prompt/form field and clicking Send/Submit in one batch instead of separate `fill_and_inspect` + `click_and_inspect` turns). Do not batch subsequent actions after an `open` or navigation that may redirect to a sign-in page — inspect first and follow the sign-in rules below. Use inspect `index`/`ref` for already-inspected targets, or semantic `role` + `name` (e.g. `{ "action": "click", "role": "menuitemcheckbox", "name": "English" }`) for visible controls that appear dynamically after an earlier step in the same batch; `browser_batch` automatically waits briefly for dynamic semantic/selector targets and auto-settles page stability before `inspectAfter: true` after mutating steps (except when the final step is `waitFor` or `inspect`).
- Use `browser_open` (or `browser_open_and_inspect`) for navigation, `browser_reload` (or `browser_reload_and_inspect`, or a `reload` step in `browser_batch`) to refresh the current page — never use `browser_press_key("Meta+r")` / `F5` or reopen the same URL — and `browser_inspect` for structured page state. Inspect when targets or page understanding are needed, prefer numbered `index` targets, and reuse all known targets across adjacent actions. Keep `maxNodes` large enough (or use the default) to avoid truncation-triggered re-inspects. `browser_open_and_inspect`, `browser_reload_and_inspect`, `browser_click_and_inspect`, `browser_fill_and_inspect`, `browser_wait_and_inspect`, and `browser_batch` with `inspectAfter: true` already return the latest snapshot; do not call an extra `browser_inspect` right after them unless the page updated asynchronously. Note that inspect `URL:` redacts non-empty query parameter values as `key=[redacted]` for safety — do not report `[redacted]` as an empty URL parameter bug.
- An explicit click request requires `browser_click`, `browser_click_coordinates`, or a `click` step inside `browser_batch`; filling, pressing Enter, page auto-update, JavaScript submission, or a screenshot does not count as a click.
- Use `browser_take_screenshot` only when the user explicitly requests a screenshot. Use `browser_evaluate` only for read-only diagnostics, never as a substitute for open/fill/click/press actions.
- On a transient action error, inspect the existing page and retry that action once with a fresh target only when the error confirms the action did not run (for example `stale_ref`); for `operation_timed_out`, `batch_timeout`, or `operation_in_flight`, inspect the page first and repeat a non-idempotent mutation only when the page positively establishes that the first attempt did not take effect (otherwise report the outcome as unknown). Do not reopen or reload a page that is still available.
- Report progress in one short line when each requested subtask starts and finishes (for example "第 2/4 项完成:搜索结果已获取,开始第 3 项"), so the user can follow along and intervene in time. Keep progress lines brief. After all requested actions and any needed final inspect, give one concise result based on the final page.
- If a page requires sign-in, inspect the login form first. When the user has explicitly supplied the account name and password in the current conversation and authorized sign-in to the intended site, use the built-in browser tools to fill and submit that inspected login form. Use those credentials only for the authorized sign-in destination, follow existing browser permissions and sensitive-action approvals, and wait for any required user confirmation. Keep credentials out of progress and result messages. Inspect the result and continue the requested workflow only after sign-in succeeds.
- For a sign-in page without user-supplied and authorized credentials, or if the sign-in destination is unexpected, login fails, or additional human verification is required (such as a CAPTCHA or MFA), stop all further browser actions immediately. Tell the user the page requires login, ask them to complete sign-in inside the Wework built-in browser panel, and wait for their confirmation. Do not continue executing later steps while logged out. After the user confirms they have logged in, resume from the step that failed: reopen the target page, retry that step, and then continue the remaining steps.
- To upload a local file into a page upload control, use `browser_upload_file` with the absolute local file path; target the file input with a CSS selector, or omit the selector to use the first file input on the page. To clear browser data, use `browser_clear_data` with `kinds` chosen from cookies, cache, storage, and history; omitting `kinds` clears cookies, cache, and storage. Clearing cookies signs the user out of websites, so only clear what the user asked for.
- Do not use the bundled Browser or Chrome plugin runtimes for Wework browser tasks, including `agent.browsers.get("iab")`, `agent.browsers.get("extension")`, `browser:control-in-app-browser`, or `chrome:control-chrome`.
- Do not fall back to an external Chrome window unless the user explicitly asks for Chrome.