Skip to content
Back to skills

Agent Browser

ASecurity

Real-browser automation via the `agent-browser` CLI. Use when a task needs an actual browser — navigating pages, filling forms, clicking, taking screenshots (including rendering a local HTML file to PNG), scraping or extracting page data — or for exploratory testing, QA, and dogfooding of web apps. Pulls version-matched workflow instructions from the CLI itself.

  • 18 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentsbashtestingapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add bendrucker/claude --skill agent-browser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Browser?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Browser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bendrucker-agent-browser/badge)](https://www.skillsdirectory.com/skills/bendrucker-agent-browser)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-browser
description: Real-browser automation via the `agent-browser` CLI. Use when a task needs an actual browser — navigating pages, filling forms, clicking, taking screenshots (including rendering a local HTML file to PNG), scraping or extracting page data — or for exploratory testing, QA, and dogfooding of web apps. Pulls version-matched workflow instructions from the CLI itself.
allowed-tools:
  - Bash(agent-browser:*)
  - Bash(npx agent-browser:*)
---

# agent-browser

Native browser-automation CLI (Chrome via CDP, accessibility-tree snapshots, compact `@eN` element refs).

This stub holds no usage details on purpose — load the version-matched workflow from the CLI before running any `agent-browser` command:

```bash
agent-browser skills get core          # start here: workflows, patterns, troubleshooting
agent-browser skills get core --full   # full command reference + templates
agent-browser skills get dogfood       # exploratory testing / QA / bug hunts
agent-browser skills list              # everything on the installed version
```

## Sessions

Each `--session` runs its own Chrome until it is closed or its idle timeout passes.

- Use one session per agent, named for the agent rather than the item, and reuse it across items by navigating it.
- Run each `agent-browser` call as its own bare command, never chained or piped. Chrome can't launch sandboxed, and a sandboxed call relaunches the session's Chrome and drops the open page.
- Run `agent-browser --session <name> close` once your last item is done.
- A brief for browser-driving subagents names one session per subagent, and at most two such subagents run at a time.

## Render a page to PNG

To screenshot a local HTML file, such as a graphic for Slack, use these calls instead of running Chrome directly, which fails under the sandbox:

```bash
agent-browser --session <name> open file:///abs/path/page.html
agent-browser --session <name> set viewport 1600 900 2
agent-browser --session <name> screenshot /abs/path/out.png
```

The third `viewport` argument is the device scale factor.

Slack automation exists via `agent-browser skills get slack`, but prefer the Slack MCP tools for reads/sends/searches.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.