agentleFS
Stuko0Stuko0/alice-agent/skills/software-development/browser/SKILL.md

browser

Skill2 starsChanged 3 months agoMITView on GitHub

Drive the browser for JS-rendered or interactive pages.

81 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use functions, V3 Core Implementation and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jtfasulo7Skill

    functions

    Deploy serverless browser automation as cloud functions using Browserbase. Use when the user wants to deploy browser automation to run on a schedule or cron, create a webhook endpoint for browser tasks, run automation in the cloud instead of locally, or asks about Browserbase Functions.

    Also in 3 projects that use this

  • ruvnetSkill

    V3 Core Implementation

    Core module implementation for claude-flow v3. Implements DDD domains, clean architecture patterns, dependency injection, and modular TypeScript codebase with comprehensive testing.

    Also in 15 projects that use this

  • ruvnetSkill

    V3 DDD Architecture

    Domain-Driven Design architecture for claude-flow v3. Implements modular, bounded context architecture with clean separation of concerns and microkernel pattern.

    Also in 15 projects that use this

  • +9 more from ruvnet

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the browser when the page needs a browser:

    line 25
  2. Very specific:

    Prefer web_extract / web_search when the page is static text or a plain document (.md, .json, .txt, API endpoint, raw file): the browser is …

    line 33
  3. Distinctive:

    No API key needed for the local Chromium.

    line 40
  4. Very specific:

    If the click may navigate, re-snapshot before the next ref-based action.

    line 92
  5. Very specific:

    Refs are per-snapshot: After navigation or a DOM change, @e3 may point at something else.

    line 110
  6. Very specific:

    browser_vision may be unavailable: when no vision provider is configured.

    line 112
  7. Very specific:

    Parallel browser calls share one session: Run browser steps sequentially.

    line 121
  8. Distinctive:

    No unintended JS errors after your actions.

    line 128
  9. Very specific:

    If you changed the page, browser_screenshot shows the expected result.

    line 129

“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Browser Skill

The browser tools drive a real Chromium: navigate, read the DOM, run JavaScript, click and type, capture screenshots, inspect the network and record a HAR. On the desktop the panel shows that same browser, so the user sees what you see. This skill is about when to reach for it and the shortest path.

When to Use

Use the browser when the page needs a browser:

  • The content is rendered by JavaScript (SPA, dashboard, docs with hydration).
  • You must interact: log in, fill a form, click through a flow.
  • You need the DOM/CSS (getComputedStyle, document.title, attributes).
  • You need a screenshot, the network log or a HAR.
  • The user gave a URL and asked to "look at it", "duplicate it" or "check it".

Prefer web_extract / web_search when the page is static text or a plain document (.md, .json, .txt, API endpoint, raw file): the browser is slower and heavier for those.

Prerequisites

  • Browser toolset (browser). Preloading this skill enables it.
  • No API key needed for the local Chromium; cloud providers are optional.

How to Run

The core loop is three calls:

  1. browser_navigate url=... — starts the session and returns a snapshot.
  2. browser_snapshot — the accessibility tree with @eN refs to click/type.
  3. Act on a ref, then re-snapshot if the page changed.

browser_batch runs several commands in one call when the steps are known up front (fill a form, then click, then snapshot).

Quick Reference

TaskTool
Open a URLbrowser_navigate
Page structure / refsbrowser_snapshot (full=true for all text)
Read a value / DOM / CSSbrowser_console with expression
Console messages, JS errorsbrowser_console (no expression)
Click / type / press / scrollbrowser_click, browser_type, browser_press, browser_scroll
Hover, select, check, drag, wait, find, upload, download, PDFbrowser_act
Screenshotbrowser_screenshot (works without a vision model)
Visual analysisbrowser_vision (needs a vision backend)
Network requests / HAR / routebrowser_network
Tabsbrowser_tabs
Raw CDPbrowser_cdp (attach mode or desktop surface)
Several steps at oncebrowser_batch

Procedure

Inspect

browser_navigate  url=<url>
browser_snapshot  full=true          # text content, not just interactive nodes
browser_console   expression="document.title"
browser_console                       # console messages + JS errors

browser_navigate already returns a compact snapshot; only call browser_snapshot again when you need the current tree after a change.

Interact

browser_type  ref=@e5 text=alice@example.com
browser_click ref=@e6
browser_console expression="location.href"     # verify the navigation

If the click may navigate, re-snapshot before the next ref-based action. browser_act action=find locator=text value="Sign in" text=click finds by visible text instead of a ref, which survives small layout changes.

Verify

  • browser_screenshot for visual proof (share it as MEDIA:<path>).
  • browser_console with no expression for JS errors after the action.
  • browser_network action=requests for failed calls / wrong payloads.

Capture evidence for a report

browser_network action=har_start path=/tmp/session.har, reproduce the flow, browser_network action=har_stop path=/tmp/session.har. The HAR is a normal file you can inspect or attach.

Pitfalls

  • Refs are per-snapshot. After navigation or a DOM change, @e3 may point at something else. Re-snapshot.
  • browser_vision may be unavailable when no vision provider is configured; use browser_screenshot and share the file.
  • The desktop panel is the same browser: the user can watch (and the page state persists between turns). Do not navigate away from a page the user is reading without saying so.
  • Private URLs: loopback/LAN targets are blocked unless browser.allow_private_urls is enabled; do not try to work around it.
  • Long pages: snapshot text is truncated; use full=true, or read specific elements with browser_console.
  • Parallel browser calls share one session. Run browser steps sequentially; browser_batch is the supported way to do several at once.

Verification

  • browser_console expression="location.href" matches the URL you intended.
  • Relevant text is present: browser_console expression="document.body.innerText.includes('…')".
  • No unintended JS errors after your actions.
  • If you changed the page, browser_screenshot shows the expected result.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.