Agent skill · software engineering · hkuds
cli-anything-browser
Browser automation CLI using DOMShell MCP server. Maps Chrome's Accessibility Tree to a virtual filesystem for agent-native navigation.
Why this skill is useful
Adds specific commands and workflows for browser automation that the AI wouldn't reliably generate on its own.
What it needs
Requires node, python installed locally. About 3k tokens when loaded. Last updated 2026-08-03. 46,739 stars on the source repository.
What this skill does
cli-anything-browser A command-line interface for browser automation using DOMShell's MCP server. Navigate web pages using filesystem commands: ls, cd, cat, grep, click. Installation Prerequisites 1. Node.js and npx (for DOMShell MCP server): 2. Chrome/Chromium with DOMShell extension: Install extension in Chrome Ensure Chrome is running before using CLI 3. Python 3.10+ Install CLI Command Groups page — Page Navigation page open <url> — Navigate to URL page reload — Reload current page page back — Navigate back in history page forward — Navigate forward in history page info — Show current page info fs — Filesystem Commands (Accessibility Tree) fs ls [path] — List elements at path fs cd <path> — Change directory fs cat [path] — Read element content fs grep <pattern> [path] — Search for text pattern fs pwd — Print working directory act — Action Commands act click <path> — Click an element act type <path> <text> — Type text into input session — Session Management session status — Show session state session daemon-start — Start persistent daemon mode session daemon-stop — Stop daemon mode Usage Examples Basic Navigation Search and Click Form Fill JSON Output Daemon Mode (Faster Interactive Use) Interactive REPL Path Syntax DOMShell uses a filesystem-like path for the Accessibility Tree: Array indices are 0-based: button[0] is the first button Use .. to go up one level Use / for root Agent-Specific Guidance JSON Output for Parsing All commands support --json flag for machine-readable output: Returns: Error Handling The CLI provides clear error messages for common issues: npx not found: Install Node.js from https://nodejs.org/ DOMShell not found: Run npx @apireno/domshell --version MCP call failed: Install DOMShell Chrome extension Check isavailable() return value before running commands. Daemon Mode for Efficiency For agent workflows with multiple commands, use daemon mode: 1. Start daemon: cli-anything-browser session daemon-start 2. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills hkuds/skills--d0edd5