agentleFS
ivanrvpereiraivanrvpereira/.agents/skills/auto/dev-browser/SKILL.md

dev-browser

Skill18 starsChanged 3 months agoApache-2.0View on GitHub

Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", or any browser interaction request.

  • Installs packages

9 other projects use a version of this, 3 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run dev-browser --help to learn more.

    line 19
  2. Very specific:

    Every distinct --browser <NAME> spawns a separate Chromium instance.

    line 25
  3. Very specific:

    If a running instance fits the task (check its named pages), reuse its name with --browser <NAME>.

    line 31
  4. Very specific:

    Prefer attaching to an already-open Chrome: when one is running with remote debugging enabled: use dev-browser --connect (auto-discovers).

    line 32

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

Dev Browser

A CLI for controlling browsers with sandboxed JavaScript scripts.

Installation

npm install -g dev-browser
dev-browser install

Usage

Run dev-browser --help to learn more.

Named daemon-launched browsers persist by default. For unattended work, --idle-timeout 5m closes each launched browser after inactivity while preserving its profile and login state. The setting never closes Chrome attached with --connect; use --idle-timeout 0 to disable configured cleanup.

Reuse browser instances — do not open new ones

Every distinct --browser <NAME> spawns a separate Chromium instance. To avoid window sprawl:

  1. Before the first script of a session, check what already exists:
    dev-browser browsers
    If a running instance fits the task (check its named pages), reuse its name with --browser <NAME>.
  2. Prefer attaching to an already-open Chrome when one is running with remote debugging enabled: use dev-browser --connect (auto-discovers). Only fall back to daemon-launched browsers when no debuggable Chrome is available.
  3. Never invent a new --browser name unless the user explicitly asks for an isolated session/profile. Otherwise stick to the default instance (omit the flag) or an existing name from dev-browser browsers.
  4. Check project instructions (AGENTS.md) for a project-specific browser name before choosing one — some projects pin a named instance that holds required login sessions.
  5. Reuse named pages (browser.getPage("main")) instead of creating new pages for every script.

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.