agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
Security Assessment
Detected risks:
About agent-browser
The agent-browser skill provides a browser automation CLI designed for AI agents to interact with websites. It allows users to automate various browser tasks such as navigating pages, filling out forms, clicking buttons, taking screenshots, scraping data, and testing web applications. The skill is particularly useful for automating repetitive browser tasks or for AI-driven agents that need to perform tasks in a browser without manual intervention. By leveraging direct control over Chrome/Chromium via the Chrome DevTools Protocol (CDP), the agent-browser enables programmatic web interaction with minimal setup or dependencies.
The main features of the agent-browser skill include the ability to open websites, take snapshots of page elements, interact with elements like filling forms or clicking buttons, and take screenshots or capture data from web pages. It supports command chaining, allowing multiple commands to be executed in sequence efficiently. The skill offers several methods for handling authentication, including importing authentication states from the user’s browser, reusing Chrome profiles, and using persistent profiles for recurring tasks. It also supports session management through session names that automatically save and restore cookies and localStorage data. This makes it a powerful tool for automating both simple and complex web interactions in a seamless manner.
This skill is ideal for developers, QA engineers, and automation enthusiasts who need to streamline their browser interactions. It’s particularly useful for tasks that involve form submissions, web scraping, web testing, or logging into websites. Whether you're working on automating user behavior testing, scraping data from dynamic websites, or performing repetitive tasks like logging into web apps, agent-browser provides an efficient and flexible solution.
FAQ
How do I install the agent-browser skill?
You can install the agent-browser skill via several methods: `npm i -g agent-browser`, `brew install agent-browser`, or `cargo install agent-browser`. After installation, run `agent-browser install` to download Chrome.
Can I use agent-browser with existing Chrome or Brave installations?
Yes, agent-browser can automatically detect existing Chrome, Brave, Playwright, and Puppeteer installations, so you don't need to install a separate browser if you already have one of these installed.
How does session management work in agent-browser?
Agent-browser supports session management through session names, which allow automatic saving and restoring of cookies and localStorage data. This means you can save the authentication state of a session and use it in future runs without needing to log in again.
What authentication methods are supported?
Agent-browser supports multiple authentication methods including importing auth from the user’s browser, reusing Chrome profiles, using persistent profiles for recurring tasks, and storing session data in an auth vault for easy retrieval.
Are there any limitations on using agent-browser with different websites?
There are no inherent limitations in the agent-browser skill for interacting with websites. However, some websites may have additional protections like CAPTCHA or advanced anti-bot measures that could prevent automated interactions. These require additional handling or workarounds.
All Files
11 filesInstall agent-browser
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
vercel-labs/agent-browser