/oya-browser:oya-browserfrom Oya Browser
Drives real Chrome browsers via MCP for website research, local web-app testing, screenshots, form filling, and signed-in browser tasks. Supports desktop connect for existing logins and Oya Cloud for headless/CI use.
Ships in Oya Browser. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Oya gives you real Chrome browsers behind one API. Each browser runs as a persona: a fingerprint, cookie jar and proxy that stay the same across runs, so a site sees the same device every time. You drive it by page structure, not selectors: read the page as markdown with numbered elements, then act on the numbers.
The free Oya desktop app gives you your own tabs in Oya, with the user's existing logins. It needs no Oya account or API key. Install it from https://oyabrowser.com/browser-for-claude-code, finish the welcome screen, click Connect next to Claude Code in the Oya window footer, then start a new session.
This plugin's Oya Cloud tools (oya) need the user to sign in to their Oya account once, through /mcp in Claude Code. Use them when the desktop app isn't available; for headless servers and CI, use the @oya-ai/browser SDK with an Oya API key.
If the tools are missing, ask the user to finish the sign-in or Connect step and start a new session. If desktop tools are configured but nothing answers, Oya is closed: ask the user to open it, then retry.
start_browser, starts a browser and makes every other tool drive it. Optional: persona ("auto", "default" or an id), provider, url.navigate(url), then analyze_page().click(element_id), type(element_id, text), press_key(key), scroll(direction, amount?).analyze_page() again after anything that changes the page. Element ids are reassigned on every analysis.stop_browser() when you are done. A running browser costs money.Also available: screenshot, wait(selector), click_coordinates(x, y), mouse_move(x, y), double_click, keyboard_type(text), drag, pool_status.
Faster ways through a page:
find(query) returns just the elements matching a description ("search box", "next page") instead of the whole page.run_script(script) reads the page with JavaScript and returns data: every row of a table, all prices in a list. It only reads; act with click and type.wait_for(text?, url?, network_idle?) waits for results that load in the background instead of re-analyzing in a loop.select_option(element_id, option) for native dropdowns, hover(element_id) for hover menus, go_back, go_forward, reload.list_playbooks and run_playbook(name, variables) replay a saved flow without a model; run_task(task) hands a whole task to Oya's own agent and returns its report.Native dialogs. An alert() or beforeunload is answered for you and its
text comes back on the next tool result, read it: it usually says why the last
action did not do what you expected. A confirm() or prompt() holds the page:
every other command fails immediately with the dialog's message until you call
handle_dialog(accept, prompt_text?). Accept only what the task asks for, a
confirm is often guarding something destructive.
If a tool says no browser is running, call start_browser. Remote MCP lists and drives cloud browsers only. Desktop browsing uses the local MCP connection.
oya start --persona auto # prints the browser id
oya goto https://example.com # newest browser; --id <id> picks one
oya ask "Find the pricing page and summarize the plans" # needs a model, set with `oya init`
oya status # health and recent commands
oya open # the live view, for a human
oya rm <id> # stop it; `oya rm --all` stops everything
Add --json to any command for machine-readable output.
import { Oya } from "@oya-ai/browser";
const oya = new Oya(); // reads OYA_API_KEY
const browser = await oya.browser.start({ persona: "auto", captcha: "auto" });
try {
await browser.goto("https://example.com");
const { markdown, elements } = await browser.analyze();
const link = elements.find((e) => e.visible && e.text?.includes("More information"));
if (link) await browser.click(link.id);
} finally {
await browser.stop();
}
browser.cdpUrl connects Playwright or Puppeteer: chromium.connectOverCDP(browser.cdpUrl).
A header (url, title, viewport, scroll position, element counts), the page as markdown with elements inline, then an index split into visible and off-screen:
[#9 input:text placeholder="Search"] → type(9, "query")
[#13 button "Search"] → click(13)
[#4 link "Pricing" → /pricing] → click(4)
Off-screen elements need a scroll first. While a modal is open, the analysis is scoped to it.
scroll("down", 800) returns a fresh analysis.screenshot, then click_coordinates(x, y). Hover with mouse_move to reveal menus.With Oya on the person's desktop, test the app they are running locally. A failed step is a finding to report, not a reason to stop.
open_tab(url) on the local address, e.g. http://localhost:3000.analyze_page() to read the page and get element ids.type(element_id, text), click(element_id).wait_for(text) for what the action should show. A timeout is a failed step.read_console(level: "error") and read_network(failed_only: true). Both read your own tab only.screenshot() when a step fails or the layout matters.close_tab(). Report each step as passed or failed, with the console errors, the failed requests (status and URL) and what you could not check.open_tab(url) on the first page.analyze_page() and take one row per item, using only what the page shows.scroll("down") or click the next-page link, wait_for the new content, then analyze again.close_tab(). Return the rows in the agreed columns, with the source URL of each, the row count, and any field left empty because the page did not show it."auto" picks the least recently used persona under its concurrency cap; "default" is the key's own.oya personas clone <id>).captcha: "auto" (SDK) solves CAPTCHAs as they appear; browser.solveCaptcha() solves one on demand. Over MCP: solve_captcha.sign_in fills a login form with the persona's stored credentials for the site and complete_mfa enters a one-time code; you never see either.browser.completeMfa() enters a code when the persona has a factor sealed: a TOTP seed, or a mailbox (Gmail / Microsoft 365) the code is read from. The code is extracted from the email by the configured LLM, not a regex, so a portal rewriting its template does not break it. If it returns a liveViewUrl, a person has to approve (push, passkey): give the user that URL and wait.oya takeover <id>, the human works in oya open --id <id>, then oya release <id> and oya resume <id>.navigate once, then wait for a selector or take a screenshot.Docs: https://oyabrowser.com/docs · For agents: https://oyabrowser.com/llms.txt
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
browser-automation, web-testing, screenshots, web-scraping, playbooks
npx claudepluginhub oyadotai/oya-browser --plugin oya-browserOther plugins' skills for the same job