Install
openclaw skills install @shifengwang333-ai/clashx-node-switcherControl ClashX VPN via Peekaboo to test latency and switch to the US proxy node with the lowest latency using menu bar automation.
openclaw skills install @shifengwang333-ai/clashx-node-switcherControl ClashX VPN client via Peekaboo to switch between proxy nodes, prioritizing US nodes with lowest latency.
(1578, 12) (found via peekaboo menubar list)peekaboo click --coords 1578,12
peekaboo hotkey --keys "cmd,t" --app ClashX
sleep 3 # Wait for test to complete
The dialog shows "延迟测速完成" (Latency test complete). Capture screenshot to see results.
peekaboo press return # Close dialog
sleep 0.3
peekaboo click --coords 1578,12 # Reopen menu
Hover over "国外流量" or its current node to reveal submenu with all nodes:
peekaboo move 900,65 # Approximate position of 国外流量 row
sleep 0.3
screencapture -x /tmp/clash_nodes.png
US nodes typically have names containing:
# Click on the desired US node in the submenu
peekaboo click --coords X,Y # Coordinates of target US node
# List menu bar items to find ClashX
peekaboo menubar list
# See full UI elements
peekaboo see --mode screen --screen-index 0
# Capture current screen
screencapture -x /tmp/screen.png