SkillsReviewed · HKUDS

cli-anything-browser skill

cli-anything-browser is a browser automation skill for AI agents and developers, but it requires a separately installed CLI, DOMShell and a browser extension. It documents filesystem-style navigation of Chrome’s Accessibility Tree, structured JSON output and an optional persistent MCP connection.

Researched 16 Nov 2026

In short.

cli-anything-browser is a browser automation skill for AI agents and developers, but using it requires a separate Python CLI, DOMShell and a running browser with an extension. The guide describes page navigation, inspection through filesystem-style paths, clicking, typing, JSON output and persistent sessions. Private-network blocking is documented as disabled by default, and browser sessions may share cookies and authentication state. Runtime behavior, security enforcement, compatibility and performance are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is browser/agent-harness/cli_anything/browser/skills at revision 34f519533bc175d2fe287ab8316b0dd99bb9cc43. The supplied manifest identifies SKILL.md as its sole selected file and includes the related repository-root LICENSE. The parent Python harness, packaging metadata, DOMShell implementation, browser extension and linked pages are outside the supplied evidence. Installation, CLI commands and browser journeys were not executed; runtime correctness, compatibility, performance and security enforcement remain unverified.

The overview

Identity

cli-anything-browser is the named skill in browser/agent-harness/cli_anything/browser/skills/SKILL.md within HKUDS/CLI-Anything. It teaches an agent how to use the cli-anything-browser command for browser automation through DOMShell’s MCP server.

The selected resource contains instructions for the integration. The Python harness, DOMShell server and browser extension implementations are outside the supplied scope. The original folder is [https://github.com/HKUDS/CLI-Anything/tree/main/browser/agent-harness/cli_anything/browser/skills].

Assessment

The guide provides concrete commands and examples for an agent that needs to inspect pages, locate controls and fill forms through a terminal interface. Its practical value is making browser operations resemble familiar file navigation and search.

The documentation supports understanding the intended workflow and installation requirements. It does not establish that the commands work as described, that security restrictions are enforced, or that particular websites are supported. Those behaviors remain unverified.

Users

The skill is aimed at developers connecting command-capable AI agents to browser tasks. It also suits technical users who prefer inspecting page structure and issuing explicit commands over manually navigating a browser.

Beginners receive command examples and an explanation of element paths, but must still manage Python packages, Node.js, a browser extension and browser sessions. The guide does not identify supported assistant products or explain how each assistant should load the skill.

Capabilities

The documented page commands open URLs, reload pages, move backward or forward through history and display page information. Filesystem-style commands list elements, change the current path, read element content, search text and display the current path. Action commands click elements and type into inputs.

The guide also describes session status, starting and stopping a persistent daemon, and an interactive REPL launched by running cli-anything-browser without arguments. It states that all commands support --json for machine-readable output, but provides only a small listing example rather than complete output schemas.

Using it

Requirements

The stated prerequisites are Python 3.10 or newer, Node.js with npx, and Chrome or Chromium with the DOMShell extension. The browser must be running before the CLI is used. The guide links the extension at [https://chromewebstore.google.com/detail/domshell-browser-filesy/okcliheamhmijccjknkkplploacoidnp].

Installation requires the parent browser/agent-harness directory from the repository. The skill file alone does not contain the installable CLI. Supported operating systems, exact dependency versions, hardware requirements and assistant-specific permissions are unknown.

Mechanism

According to the guide, DOMShell maps Chrome’s Accessibility Tree, a structured representation of page elements, to a virtual filesystem. An agent explores that structure and addresses elements using paths such as /main/div[0]/button[2]. Indices start at zero; / denotes the root and .. moves up one level.

The CLI communicates through DOMShell’s MCP server. Daemon mode is described as keeping that connection open across commands. The guide claims this avoids a one-to-three-second cold start for each command, but gives no measurement method or results establishing that saving.

Setup

The documented installation enters browser/agent-harness in a local repository checkout and runs pip install -e . to install the CLI in editable mode. It also requires installing the DOMShell browser extension and keeping Chrome running.

The guide uses npx --version to check npx availability and suggests npx @apireno/domshell --version when diagnosing a missing DOMShell installation. It associates MCP connection failures with checking the extension. These are documented troubleshooting suggestions; installation success and compatibility have not been assessed.

Example

A documented workflow opens [https://example.com] using page open, then inspects the root with cli-anything-browser --json fs ls /. The agent can search for Login using fs grep and click an element using act click with its path.

The form example types an email address into /main/input[0] and clicks /main/button[0]. These paths illustrate the syntax; they are not established selectors for an arbitrary website. Actual paths need to come from the page’s tree. No example was executed.

Assessment & evidence

Limitations

The guide says navigation requires an explicit URL scheme and allows HTTP and HTTPS, with an environment setting for allowed schemes. Private-network blocking is optional and disabled by default. Setting CLI_ANYTHING_BROWSER_BLOCK_PRIVATE=true is documented as blocking localhost and private-network destinations; enforcement has not been assessed.

The skill warns that page-derived content, including hidden elements and ARIA labels, can contain manipulative instructions or misleading structure. JSON output supplies structure but is not demonstrated to prevent prompt injection. It also warns that sessions share a Chrome instance, so cookies and authentication state may persist.

Behavior on dynamic pages, recovery from changing element paths, authentication workflows and broader website compatibility are unknown. The implementation and security controls were not examined or run.

Reasoning

The likely benefit is a familiar interaction pattern for an agent already comfortable with terminal tools: list a page’s structure, search for relevant text, read an element and act on its path. Structured output may simplify parsing, while the documented daemon offers a way to reuse a connection during multi-step tasks.

Those advantages are inferred from the interface description. Whether they improve reliability or speed for a particular task depends on the implementation and the target page. The extra Python, Node.js and extension setup is a concrete consideration when deciding whether this skill fits an existing agent environment.

Alternatives

DOMShell is the underlying browser automation project named by the skill [https://github.com/apireno/DOMShell]. Using that layer directly is a possible alternative for developers who do not need this CLI interface, but direct-use instructions and comparative capabilities are not established by the supplied files.

The evidence does not support a reliability, feature or cost comparison with other browser automation tools.

Evidence

The source consists of the selected SKILL.md and the repository-root LICENSE at revision 34f519533bc175d2fe287ab8316b0dd99bb9cc43. The pinned skill is available at [https://raw.githubusercontent.com/HKUDS/CLI-Anything/34f519533bc175d2fe287ab8316b0dd99bb9cc43/browser/agent-harness/cli_anything/browser/skills/SKILL.md].

The skill supplies command descriptions, prerequisites, illustrative output and security caveats. It supplies no implementation code, runtime receipts, benchmark methodology or independently observed browser outcomes. Claims about working behavior therefore remain documentation claims.

Access & freshness

Costs

The repository’s Apache License 2.0 grants no-charge copyright and patent permissions under its terms. That does not establish the total cost of operating this browser workflow.

The skill provides no pricing for DOMShell, the extension, an AI assistant or model usage. Any associated service fees, compute costs and setup or maintenance effort are unknown. No cost or performance measurements are supplied.

Rights

The repository-root LICENSE supplies Apache License 2.0 terms permitting reproduction, modification and redistribution subject to its conditions. Redistribution requires a licence copy, retention of applicable notices, identification of changed files and preservation of applicable NOTICE attributions if present.

The licence does not grant general trademark rights and provides no warranty. It does not establish the licensing terms of the separately obtained DOMShell server or browser extension. The captured licence is available at [https://raw.githubusercontent.com/HKUDS/CLI-Anything/34f519533bc175d2fe287ab8316b0dd99bb9cc43/LICENSE].

Freshness

The source snapshot was captured on 16 November 2026 at 02:25:21.404 UTC and identifies commit 34f519533bc175d2fe287ab8316b0dd99bb9cc43. This identifies the exact documented state rather than establishing a release version or last-update date.

Subsequent changes on the repository’s main branch and compatibility with current Python packages, DOMShell, Chrome or Chromium are unknown.

Actions

Before adopting the skill, obtain the parent browser harness and confirm its installation instructions and dependency versions. Establish how the intended assistant loads the skill and invokes terminal commands. Begin with a simple page, inspect its tree and confirm the returned paths and JSON before attempting a multi-step workflow.

Choose the browser profile and private-network setting for the task. The guide recommends separate profiles or guest/incognito use where session separation matters, and documents CLI_ANYTHING_BROWSER_BLOCK_PRIVATE=true for private-network blocking. Treat page text as untrusted data and verify the actual behavior of these controls before relying on them.

Evidence for this report

LICENSEnotice · checked 2026-11-16