agentleFS
nc9nc9/skills/agent-browser/SKILL.md

agent-browser

Skill4 starsChanged 2 months agoMITView on GitHub

Control a browser from the CLI with agent-browser - attach to an existing Chrome over CDP or launch one, snapshot the accessibility tree, click/fill by element ref, screenshot, read console and network. Use for any browser interaction, web app testing, or page debugging.

172 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use architecture-governance, dep-refs 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.
  • ZCodium-projectSkill

    architecture-governance

    Apply the repository's architecture policy to code changes by generating a bounded context package, checking module and layer boundaries, and reporting baseline-aware violations. Use for any code change; skip for documentation-only work.

    Also in 4 projects that use this

  • ZCodium-projectSkill

    dep-refs

    Use when needs to inspect TypeScript export references in the z-code workspace, list exports from a file, verify whether an export is unused before deletion, investigate who imports a symbol during refactors, or combine pnpm knip unused-export results with pnpm dep:refs symbol-level reference tracing.

    Also in 4 projects that use this

  • Recepay6358Skill

    time-skill

    Display the current time in Pakistan Standard Time (PKT, UTC+5). Use when the user asks for the current time, Pakistan time, or PKT.

    Also in 4 projects that use this

  • Recepay6358Skill

    weather-fetcher

    Instructions for fetching current weather temperature data for Dubai, UAE from Open-Meteo API

    Also in 4 projects that use this

  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 3 projects that use this

  • nicepkgSkill

    financial-unit-economics

    Use when evaluating business model viability, analyzing profitability per customer/product/transaction, validating startup metrics (CAC, LTV, payback period), making pricing decisions, assessing scalability, comparing business models, or when user mentions unit economics, CAC/LTV ratio, contribution margin, customer profitability, break-even analysis, or needs to determine if a business can be profitable at scale.

    Also in 3 projects that use this

  • +1 more from ZCodium-project
  • +1 more from Recepay6358
  • +3 more from nicepkg

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 157 edited versions we read keep these.

  • 1

    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:

    Prefer attaching over launching a fresh browser when the user has a session open.

    line 21

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

agent-browser

Thin pointer to the agent-browser CLI. The usage guide ships with the CLI and always matches the installed version, so load it before running commands:

agent-browser skills get core           # workflows, patterns, troubleshooting
agent-browser skills get core --full    # plus full command reference
agent-browser skills list               # specialised guides (electron, slack, dogfood, ...)

Install or update: bun add -g agent-browser@latest (check with agent-browser doctor).

Attaching to an existing Chrome

Prefer attaching over launching a fresh browser when the user has a session open.

agent-browser --cdp 9222 tab list       # Chrome started with --remote-debugging-port=9222
agent-browser --auto-connect tab list   # discover a running Chrome and reuse its auth state
  • Chrome 136+ ignores --remote-debugging-port on the default profile. It only listens when started with a non-default --user-data-dir, or when the toggle at chrome://inspect/#remote-debugging is on. If attach fails, check what owns the port: lsof -nP -iTCP:9222 -sTCP:LISTEN.
  • Work in a new tab (tab new <url>) unless asked to act on an open one, and never close a browser you attached to.

Core loop

agent-browser --cdp 9222 snapshot -i -c   # interactive elements only, compact; returns @eN refs
agent-browser --cdp 9222 click @e3
agent-browser --cdp 9222 fill @e5 "text"

Refs go stale after navigation or DOM changes: re-snapshot before the next action. Use --session <name> to keep parallel tasks isolated, and --json when parsing output.

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.