agent-browser

Enables scripted web automation and interaction through a command-line interface.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/RafayelGardishyan/rafayels-marketplace --skill agent-browser-rafayelgardishyan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-browser
Source: https://github.com/RafayelGardishyan/rafayels-marketplace/tree/main/plugins/rafayels-engineering/.opencode/skills/agent-browser
Command: npx skills add https://github.com/RafayelGardishyan/rafayels-marketplace --skill agent-browser-rafayelgardishyan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates repetitive web tasks by providing a command-line interface to control a headless browser using agent-browser, enabling AI agents to navigate pages, fill forms, click elements, take screenshots, and scrape data with ref-based element selection.

Core Features & Use Cases

  • Navigation and browser control via CLI commands
  • Snapshotting accessibility trees with ref-based element references
  • Interactions using refs to click, fill, type, and more
  • Semantics-based element finding as an alternative to refs
  • Screenshots and PDFs for verification and reporting
  • Sessions for parallel, isolated browsing tasks

Quick Start

Open a URL, snapshot interactive elements, and interact with the page using element refs to complete a task.

Frequently Asked Questions about agent-browser

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate web form filling and data scraping from the command line?

You can automate web form filling and data scraping from the command line by using a CLI browser automation tool to control a headless browser, navigate pages, and interact with elements. It applies ref-based element selection to script interactions via Bash commands.

How does ref-based element selection work for browser automation?

Ref-based element selection works by snapshotting the page's accessibility tree to generate unique references for interactive elements. You then use these refs in CLI commands to click, fill, and type, ensuring precise scripted interactions without relying on traditional CSS selectors.

Can I run parallel web scraping tasks across multiple isolated browser sessions?

Yes, you can run parallel web scraping tasks across multiple isolated browser sessions. The tool supports parallel browsing sessions, allowing you to handle multiple isolated automation workflows simultaneously from your command line.

Do I need to install agent-browser globally to use CLI web automation commands?

Yes, you need to install agent-browser globally to use CLI web automation commands. This environment setup provides the necessary command-line interface to control the headless browser, execute Bash commands, and perform web tasks like taking screenshots.

What is the best way to capture page screenshots and generate PDFs during web automation?

The best way to capture page screenshots and generate PDFs during web automation is to use CLI browser commands within your scripted workflow. This enables automated visual verification and reporting directly from your command line interface.

Are there limitations when using semantics-based element finding instead of refs for web tasks?

Semantics-based element finding serves as an alternative to refs for locating elements, but refs provide more precise element targeting. Using accessibility tree snapshots with refs ensures accurate CLI interactions, which can be limited if elements lack clear semantic identifiers.