VNC Computer-Use CLI - control a remote desktop via VNC for AI computer-use agents.
pip install vnc-computer-useTo add VNC desktop control as a skill for Claude Code:
npx skills add EYHN/vnc --skill vncThis installs the /vnc skill, which teaches Claude how to connect to VNC servers, take screenshots, click, type, and interact with remote desktops autonomously.
vnc connect localhost::5900
vnc connect myhost:0 --password secret
vnc connect myhost:0 --username user --password pass # macOS Screen Sharing# Screenshots
vnc get_screenshot -o screen.png
vnc get_screenshot # returns base64 JSON
# Keyboard
vnc key enter
vnc key ctrl-c
vnc type "hello world"
# `vnc type` sends key events instead of using the remote clipboard.
# This is slower for long strings but does not depend on VNC clipboard sync.
# Mouse
vnc left_click 100 200
vnc right_click 300 400
vnc double_click 100 200
vnc mouse_move 500 500
vnc left_click_drag 100 200
vnc scroll down 100 200
# Info
vnc get_cursor_position
vnc get_screen_size
vnc statusvnc connect host1::5900 --session work
vnc connect host2::5900 --session personal
vnc -s work get_screenshot -o work.png
vnc -s personal left_click 100 200vnc disconnect
vnc disconnect --session workvnc launches a background daemon process that maintains a persistent VNC connection via vncdotool. The CLI communicates with the daemon over a Unix domain socket, making each action fast without reconnection overhead.