/oberskills:browserfrom oberskills
Controls a live Chrome browser via puppeteer-core MCP: click, type, navigate, screenshot, PDF, DOM/AX tree, Lighthouse audits, network interception, HAR export, device emulation, and storage management.
Ships in oberskills. 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.
Read when SKILL.md points to them.
Persistent Chrome/CDP control via puppeteer-core. The primary interaction model
is snapshot → stable ref → action. Selectors and coordinates are fallbacks only.
Output size decides where a read lands: at or above the server's inline
threshold (PAYLOAD_THRESHOLD_BYTES in mcp-browser/src/lib/payload.ts) the
payload is written to a temp file and the tool returns the path; below it the
payload comes back inline with written: false and no path. Handle both cases —
see references/interaction.md in this skill directory for the per-tool result
fields. Screenshots, PDFs, traces, HAR, Lighthouse reports, and saved storage
state are always files, however small.
Call browser_connect before any other tool. Mode launch spawns (or reuses)
a Chrome process, headless unless headless=false; mode attach connects to a
running Chrome via browser_url or ws_endpoint.
A launched Chrome closes when the server exits, or after 10 minutes with no
browser tool call (BROWSER_MCP_IDLE_MINUTES; 0 disables). The next tool
then returns browser_idle_closed: call browser_connect again and
re-navigate, since tabs, cookies, and refs are gone. An attached Chrome is
never closed, only detached.
browser_snapshot → returns compact AX tree; every interactive node carries a stable ref id
browser_click(ref=...) → act on the ref (also: browser_type, browser_hover, browser_select, browser_fill_form, browser_press_key, browser_drag)
browser_snapshot → verify the new state
Refs last until the next browser_snapshot, which invalidates every earlier ref.
Re-snapshot after navigation or DOM changes. stale_ref means the ref predates
the current snapshot or its element left the DOM; interaction_failed means the
element resolved but the action itself failed (hidden, no layout box, re-rendered
mid-action). Both recover the same way: take a new snapshot and retry.
Selector/coordinate targeting is the fallback when a ref is unavailable; a
selector must resolve to exactly one element (refinements and ambiguous_match
in references/interaction.md in this skill directory).
Screenshots, DOM trees, and accessibility trees usually run far past the inline threshold, and a full-page capture can be very large. Loading them directly bloats the main context. Use the host's subagent tool when available: dispatch a small reviewer that reads the file path and returns a text summary, so the artifact never enters this conversation. If the host has no subagent surface, summarize inline only when the artifact is small enough; otherwise use local deterministic tools or ask how to proceed.
One read may not cover a large artifact. Shrink it at capture time first —
selector on browser_screenshot and browser_dom, max_depth/max_nodes on
browser_snapshot — and check bytes (and a screenshot's width/height,
which drive image read cost) before dispatching. For a file that is still large,
tell the reviewer to search it or read it in chunks rather than assume a single
read saw the whole thing.
Claude Code dispatch shape (other hosts: see Compatibility below):
Dispatch Agent:
model: haiku
description: "browser: analyze [screenshot|dom|accessibility]"
prompt: |
The browser tool wrote an artifact to: <PATH>
Read that file with the Read tool. If it is too large for one read,
search it or read it in chunks until the question is answered.
Return a concise text summary: what the page shows, key elements,
errors or state, and the specific answer to: <USER_QUESTION>
Return text only — no raw HTML, JSON, or image data.
Tools that produce large artifacts: browser_screenshot, browser_dom,
browser_accessibility, browser_export_har, browser_performance_stop_trace,
browser_pdf. Pass the returned path to a subagent for reading when available.
browser_navigate accepts http/https by default. allow_internal=true also
permits file: and about: URLs (a local HTML file, about:blank);
javascript: and every other scheme stay blocked (blocked_url) regardless.
After navigation, use browser_wait
(strategy navigation or selector) to confirm the page settled before
interacting. For text-triggered flows use browser_wait_for_text.
Full parameter details in the references below. Load the relevant one when planning work in that group.
| Group | Reference |
|---|---|
| Snapshot + refs interaction · Navigation · Read + extract | references/interaction.md in this skill directory |
| Performance · Lighthouse · HAR · Network routing · Throttling | references/perf-network.md in this skill directory |
| Storage · Device emulation · Geolocation · Capture (PDF / screencast / upload / download) | references/storage-capture.md in this skill directory |
| Artifact | Where it lives | In main context? |
|---|---|---|
| Screenshot PNG | file path from browser_screenshot | Prefer subagent; inline only if small enough |
| DOM HTML | file path from browser_dom | Prefer subagent; inline only if small enough |
| AX tree JSON | file path from browser_accessibility | Prefer subagent; inline only if small enough |
| HAR file | file path from browser_export_har | Prefer subagent; inline only if small enough |
| Performance trace | file path from browser_performance_stop_trace | No — analyze via browser_analyze_insight |
file path from browser_pdf | Prefer subagent; inline only if small enough | |
| Subagent text summary | returned text | Yes |
Sub-threshold output (written: false, no path) | inlined in result | Yes |
Tool names here are the server's short names (browser_click, browser_snapshot, …).
Claude Code exposes them under its plugin-prefixed MCP naming; on Codex or another
host, use that host's equivalent name for the same mcp-browser tool. The dispatch
block above is Claude Code's shape, including its model value: elsewhere,
substitute the host's subagent call with a small, cheap model, or read the artifact
inline when the host has no subagent surface and the artifact is small enough.
What SKILL.md sets; muted values are Claude Code's defaults
take a screenshot of the page, click a button on the page, fill out the form in the browser, navigate to a URL in the browser, run a Lighthouse audit, Lighthouse performance audit, capture network requests as a HAR file, record network traffic HAR, check or inspect the accessibility tree, intercept network requests, stub an API response in the browser, mock network calls, emulate an iPhone or Android device, browser automation, automate the browser, end-to-end testing in Chrome. Not for build failures, compiler errors, or code edits.
Three short reads, in order
7 skills in this plugin
/agentSubagent dispatch guidance for the Agent tool — whether to delegate or work inline, the four-part delegation contract, model and effort selection, parallel fan-out sizing, fork vs fresh subagent, and dispatching independent verifier agents. Use before any Agent tool call: spawning subagents, fanning out work across files or research angles, delegating exploration or review, briefing a verifier, or deciding whether delegation is worth it at all. Not for: wording a prompt that isn't an agent dispatch (use oberskills:prompt) or authoring reusable skill and agent definition files — structure, frontmatter, and evals (use oberskills:skill-craft); their prompt bodies (use oberskills:prompt)./clarifyPins down what a user actually wants before work starts on an ambiguous or underspecified request — surfaces the competing interpretations and asks the clarifying question that removes the most uncertainty. Use when a request has multiple valid readings, critical details or constraints are missing, or it contradicts itself, and the gap would change the approach. Not for: well-specified tasks (renames, typo fixes, version bumps, running tests or commands, edits naming an explicit file and change), details readable from the codebase, or research and planning workflows that own their own scoping.Generated from the plugin's indexed repository (ryanthedev/oberskills) — no native marketplace selected
npx claudepluginhub p/ryanthedev-oberskillsOther plugins' skills for the same job