用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aduermael/wb --skill wb-browser命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | wb-browser |
| description | Use the installed wb CLI for persistent browser automation with compact page JSON and screenshots. |
wb command directly.wb <url>; it creates the browser and returns its ID.
Use wb create only for an empty browser before a URL is known.--resource-timeout to initial navigation as a precaution.--resource-mode lean for headless research when page images, media, and fonts are not needed.wb wait-resources <id> when loaded resources matter after navigation.wb page <id> --resource-timeout <seconds> when page JSON should wait.wb page <id> before reusing actions.wb --help or wb <command> --help for exact syntax and advanced flags.Start from a known URL in one command:
id=$(wb https://example.com | jq -r '.browser')
wb page "$id" --fields title,url,actions
wb click "$id" 1
wb page "$id" --fields title,url,text,actions
wb remove "$id"
If a browser already exists, find or reuse it:
wb list
wb "$id" https://example.com
wb <url> (new browser), wb <id> <url> (existing browser), wb create (empty browser only)--resource-mode lean for faster headless loads, --resource-mode full for normal loads.wb wait-resources <id> [--resource-timeout <seconds>]wb list [--quiet|-q], wb page <id> [--fields ...]
[--selectors|--action-details] [--resource-timeout ...]wb click, wb type, wb fill, wb submitwb click <id> <x> <y>, wb press, wb drag, wb release, wb scrollwb show, wb hide, wb resize, wb screenshotwb evalwb env, wb install-skill, wb update, wb version, wb daemon ..., wb removewb type first for inputs, textareas, and contenteditable fields.--speed 4.0; use --speed 1.0 for the base delay speed.--backend js only when native typing is unavailable.--rhythm flat only when deterministic timing matters.fill for deliberate direct assignment, simple controls such as selects, or fallback.--fields to keep output small.title,url,actions,text,resources,resourceCount,htmlBytes,jsonBytes.progress,loading,resourcesLoading.wb page "$id" --fields title,url,actions
wb wait-resources "$id" --resource-timeout 3
wb page "$id" --fields title,url,resources
wb page --fields ... before reaching for JavaScript.wb eval <id> --body for small, targeted JSON extraction from DOM structure.eval; avoid full outerHTML or full body text unless explicitly needed.wb eval "$id" --body '
const rows = [...document.querySelectorAll("table tr")]
.slice(0, 50)
.map(tr => [...tr.cells].map(td => td.innerText.trim()))
.filter(row => row.length);
return JSON.stringify(rows);
' | jq -c '.[]'
wb screenshot "$id" /tmp/page.png
wb click "$id" 640 420
wb scroll "$id" 640 780 0 700
wb show <id> for user handoff, credentials, MFA, CAPTCHA, passkeys, SSO, or visual debugging.wb page <id> before acting again.wb hide <id> when the visible window is no longer useful; it keeps session state.ok:false, inspect error, browser, and any included page summary before retrying.wb page <id> again.wb is unavailable, run the bundled install.sh next to this skill.基于 SOC 职业分类