agent-browser
This skill should be used when the user asks to "open a browser", "navigate to a URL", "test the UI", "check a page", "browse a website", "take a screenshot"…
Skill by richin13
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/richin13-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: design, testing, productivity, agent-building
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
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agent-browser
What's inside
- Skill name
agent-browser- Description
- This skill should be used when the user asks to "open a browser", "navigate to a URL", "test the UI", "check a page", "browse a website", "take a screenshot", "fill a form", "click a button", or any browser automation task. Also triggered by CLAUDE.md directives like "Use 'agent-browser' when navigating".
- License
- MIT
- Instructions
- 110 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- advanced-features.md · references/
SKILL.md (first lines)
# Agent Browser Browser automation CLI for AI agents. Uses Chrome/Chromium via CDP. ## Session Strategy Derive a session name from the current working directory basename to automatically persist and reuse browser state (cookies, localStorage) across invocations: ```bash agent-browser --session-name "$(basename "$PWD")" open <url> ``` This avoids re-authenticating on every interaction. The session auto-saves on close and auto-restores on next open. When a fresh session is needed (e.g., testing unauthenticated flows, clearing corrupted state): ```bash agent-browser --session-name "$(basename "$PWD")-fresh" open <url> ``` ## Core Loop Every browser interaction follows this pattern: 1. Open a URL (reuses existing session) 2. Snapshot to discover interactive elements and their `@ref` handles 3. Interact (click, fill, select) 4. Snapshot again after any navigation or DOM change ```bash agent-browser --session-name "$(basename "$PWD")" open https://example.com agent-browser snapshot -i agent-browser fill @e1 "user@example.com" agent-browser click @e3 agent-browser snapshot -i ``` ## Batching Use `batch` for 2+ commands that don't need intermediate output: ```bash agent-browser batch "fill @e1 \"email\"" "fill @e2 \"pass\"" "click @e3" "wait 2000" agent-browser batch --bail "open https://example.com" "click @e1" "screenshot" ``` Run commands separately only when you need to read output before deciding the next step. ## Snapshots and Screenshots ```bash agent-browser snapshot -i # interactive elements + @refs agent-browser snapshot -i -s "#main" # scope to CSS selector agent-browser snapshot -i --urls # include href URLs agent-browser screenshot # save to temp dir agent-browser screenshot /tmp/page.png # save to specific path agent-browser screenshot --full # full page agent-browser screenshot --annotate # numbered labels on elements ``` Annotated screenshots show `[N]` labels mapped to `@eN` refs. Use when elements are unlabeled icons or visual-only. ## Interacting with Elements ```bash agent-browser fill @e1 "text" # fill input agent-browser click @e3 # click element agent-browser get text @e1 # read text content agent-browser get value @e1 # read input value agent-browser get attr @e1 href # read attribute ``` ## Semantic Locators (when refs are unavailable) ```bash agent-browser find role button click --name "Submit" agent-browser find text "Sign In" click agent-browser find label "Email" fill "user@test.com" agent-browser find placeholder "Search" type "query" agent-browser find testid "submit-btn" click ``` ## Waiting ```bash agent-browser wait 2000 # fixed delay (ms) agent-browser wait "#spinner" --state hidden # element disappears agent-browser wait @e1 # element appears agent-browser wait --text "Results loaded" # text appears agent-browser wait --url "**/dashboard" # URL pattern ``` Avoid `wait --load networkidle` as it hangs on sites with persistent websockets. ## Closing the Session ```bash agent-browser close ``` State auto-saves when using `--session-name`. Next open with the same session name restores it. ## Additional Resources ### Reference Files For advanced features (network mocking, viewport emulation, debugging, multiple sessions, JS eval, diffing, video recording): - **`references/advanced-features.md`** - Complete command reference for all advanced capabilities
From richin13/dotfiles, MIT.
More from richin13/dotfiles
- 0.643score
generate-img
richin13
Generate or edit images with OpenAI GPT Image 2.5 (Sunburst/Flare) through a bundled bash script.
SkillAFreshness: A★ 15Claude Code +9 - 0.598score
ste-writing
richin13
Rewrite prose (docs, READMEs, PR descriptions, error messages, release notes, comments — never code) into ASD-STE100 Simplified Technical English to remove…
SkillBFreshness: B★ 15Claude Code +9 - 0.597score
new-feature
richin13
Explicit-only workflow for deep feature exploration.
SkillBFreshness: B★ 15Claude Code +9 - 0.550score
fastapi-dev
richin13
FastAPI engineering choices.
SkillCFreshness: C★ 15Claude Code +9 - 0.523score
update-pr
richin13
This skill should be used when the user asks to "update the PR", "update PR body", "update PR title", "sync PR description", "update pull request", or wants…
SkillCFreshness: C★ 15Claude Code +9 - 0.518score
grill-me
github.com/mattpocock
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree.
SkillCFreshness: C★ 15Claude Code +9 - 0.485score
github-projects
richin13
Knowledge on how to work with Github projects.
SkillDFreshness: D★ 15Claude Code +9 - 0.463score
incremental-discovery
richin13
This skill should be used when the user asks to "investigate something incrementally", "start a discovery journal", "journal my findings", "explore this step…
SkillDFreshness: D★ 15Claude Code +9
Signals
- Stars
- 15
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- May 18, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/richin13/dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from richin13
- 0.643score
generate-img
richin13
Generate or edit images with OpenAI GPT Image 2.5 (Sunburst/Flare) through a bundled bash script.
SkillAFreshness: A★ 15Claude Code +9 - 0.598score
ste-writing
richin13
Rewrite prose (docs, READMEs, PR descriptions, error messages, release notes, comments — never code) into ASD-STE100 Simplified Technical English to remove…
SkillBFreshness: B★ 15Claude Code +9 - 0.597score
new-feature
richin13
Explicit-only workflow for deep feature exploration.
SkillBFreshness: B★ 15Claude Code +9 - 0.550score
fastapi-dev
richin13
FastAPI engineering choices.
SkillCFreshness: C★ 15Claude Code +9 - 0.523score
update-pr
richin13
This skill should be used when the user asks to "update the PR", "update PR body", "update PR title", "sync PR description", "update pull request", or wants…
SkillCFreshness: C★ 15Claude Code +9 - 0.485score
github-projects
richin13
Knowledge on how to work with Github projects.
SkillDFreshness: D★ 15Claude Code +9
Cite this page
agent-browser skill. Agent Mart. https://agentmart.dev/skills/richin13-agent-browser (last updated 2026-10-24)