browser
БесплатноЗапускает вложенные скриптыНе проверенDrives a real browser through the omowright library from the js eval kernel: sites the user is already signed into, forms and clicks, JS-rendered pages…
от code-yeongyu★ 71 250 звёзд на GitHubОб этом скилле
Browser
One library, two engines. omowright ships inside this skill; choose the engine before you act:
| You need | Engine | Entry point |
|---|---|---|
| A site the user is signed into, their open tabs, an extension popup, a step only they can do | attached — the user's own browser through BrowserSkill | connectBrowserSkill() |
| QA of a local or public page, screenshots at device sizes, scraping, network capture, a QA trace, bot-scored targets, headless runs | owned — a browser your code launches on a throwaway profile | connectPipe() / connectCloakProfile() |
The tab the user watches beside the chat in OmO Desktop (OMO_BROWSER_ENGINE is set) |
the app's built-in browser | connectBuiltinBrowser() — references/desktop.md |
| A 403/WAF host neither engine opens, a platform with a native reader, an archive snapshot | neither | the ultimate-browsing skill |
Anything that needs the user's logins is attached. It works in an Agent Window inside the user's own profile, never a copy, and exists only where the user enabled the BrowserSkill extension. Never substitute one engine for the other silently, and never launch a headless browser because the attached one is missing: it has none of the user's sessions. Run the doctor, relay its one step.
const { loadOmowright } = await import("<skill-root>/scripts/omowright.mjs")
const { omowright } = await loadOmowright()
Before the first attached session: node "<skill-root>/scripts/browser-doctor.mjs" --json. ready
means start; every other state and its one next step are in references/install.md.
Three rules for both engines
1. WAIT FOR A STATE, NEVER FOR A CLOCK. No Bun.sleep, no setTimeout delay, no hand-written
poll loop: a fixed delay fails on a slow page and wastes itself on a fast one. Start the wait
before the action that causes it. goto, newTab and navigate already wait for content, so
nothing follows them.
| Waiting for | Owned | Attached |
|---|---|---|
| Page content appearing or changing | page.waitForFunction(fn, undefined, { timeout }) (options are the THIRD argument), page.locator(ref).waitFor() |
navigate(url, { waitUntil: "networkidle" }); later, session.waitForElement(target, { state: "visible", timeoutMs }), or for any other state evaluate a promise that resolves on it ({ awaitPromise: true, timeoutMs, context }) |
| The request an action triggers | const got = page.waitForResponse("**/api/x"), act, await got |
waitForNavigation() after an action that navigates |
| A feed that loads more as you scroll | omowright.collectWhileScrolling(page, snoop, { minItems, maxScrolls, extract }) over a createNetworkSnoop: network.md |
session.scrollTo(target), then wait as in the first row |
| A person | requestHuman(page, { prompt, until }) |
session.requestHelp({ prompt, targets }) |
2. ONE CONNECTION PER TASK, AND A LONG WAIT GOES TO tool.monitor. Keep the handle on
globalThis and reuse it in later cells; a new connect in every cell throws the page state away.
A cell detaches after 30 s and then blocks the js kernel, so anything that may run longer (a
person, a deploy, a slow job) is never awaited in a cell. Subscribe first, start the wait
without await, and end the cell; the event wakes you on success and on timeout alike:
// given: page
const flag = `${(await import("node:os")).tmpdir()}/signed-in-${Date.now()}.flag`
await tool.monitor({ description: "sign-in finished", path: flag, event: "create" })
globalThis.wait = page.waitForFunction(() => !!document.querySelector("[data-user]"), undefined, { timeout: 600_000 })
.then(() => Bun.write(flag, "ok"), (e) => Bun.write(flag, `failed: ${e.message}`))
The same shape holds for requestHelp, requestHuman and any other promise. For a state outside
the page (a dev server, a build) watch a command instead:
tool.monitor({ description, command: "until curl -sf localhost:3000 >/dev/null; do sleep 1; done; printf 'READY\\n'", filter: "^READY$" }).
3. READ WITHIN A TOKEN BUDGET. Read the smallest thing that answers the question:
session.observe({ maxTokens: 4000 }) attached, and session.read(target) for the text, value or attributes of a few nodes; omowright.compactSnapshot(await page.snapshot({ find: "Checkout" }))
owned ({ interactive: true } for controls only, { diff: true } after an action).
omowright.snapshotTokens(snapshot).estTokens measures a tree before you print it. From
evaluate, return the fields you need; never print getHtml(), innerHTML or a page's innerText.
The loop (owned)
const { mkdtempSync, rmSync } = await import("node:fs"), { tmpdir } = await import("node:os"), { join } = await import("node:path")
const profile = mkdtempSync(join(tmpdir(), "omowright-"))
globalThis.browser = await omowright.connectPipe({
browserPath: omowright.detectBrowsers().find((b
Установить browser в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл browser?
Drives a real browser through the omowright library from the js eval kernel: sites the user is already signed into, forms and clicks, JS-rendered pages, screenshots, web QA, extension popups, a human handoff for login, CAPTCHA or OTP, and a browser you own for scraping, bot-scored targets, network capture and QA traces. Use for any interactive browser task; not for a plain search or an unblocked static fetch.
Как установить скилл browser?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл browser запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub