agent-browser

Automate browser interactions via a command-line interface using Playwright.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates interactions with websites, enabling AI agents to navigate, fill forms, click buttons, extract data, and perform complex browser-based tasks programmatically.

Core Features & Use Cases

  • Web Navigation: Open URLs, navigate back/forward, reload pages.
  • Form Interaction: Fill text fields, select dropdowns, check boxes, submit forms.
  • Data Extraction: Scrape text content, element attributes, and structured data.
  • Screenshots & PDFs: Capture full-page screenshots or save pages as PDFs.
  • Session Management: Maintain state across sessions, handle authentication securely.
  • Use Case: An AI agent needs to book a flight. It uses agent-browser to navigate to the airline's website, fill in departure/arrival dates, select seats, and complete the booking process.

Quick Start

Use agent-browser to open the website 'https://example.com' and take a full page screenshot named 'example.png'.

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 scraping and browser navigation for an AI agent?

Browser automation for AI agents is achieved through a command-line interface that enables web navigation, form filling, and data extraction. It allows agents to programmatically interact with web pages using semantic locators. You can open URLs, click buttons, and scrape structured text content.

Can I use Playwright to handle authentication and manage browser sessions?

Playwright supports session management and authentication flows for browser automation. The Skill maintains state across sessions, handles authentication securely, and utilizes Playwright for cross-browser compatibility. This allows AI agents to perform complex workflows like logging in and booking flights.

What's the best way to capture full-page screenshots and generate PDFs during web scraping?

The best way to capture screenshots and generate PDFs is using a headless browser automation tool. This Skill supports capturing full-page screenshots and saving pages as PDFs directly via command-line instructions, enabling AI agents to document web page states efficiently.

Does this browser automation tool support form interaction like filling text fields and selecting dropdowns?

Yes, the browser automation tool supports comprehensive form interaction including filling text fields, selecting dropdowns, checking boxes, and submitting forms. AI agents can use these features to complete complex web tasks like booking flights or submitting applications programmatically.

Are there advanced features like semantic locators and diffing available for headless browser testing?

Yes, advanced features like semantic locators, diffing, and profiling are available for headless browser testing. These features utilize Playwright to provide cross-browser compatibility, ensuring precise element targeting and performance profiling during automated web interactions.