agent-browser

Automates browser interactions via Chrome DevTools Protocol with accessibility-tree element references.

Updated Oct 16, 2025
One-click install
npx skills add https://github.com/hugotown/dotfiles --skill agent-browser-hugotown
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agent-browser
Source: https://github.com/hugotown/dotfiles/tree/main/agents/skills/agent-browser
Command: npx skills add https://github.com/hugotown/dotfiles --skill agent-browser-hugotown

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agent-browser.

What problem does it solve? AI agents need a reliable way to interact with websites and desktop apps—navigating pages, filling forms, clicking buttons, and extracting data—without heavy frameworks like Playwright or Puppeteer. This Skill provides a fast Rust-based CLI that drives Chrome/Chromium over CDP and returns compact accessibility-tree snapshots with element refs. ## Core Features & Use Cases - Web Automation: Navigate pages, fill forms, click buttons, take screenshots, and scrape data using stable @eN element references from accessibility-tree snapshots. - Specialized Targets: Automate Electron desktop apps (VS Code, Slack, Discord, Figma), manage Slack workspaces, run exploratory QA/dogfooding sessions, and operate cloud browsers in Vercel Sandbox microVMs or AWS Bedrock AgentCore. - Session Management: Persistent sessions, authentication vault, state persistence, and video recording for repeatable workflows. - Use Case: Ask your agent to log into a web app, walk through a checkout flow, capture screenshots at each step, and report any broken elements during a QA pass. ## Quick Start Ask the agent to open a website with agent-browser, take a snapshot of the page, and click a specific button by its element reference.

Frequently Asked Questions about agent-browser

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

FAQPage Schema
How do I automate browser actions with an AI agent?▼

Install agent-browser globally with npm, run agent-browser install, then load workflow instructions via agent-browser skills get core. The CLI drives Chrome over CDP and exposes accessibility-tree snapshots with element refs for clicking, typing, and navigation.

How to take a screenshot or scrape data from a web page programmatically?▼

Use agent-browser to open the page, capture an accessibility-tree snapshot to identify elements, and extract data or save screenshots through its CLI commands. Element refs like @eN keep interactions stable across page changes.

Does agent-browser require Playwright or Puppeteer?▼

No, agent-browser is a native Rust CLI that communicates with Chrome/Chromium directly over the Chrome DevTools Protocol. It has no Playwright or Puppeteer dependency, which keeps it fast and lightweight.

Can agent-browser automate Electron apps like VS Code or Slack?▼

Yes, load the electron specialized skill with agent-browser skills get electron to automate Electron desktop apps such as VS Code, Slack, Discord, Figma, Notion, and Spotify. A separate slack skill covers workspace messaging and search.

Can I run browser automation in cloud sandboxes?▼

Yes, agent-browser supports Vercel Sandbox microVMs via the vercel-sandbox skill and AWS Bedrock AgentCore cloud browsers via the agentcore skill. Load the matching skill content before running commands in those environments.