agentleFS
derwellsderwells/learn-skill/skills/browser/SKILL.md

browser

Skill2 starsChanged 23 days agoMITView on GitHub

Use before driving a web page from an agent, for a task or for testing. Repeats known flows as saved Playwright scripts, can use Jev for an uncertain element choice inside a script, and explores or escalates with agent-browser. Keeps throwaway Chromium profiles for no-login testing.

  • Installs packages

68 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use V3 Core Implementation, V3 DDD Architecture 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.
  • 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

  • +10 more from ruvnet

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 57 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use three tools, cheapest first:

    line 12
  2. Distinctive:

    Use Playwright MCP on pages that receive secrets.

    line 50

“Common” is measured: kept by at least 6 in 10 of the 57 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

Load access first when a task involves login, consent, MFA, CAPTCHA, or an account. Its API-first order decides whether a browser is needed.

Use three tools, cheapest first:

  1. A saved script for a known flow. It runs without a model.
  2. A Jev step inside that script, only when one element choice is uncertain or a step broke because the page changed. Code still checks the outcome.
  3. agent-browser to explore a new flow, or when a script or Jev step gives up.

Save known flows

Once a flow works, save it as a Python Playwright script and run it without a model next time. A saved flow:

  • takes its inputs as arguments, not edits to the file;
  • gets credentials through the access fill pattern and never prints them;
  • ends with an outcome check in code (expect(page.get_by_text("App created")).to_be_visible()) and exits non-zero when it fails;
  • hands MFA, CAPTCHA and consent steps to the user, as access describes.

Jev for uncertain steps (optional)

Jev is TypeSafe's model for fast, structured decisions. Here a script asks it one closed question: which listed accessibility control performs this intent, or none. Act only on a confident answer, re-check that the control has not moved, then let code verify the outcome. Anything else goes to agent-browser. Never send secrets, codes or private values to Jev.

This repo does not ship a Jev step runner. Read references/jev-steps.md before building one; it covers the design, thresholds, prerequisites, and why an autonomous Jev browser agent is a different thing.

Explore and escalate with agent-browser

agent-browser is a browser CLI built for agents. Install it with npm install -g agent-browser, then agent-browser install to download Chrome for Testing.

agent-browser open https://example.com
agent-browser snapshot -i
agent-browser click @e3

Use the accessibility tree and role or label locators. Use screenshots only when the tree cannot answer the question. Keep any debugging endpoint inside scripts; never print one that carries a token. When exploration succeeds, save the steps as a script. When a saved flow breaks, use agent-browser to find what changed, then fix the script.

Never

  • Touch a browser, profile, cookies, storage, process or debugging port that you did not start for this task.
  • Expose a debugging endpoint or its token.
  • Solve CAPTCHAs, bypass MFA, or use stealth or anti-detection tools.
  • Use Playwright MCP on pages that receive secrets. Its accessibility snapshots have carried password values into model context (microsoft/playwright-mcp#1566).

Testing

For no-login tests, a local throwaway Chromium is fine. Keep its profile in your own scratch directory, bind its debugging port to 127.0.0.1, use a free port, and stop only the process you started. Keep Chromium's sandbox enabled. Run saved Playwright flows without a model and check the outcome in code. Use agent-browser for exploration.

Evidence

The October 2026 comparison behind these choices, on a synthetic site, is in benchmarks/README.md: data, method and limits. Read it only when you need to justify or revisit a choice.

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.