Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/siarhei-belavus-agent-browser
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, testing, data, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agent-browser
Tools it pre-approves 3
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Bash(npxagent-browser:*),Bash(agent-browser:*)
What's inside
- Skill name
agent-browser- Description
- Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
- License
- MIT
- Allowed tools
- Bash(npx, agent-browser:*),, Bash(agent-browser:*)
- Instructions
- 572 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Pre-approves some shell commands
Agent Skills spec issues
- body: 572 lines (spec recommends under 500)
Files (11)
- SKILL.md
- authentication.md · references/
- commands.md · references/
- profiling.md · references/
- proxy-support.md · references/
- session-management.md · references/
- snapshot-refs.md · references/
- video-recording.md · references/
- authenticated-session.sh · templates/
- capture-workflow.sh · templates/
- form-automation.sh · templates/
SKILL.md (first lines)
# Browser Automation with agent-browser
## Core Workflow
Every browser automation follows this pattern:
1. **Navigate**: `agent-browser open <url>`
2. **Snapshot**: `agent-browser snapshot -i` (get element refs like `@e1`, `@e2`)
3. **Interact**: Use refs to click, fill, select
4. **Re-snapshot**: After navigation or DOM changes, get fresh refs
**Version:** targets agent-browser >= 0.15.0 (tested 0.15.2). If your installed `agent-browser --version` is older, run via `npx -y agent-browser@0.15.2 ...` or upgrade.
**Sessions:**
- `--session <name>` = isolated in-memory browser context (parallel work)
- `--session-name <name>` = auto-save/restore state (cookies/storage) across restarts
- Combine both if needed: `agent-browser --session <run> --session-name <persist> ...`
### Login wall handling (choose method)
If you hit a login wall (SSO/2FA/CAPTCHA, forced redirect to `/login`, auth modal, etc.), **pause and ask the user which login method they want** (use the `ask_user` tool; do not ask for passwords in chat).
Options:
- **Manual (headed) login** (recommended for SSO/2FA/CAPTCHA)
- **Auth profile (automated) login** (built-in `agent-browser auth`, for simple username/password flows)
After login (either method): **persist the authenticated session/state** and then resume the **original user goal**.
#### Path A — Manual (headed) login
1. **Open headed + isolate session** (so auth can be reused):
```bash
agent-browser --headed --session-name <site> open <login-url>
```
2. **Ask user to complete login** in the visible browser window.
3. **Persist the session** (pick one):
- Auto (recommended):
```bash
agent-browser close # auto-saves state for --session-name <site>
```
- Explicit file (portable):
```bash
agent-browser state save <site>-auth.json
```
4. **Proceed with original goal** using the same saved session/state:
```bash
agent-browser --session-name <site> open <target-url>
# or: agent-browser state load <site>-auth.json && agent-browser open <target-url>
```
#### Path B — Auth profile (automated) login
1. Create an auth profile once (built-in encrypted credential store; never ask user for password in chat):
```bash
echo "<pass>" | agent-browser auth save <site> --url <login-url> --username <user> --password-stdin
```
2. Login using the saved profile:
```bash
agent-browser auth login <site>
```
3. Persist state (pick one):
- Auto: ensure you ran with `--session-name <site>` and then `agent-browser close`.
- Explicit file: `agent-browser state save <site>-auth.json`
4. If you hit SSO/2FA/CAPTCHA or automation fails, **fall back to Path A** (headed manual login) and persist state.
Notes:
- If you started headless and discover a login wall, `close` and re-`open` with `--headed` for Path A.
- Keep the original goal in scope; login is only an enabling step.
```bash
agent-browser open https://example.com/form
agent-browser snapshot -i
# Output: @e1 [input type="email"], @e2 [input type="password"], @e3 [button] "Submit"
agent-browser fill @e1 "user@example.com"
agent-browser fill @e2 "<password-from-vault>"
agent-browser click @e3
agent-browser wait --load networkidle
agent-browser snapshot -i # Check result
```
## Command Chaining
Commands can be chained with `&&` in a single shell invocation. The browser persists between commands via a background daemon, so chaining is safe and more efficient than separate calls.
```bash
# Chain open + wait + snapshot in one call
agent-browser open https://example.com && agent-browser wait --load networkidle && agent-browser snapshot -i
# Chain multiple interactions
agent-browser fill @e1 "user@example.com" && agent-browser fill @e2 "$PASSWORD" && agent-browser click @e3
# Navigate and capture
agent-browser open https://example.com && agent-browser wait --load networkidle && agent-browser screenshot page.png
```
**When to chain:** Use `&&` when you don't need to read the output of an intermediate command before proceeding (e.g., open + wait + screenshot). Run commands separately when you need to parse the output first (e.g., snapshot to discover refs, then interact using those refs).
## Essential Commands
```bash
# Navigation
agent-browser open <url> # Navigate (aliases: goto, navigate)
agent-browser close # Close browser
# Snapshot
agent-browser snapshot -i # Interactive elements with refs (recommended)
agent-browser snapshot -i -C # Include cursor-interactive elements (divs with onclick, cursor:pointer)From siarhei-belavus/agent-public, MIT.
More from siarhei-belavus/agent-public
- 0.512score
code-implementer-agent
siarhei-belavus
Implement development tasks in safe, reviewable increments.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
atelier-orchestrator
siarhei-belavus
Orchestrate the full atelier workflow in one task window using pi teams runtime teams plus predefined agents, spawning right-side worker panes only when a…
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
extract-artifact-candidates
siarhei-belavus
Mine the current chat/history for forgotten durable-residue candidates and backfill `.plans/<task>/ARTIFACT_CANDIDATES.md` without touching tracked `AGENTS.md`.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
design-split-options
siarhei-belavus
Compare 2-3 materially different initiative decompositions in `SPLIT_OPTIONS.md` when task boundaries or sequencing are still ambiguous before authoring…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
design-child-contract
siarhei-belavus
Compare 2-3 materially different child-level contract/interface shapes and write the chosen direction into `CONTRACT_DECISION.md` before planning when local…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
stabilize-initiative-language
siarhei-belavus
Populate `UBIQUITOUS_LANGUAGE.md` inside an initiative packet with canonical terms, aliases to avoid, flagged ambiguities, and term relationships before…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
sync-initiative
siarhei-belavus
Fold a child loop back into the parent initiative packet, update canonical parent truth, record the sync log, and route the next durable-distill timing…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
distill-knowledge
siarhei-belavus
Curate durable residue from a completed task packet into canonical tracked `AGENTS.md` files or choose an explicit no-op.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
implement-task
siarhei-belavus
Implement a planned task from `.plans/<task-slug>/` with strict plan adherence, explicit amendments, and no direct writes to tracked `AGENTS.md`.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
plan-task
siarhei-belavus
Plan a development task into a self-sufficient execution contract stored in `.plans/<task-slug>/` for later fresh-context implementation and review.
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
review-agents-tree
siarhei-belavus
Audit the tracked `AGENTS.md` tree against best practices, write `.agents/AGENTS_TREE_REVIEW.md`, and propose cleanup, compaction, conflict resolution, or…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
review-code-maintainability
siarhei-belavus
Review implementation for maintainability, evolvability, anti-slop, and human complexity; emit `M#` findings and durable residue candidates when needed.
SkillCFreshness: C★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Apr 29, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/siarhei-belavus/agent-public
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from siarhei-belavus
- 0.512score
code-implementer-agent
siarhei-belavus
Implement development tasks in safe, reviewable increments.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
extract-artifact-candidates
siarhei-belavus
Mine the current chat/history for forgotten durable-residue candidates and backfill `.plans/<task>/ARTIFACT_CANDIDATES.md` without touching tracked `AGENTS.md`.
SkillCFreshness: C★ 2Claude Code +9 - 0.507score
atelier-orchestrator
siarhei-belavus
Orchestrate the full atelier workflow in one task window using pi teams runtime teams plus predefined agents, spawning right-side worker panes only when a…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
design-child-contract
siarhei-belavus
Compare 2-3 materially different child-level contract/interface shapes and write the chosen direction into `CONTRACT_DECISION.md` before planning when local…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
design-split-options
siarhei-belavus
Compare 2-3 materially different initiative decompositions in `SPLIT_OPTIONS.md` when task boundaries or sequencing are still ambiguous before authoring…
SkillCFreshness: C★ 2Claude Code +9 - 0.504score
distill-knowledge
siarhei-belavus
Curate durable residue from a completed task packet into canonical tracked `AGENTS.md` files or choose an explicit no-op.
SkillCFreshness: C★ 2Claude Code +9
Cite this page
agent-browser skill. Agent Mart. https://agentmart.dev/skills/siarhei-belavus-agent-browser (last updated 2026-10-24)