xuzhougeng/wisp-science/skills/browser-use/SKILL.md
browser-use
Use this skill to drive the user's real, persistent Chrome/Chromium session — open pages, read them, click, fill and submit forms, navigate, switch tabs, or scrape content that needs the user's existing cookies and login state. Triggers when the user asks to do something in their browser, log into a site and act inside it, fill out a web form, click through a flow, or extract data from a page that requires being signed in. Tools: browser_setup (check/connect the extension), web_open_tab (open a
- Source repository stars
- 560
- Declared platforms
- 0
- Static risk flags
- 0
- Last source update
- 2026-07-28
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
Wisp does not launch an automation browser. It talks to a small extension inside the user's own Chrome/Chromium, so every action runs in their real profile — existing cookies, logins, extensions, and normal fingerprint all apply. That is the whole point: you can operate pages th…
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/xuzhougeng/wisp-science --skill "skills/browser-use"Inspect the Agent Skill "browser-use" from https://github.com/xuzhougeng/wisp-science/blob/95d2c13d1665d46a388b5bdc998dcce0d5ec2eee/skills/browser-use/SKILL.md at commit 95d2c13d1665d46a388b5bdc998dcce0d5ec2eee. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Before anything: confirm the bridge is live
Call browsersetup. If status is not connected, relay its steps (load the unpacked extension from extensionpath, verbatim) and stop until the popup shows Connected to Wisp. Never invent the path.
Call browsersetup. If status is not connected, relay its steps (load the unpacked extension from extensionpath, verbatim) and stop until the popup shows Connected to Wisp. Never invent the path. - 02
The loop
1. webopentab {url} — open the page (works even with no tab open yet). Returns the new tab id. 2. webscan — read the page. Returns page.text, page.title, and page.elements[], where each element carries a unique selector, its visible text/arialabel, and a rect [x,y,w,h]. Use thes…
webopentab {url} — open the page (works even with no tabwebscan — read the page. Returns page.text, page.title, andwebexecutejs — act, then re-scan to confirm the effect. - 03
Recipes (webexecutejs script)
script may instead be a JSON command:
script may instead be a JSON command:Prefer plain JS. Reach for cmd:cdp only when a page blocks synthetic events or you truly need trusted input. - 04
Seeing the page — webscreenshot
webscan gives text and elements; webscreenshot gives sight. Use it when structure isn't enough: rendered layout, a chart or diagram, a canvas/WebGL page, a QR code, a PDF or image viewer, or a page that looks broken. It captures the visible viewport of the tab — to see below the…
webscan gives text and elements; webscreenshot gives sight. Use it when structure isn't enough: rendered layout, a chart or diagram, a canvas/WebGL page, a QR code, a PDF or image viewer, or a page that looks broken. It…It goes through the configured vision model, so webscan stays the cheaper default — screenshot when you need eyes, not for every step. - 05
Tab hygiene — track what you open, offer to close it
Browsing tasks (searching papers, opening a dozen results) leave the user with a pile of tabs to close by hand. So:
Every webopentab returns tab.id. Keep a running list of the idsWhen the task is done, before your final answer, ask the user:On a yes, close them in one call:
Permission review
Static risk signals and limitations
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 84/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 560 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- xuzhougeng/wisp-science
- Skill path
- skills/browser-use/SKILL.md
- Commit
- 95d2c13d1665d46a388b5bdc998dcce0d5ec2eee
- License
- AGPL-3.0
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
Browser Use — act inside the user's real Chrome
Wisp does not launch an automation browser. It talks to a small extension inside the user's own Chrome/Chromium, so every action runs in their real profile — existing cookies, logins, extensions, and normal fingerprint all apply. That is the whole point: you can operate pages the user is already signed into.
Every web_scan and web_execute_js call needs the user's approval by
design. Do not treat that as a bug to route around.
Before anything: confirm the bridge is live
Call browser_setup. If status is not connected, relay its steps
(load the unpacked extension from extension_path, verbatim) and stop
until the popup shows Connected to Wisp. Never invent the path.
The loop
web_open_tab{url}— open the page (works even with no tab open yet). Returns the new tab id.web_scan— read the page. Returnspage.text,page.title, andpage.elements[], where each element carries a uniqueselector, its visibletext/aria_label, and arect[x,y,w,h]. Use these selectors directly — do not guess. Usetabs_only:truefirst when you are unsure which tab to target; passswitch_tab_id:<id>to pin one.web_execute_js— act, then re-scan to confirm the effect.
Recipes (web_execute_js script)
| Goal | script |
|---|---|
| Click | document.querySelector('<selector>').click() |
| Type into a field | const e=document.querySelector('<sel>'); e.value='text'; e.dispatchEvent(new Event('input',{bubbles:true})); e.dispatchEvent(new Event('change',{bubbles:true})) |
| Submit a form | click the submit control by its selector, then re-scan |
| Navigate current tab | location.href='https://example.com' |
| Read a value | document.querySelector('<sel>').textContent |
script may instead be a JSON command:
| Goal | JSON command |
|---|---|
| Switch to & focus a tab (so the user sees it) | {"cmd":"tabs","method":"switch","tabId":<id>} |
| List tabs | {"cmd":"tabs"} (or just web_scan tabs_only) |
| Close tabs you opened | {"cmd":"tabs","method":"close","tabIds":[<id>,...]} — returns closed + remaining |
Trusted click when .click() is ignored | {"cmd":"cdp","method":"Input.dispatchMouseEvent","params":{"type":"mousePressed","x":<x>,"y":<y>,"button":"left","clickCount":1}} then the same with "type":"mouseReleased" — use the element's rect centre from web_scan |
Prefer plain JS. Reach for cmd:cdp only when a page blocks synthetic
events or you truly need trusted input.
Seeing the page — web_screenshot
web_scan gives text and elements; web_screenshot gives sight. Use it
when structure isn't enough: rendered layout, a chart or diagram, a
canvas/WebGL page, a QR code, a PDF or image viewer, or a page that looks
broken. It captures the visible viewport of the tab — to see below the
fold, scroll first (web_execute_js scrollTo(0, 1200)) and capture again.
Pass question to say what to read out of it, e.g.
{"question":"is the login QR code visible and not expired?"}.
It goes through the configured vision model, so web_scan stays the cheaper
default — screenshot when you need eyes, not for every step.
Tab hygiene — track what you open, offer to close it
Browsing tasks (searching papers, opening a dozen results) leave the user with a pile of tabs to close by hand. So:
- Every
web_open_tabreturnstab.id. Keep a running list of the ids you opened in this task, in your own message text — e.g. after a batch writeopened tabs: 1234, 1235, 1236.{"cmd":"tabs"}cannot tell you which tabs are yours, only what exists. - When the task is done, before your final answer, ask the user: name the count and offer to close them, e.g. "我为这次检索开了 6 个标签 页,需要我关掉吗?" Do not close anything without a yes.
- On a yes, close them in one call:
{"cmd":"tabs","method":"close","tabIds":[1234,1235,1236]}. Reportclosed; ids already gone are skipped silently.
Close only ids you opened yourself. Tabs the user had open, or ones they opened during the task, are theirs — never include them, and never close a tab mid-task that later steps still need.
Stop conditions (do not automate through these)
- Human verification / CAPTCHA: if
web_scanreturnshuman_intervention.required=true, stop, ask the user to complete the challenge in the visible tab, and wait for their confirmation before scanning again. - Credentials: never type passwords, card numbers, or one-time codes yourself. If a step needs a password, have the user sign in directly in the browser and continue once they confirm.
- Irreversible / outward actions (send, pay, post, delete): confirm with the user before clicking the control.
- Downloads: for multiple-file downloads, first surface the browser
settings from
browser_setup(download_automation) and wait for the user to confirm; until then trigger at most one download.