In short.
The agent-browser skill is an instruction set for AI assistants and developers automating websites, but installation and version compatibility of its required command-line tool are unspecified. Its core workflow opens a page, takes a snapshot of interactive elements, acts through temporary references such as @e1 and refreshes those references after page changes. It also documents saved login state, named sessions, screenshots, PDF export, JSON output and an iOS workflow. No commands were executed; operational reliability, compatibility and performance remain unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to .claude/skills/agent-browser/SKILL.md in shanraisshan/claude-code-best-practice and the repository-root LICENSE at commit d386eb572af80fa45d70e7dd8ca1373eafa10e18. The licence is a related notice outside the skill folder. Linked reference documents and template bodies are not supplied. The CLI implementation, dependency licences and actual browser or website behavior are outside the assessed material. No commands, scripts or browser journeys were executed.
The overview
identity
This resource is .claude/skills/agent-browser/SKILL.md in shanraisshan/claude-code-best-practice. It supplies instructions that an assistant can use to operate the separate agent-browser command-line tool; the supplied material does not include that tool's implementation.
Its metadata names the skill agent-browser, describes browser automation tasks and declares Bash(agent-browser:*) as its allowed-tools pattern. How an assistant host interprets or enforces that declaration is not established.
assessment
The skill offers a useful operating reference for website interaction when the required browser tool is already available. Its clearest practical contribution is explaining how to obtain element references and refresh them after navigation or dynamic page changes.
The document provides command examples rather than demonstrated results. It supports understanding the intended workflow, but does not establish successful operation on any particular website.
users
The intended users are AI assistants performing browser tasks and developers directing or inspecting those tasks. Documented uses include filling forms, extracting page text, capturing screenshots, checking web applications and returning to authenticated sessions.
Beginners get short command sequences that expose each step, but still need help with command-line installation and assistant configuration. Experienced developers get details about reference lifetimes, semantic locators, named sessions and machine-readable output.
capabilities
The documented commands cover navigation, clicking, filling or appending text, selecting options, checking checkboxes, keyboard input and scrolling. Snapshots can expose interactive elements, include cursor-interactive elements with -C or focus on a CSS selector with -s.
Other examples cover text, URL and title extraction; JSON output; screenshots and PDF capture; saving and loading browser state; named sessions; headed windows, highlighting and video recording. Local-file access and iOS Safari interaction are also described. These are documented capabilities, not verified results.
Using it
requirements
The workflow requires an assistant environment able to invoke shell commands and an available agent-browser executable. The file does not specify its supported version, general installation process, browser installation requirements or desktop operating-system compatibility.
The iOS workflow explicitly requires macOS with Xcode and Appium with the xcuitest driver. Physical iOS devices are described as usable when preconfigured, using a device identifier obtained through xcrun xctrace list devices; the necessary preconfiguration is not explained.
mechanism
The central sequence is to open a URL, run agent-browser snapshot -i, use the returned references in interaction commands and take another snapshot after the page changes. A reference such as @e1 identifies an element from a particular snapshot.
The file states that references become invalid when the page changes, including after navigation, form submission or dynamic content loading. It also provides semantic alternatives that locate elements through text, labels, roles, placeholders or test identifiers.
setup
Make the agent-browser executable available to the assistant's shell before following the examples. The file does not explain how to install that executable or register the skill with a particular assistant host.
The documented starting point is opening a page and requesting an interactive snapshot. Optional modes add separate preparation: local files use --allow-file-access, while iOS uses the -p ios option, a configured device and the stated Apple and Appium prerequisites.
example
The supplied signup illustration opens [https://example.com/signup], requests an interactive snapshot, fills a name and email address, selects California, checks a checkbox, submits the form and waits for network idle.
Its @e1 through @e5 references are illustrative. On another page, each action must use the references returned by that page's current snapshot. The general workflow then calls for a fresh snapshot to inspect the resulting page. No execution result is supplied for this example.
Assessment & evidence
limitations
The skill links to six reference documents and three shell templates, but their contents are not supplied. Their availability and behavior are unknown. Proxy configuration, OAuth and two-factor authentication appear as linked topics without enough detail here to assess those workflows.
The authentication example saves state to auth.json, but storage protection, retention and access controls are not described. The material also provides no measured success rates, performance results or demonstrated recovery from failed browser actions.
reasoning
The skill's practical value comes from connecting page inspection to explicit browser actions. Its reference-refresh rule gives an assistant a concrete procedure for handling changing pages, while named sessions and saved state describe ways to continue work across interactions.
Those documented patterns make it a plausible operating guide once the underlying tool is available. They do not establish comparative speed, autonomous task completion or reliability on complex sites.
alternatives
Within the skill, semantic locators provide an alternative when snapshot references are unavailable or unreliable. Headed windows, highlighting and recordings offer additional ways to inspect an automation.
No competing browser tools, skills or testing frameworks are evaluated in the supplied evidence. Their relative installation effort, reliability and suitability for automated testing are not assessed.
evidence
The original skill text is available at [https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/d386eb572af80fa45d70e7dd8ca1373eafa10e18/.claude/skills/agent-browser/SKILL.md]. It contains metadata, command descriptions and illustrative workflows.
The accompanying repository licence is available at [https://raw.githubusercontent.com/shanraisshan/claude-code-best-practice/d386eb572af80fa45d70e7dd8ca1373eafa10e18/LICENSE]. These two files provide documentation and rights evidence; no execution logs or demonstrated browser outcomes are supplied.
Access & freshness
costs
No prices or usage limits are supplied for agent-browser, the assistant running it or any supporting infrastructure. Setup effort and ongoing operating cost are unknown. The MIT permission for the captured material does not establish the cost of its dependencies.
rights
The repository's MIT notice attributes copyright to Shayan Rais for 2025–2026. It permits use, copying, modification and redistribution, including commercial distribution, provided the copyright and permission notices accompany copies or substantial portions. It also disclaims warranties and liability.
This notice supports reuse of the captured skill documentation. Separate licence terms for the agent-browser executable, Appium, browser components and content obtained from websites are not established by the supplied material.
freshness
The source snapshot is pinned to commit d386eb572af80fa45d70e7dd8ca1373eafa10e18 and was captured on 15 November 2026 at 17:19:01 UTC. That timestamp does not establish when the skill was last edited.
The file gives no agent-browser release number or version compatibility information. Later repository changes and compatibility with currently installed tool versions are unknown.
actions
Before adoption, obtain installation instructions, supported versions and licence information for the separate agent-browser tool. Obtain the linked references or templates if the intended task depends on them.
For an initial evaluation, use a page you control, inspect a snapshot, perform one interaction and confirm the expected result through a fresh snapshot. Decide where saved authentication state will reside and who can read it. Confirm the additional prerequisites before planning iOS automation.
