Loading...
Loading...
Browser automation CLI using DOMShell MCP server. Maps Chrome's Accessibility Tree to a virtual filesystem for agent-native navigation.
npx skill4agent add hkuds/cli-anything cli-anything-browserlscdcatgrepclick# Install Node.js from https://nodejs.org/
npx --versioncd browser/agent-harness
pip install -e .pagepage open <url>page reloadpage backpage forwardpage infofsfs ls [path]fs cd <path>fs cat [path]fs grep <pattern> [path]fs pwdactact click <path>act type <path> <text>sessionsession statussession daemon-startsession daemon-stop# Open a page
cli-anything-browser page open https://example.com
# Explore structure
cli-anything-browser fs ls /
cli-anything-browser fs cd /main
cli-anything-browser fs ls
# Go back to root
cli-anything-browser fs cd /cli-anything-browser fs grep "Login"
cli-anything-browser act click /main/button[0]cli-anything-browser act type /main/input[0] "user@example.com"
cli-anything-browser act click /main/button[0]cli-anything-browser --json fs ls /# Start persistent connection
cli-anything-browser session daemon-start
# Run commands (uses persistent connection)
cli-anything-browser fs ls /
cli-anything-browser fs cd /main
# Stop daemon when done
cli-anything-browser session daemon-stopcli-anything-browser/ — Root (document)
/main — Main landmark
/main/div[0] — First div in main
/main/div[0]/button[2] — Third button in first divbutton[0]../--jsoncli-anything-browser --json fs ls /{
"path": "/",
"entries": [
{"name": "main", "role": "landmark", "path": "/main"}
]
}npx @apireno/domshell --versionis_available()cli-anything-browser session daemon-startcli-anything-browser session daemon-stophttp://https://example.comfile://javascript://data://vbscript://about://chrome://http://https://CLI_ANYTHING_BROWSER_ALLOWED_SCHEMESCLI_ANYTHING_BROWSER_BLOCK_PRIVATE=true--jsonexport CLI_ANYTHING_BROWSER_BLOCK_PRIVATE=true
cli-anything-browser page open http://localhost:8080 # Will be blocked