Skip to content
Back to skills

Agent Browser

ASecurity

Browser automation CLI for AI agents (Rust + CDP, no Playwright/Puppeteer dependency). Use when the user needs to interact with websites — navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Check this before defaulting to playwright-cli or claude-in-chrome.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 24, 2026
toolsrustgoshellbashexpressawstestinggitdocumentation

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 24, 2026

npx -y skills add shifumin/dotfiles --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/shifumin-agent-browser/badge)](https://www.skillsdirectory.com/skills/shifumin-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: Browser automation CLI for AI agents (Rust + CDP, no Playwright/Puppeteer dependency). Use when the user needs to interact with websites — navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Check this before defaulting to playwright-cli or claude-in-chrome.
allowed-tools: Bash(agent-browser:*)
---

# agent-browser

Fast browser automation CLI (Rust + CDP, no Playwright/Puppeteer dependency). Unlike the `playwright-cli` skill in this repo, this skill intentionally has **no command reference of its own** — agent-browser ships its own embedded, version-matched documentation. Copying commands here would drift out of sync with whatever CLI version is actually installed, so always fetch the live docs instead of guessing syntax from memory.

## Before using any command

```bash
agent-browser --version               # confirm it's installed
agent-browser skills get core --full  # full command reference: snapshot/ref model,
                                       # waiting, sessions, eval, auth, troubleshooting
```

Load a specialized skill when the target isn't a standard web page:

```bash
agent-browser skills get electron        # Electron desktop apps (VS Code, Slack, Discord, Figma...)
agent-browser skills get slack           # Slack workspace automation
agent-browser skills get dogfood         # exploratory testing / QA / bug hunts
agent-browser skills get vercel-sandbox  # Vercel Sandbox microVMs
agent-browser skills get agentcore       # AWS Bedrock AgentCore cloud browser
```

## Hard-won lessons (safe to keep here — unlikely to go stale)

- **Never let a `--profile <dir>` directory get committed to git.** It's a real Chrome user-data-dir (Cookies, Login Data, History, Local/Session Storage — actual session secrets, not config). Add the directory to `.gitignore` *before* first use, especially in a vault/repo with an auto-commit tool (e.g. Obsidian Git) running in the background — auto-commit races the moment the profile is created and won't wait for you to gitignore it.
- Core loop: `open <url>` → `snapshot -i` → `click @eN` / `fill @eN` → re-snapshot after anything that changes the page. Refs go stale the instant the page changes.
- Persistent login across separate command invocations: `--session <name> --profile <dir> --headed open <url>`. The exact same command works whether the session is brand new or already running in the background daemon — no need to branch on "does a session already exist" (unlike playwright-cli's `list` → branch pattern).
- `eval --stdin` (heredoc) runs JS directly in the page context — no `async page => {...}` wrapper like playwright-cli's `run-code`. For multi-step logic with waits, use an async IIFE: `(async () => { ...; await new Promise(r => setTimeout(r, 5000)); ...; return result; })()`. Returning a plain object (not a pre-stringified JSON string) prints pretty-printed, parseable JSON.
- Prefer `eval --stdin` over inline `eval "..."` for anything beyond trivial expressions — shell quoting with nested quotes is error-prone.

## Installation

```bash
npm install -g agent-browser && agent-browser install   # or: brew install agent-browser
```

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 tools →

Comments

Loading comments…

Newsletter

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