# Automate Browser Tasks with Agent Browser

Manual browser workflows are slow and difficult to reproduce. This skill drives remote Playwright sessions for navigation, interaction, extraction, screenshots, and video.

## Install

```bash
npx skillstore add infsh-skills/agent-browser
```

## Metadata

- Status: approved
- Slug: infsh-skills-agent-browser
- Skillstore revision: r2
- Version status: missing
- Tree hash: 9217592db0c540dbb41db26b2a752f111a2b3008d156a9cfe4edc7f56b71639d
- Author: infsh-skills
- GitHub username: infsh-skills
- License: MIT
- Repository: https://github.com/infsh-skills/skills/tree/main/tools/utilities/agent-browser/
- Ref: 4121de961d1b6f2ffca856260e239505c302452c
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/infsh-skills-agent-browser
- Manifest: https://skillstore.pages.dev/api/skills/infsh-skills-agent-browser/manifest

## Capabilities

- Opens remote browser sessions with viewport, user agent, proxy, and recording options.
- Returns page snapshots with element references for repeatable interactions.
- Clicks, fills, types, selects, uploads, drags, scrolls, waits, and navigates.
- Captures viewport screenshots, full-page screenshots, and optional session video.
- Executes page JavaScript and extracts text, links, metadata, and element details.
- Provides shell templates for authentication, form submission, and content capture.

## Use Cases

- Inspect Web Interfaces: Open a page, identify interactive elements, and capture current state before making changes.
- Collect Public Page Data: Extract visible text, links, titles, and screenshots from approved public websites.
- Automate Repeated Form Workflows: Fill and verify approved forms with controlled inputs and confirmation before submission.

## Prompt Templates

### Inspect a Page

```
Open [URL], return the page title and interactive elements, then stop without clicking or entering data.
```

### Capture Public Content

```
Open [URL], extract the main visible text and links, take a full-page screenshot, then close the session.
```

### Prepare a Form Submission

```
Open [FORM URL], map fields to my provided values, fill them, and ask for confirmation before submitting.
```

### Run a Scoped Browser Workflow

```
Use [PROXY] to inspect [URL], perform only [ALLOWED ACTIONS], record video, extract [FIELDS], and close every session.
```

## Limitations

- Requires the inference.sh CLI, an account, network access, and the agent-browser service.
- Element references expire after navigation or dynamic page changes.
- Remote sessions may expose page content, credentials, files, screenshots, and video to external infrastructure.
- Website terms, authentication controls, anti-bot measures, and local laws still apply.

## Best Practices

- Use approved domains, disposable test accounts, and the minimum required permissions.
- Refresh element references after navigation, form submission, or dynamic content changes.
- Confirm before uploads, submissions, authentication, recording, or JavaScript execution.

## Anti Patterns

- Do not capture credentials, payment data, private messages, or confidential pages without authorization.
- Do not reuse stale element references after the page changes.
- Do not leave sessions open or store cookies, screenshots, videos, and extracted data indefinitely.

## Security Audit

- Audited at: 2026-08-06T11:32:40.863\+00:00
- Summary: Most static hits are false positives caused by Markdown syntax, fenced shell examples, placeholder URLs, relative links, and /dev/null redirection. Confirmed risks include external installation, remote image loading, TOTP exposure through process arguments, and remote screen capture. Credential submission, cookie extraction, local file upload, and page JavaScript require explicit consent and strict scoping.

## Stats

- Views: 118
- Downloads: 8
- Favorites: 0
- Popularity score: 0
