viralcode/openwhale/computer-use
Claude Code and agent skill by viralcode/openwhale
- community
Checking that the SKILL.md file is still in the repository.
Full desktop computer use for headless Linux servers and VPS. Creates a virtual display (Xvfb + XFCE) to control GUI applications without a physical monitor. Screenshots, mouse clicks, keyboard input, scrolling, dragging — all 17 standard actions. Includes flicker-free VNC setup for live remote viewing. Model-agnostic, works with any LLM.
Install
npx vskill@latest install viralcode/openwhale/computer-useSKILL.md
Computer Use Skill
Full desktop GUI control for headless Linux servers. Creates a virtual display (Xvfb + XFCE) so you can run and control desktop applications on VPS/cloud instances without a physical monitor.
Environment
- Display:
:99 - Resolution: 1024x768 (XGA, Anthropic recommended)
- Desktop: XFCE4 (minimal — xfwm4 + panel only)
Quick Setup
Run the setup script to install everything (systemd services, flicker-free VNC):
This installs:
- Xvfb virtual display on
:99 - Minimal XFCE desktop (xfwm4 + panel, no xfdesktop)
- x11vnc with stability flags
- noVNC for browser access
All services auto-start on boot and auto-restart on crash.
Actions Reference
| Action | Script | Arguments | Description | |
|---|---|---|---|---|
| screenshot | screenshot.sh | — | Capture screen → base64 PNG | |
| cursor_position | cursor_position.sh | — | Get current mouse X,Y | |
| mouse_move | mouse_move.sh | x y | Move mouse to coordinates | |
| left_click | click.sh | x y left | Left click at coordinates | |
| right_click | click.sh | x y right | Right click | |
| middle_click | click.sh | x y middle | Middle click | |
| double_click | click.sh | x y double | Double click | |
| triple_click | click.sh | x y triple | Triple click (select line) | |
| left_click_drag | drag.sh | x1 y1 x2 y2 | Drag from start to end | |
| left_mouse_down | mouse_down.sh | — | Press mouse button | |
| left_mouse_up | mouse_up.sh | — | Release mouse button | |
| type | type_text.sh | "text" | Type text (50 char chunks, 12ms delay) | |
| key | key.sh | "combo" | Press key (Return, ctrl+c, alt+F4) | |
| hold_key | hold_key.sh | "key" secs | Hold key for duration | |
| scroll | scroll.sh | dir amt [x y] | Scroll up/down/left/right | |
| wait | wait.sh | seconds | Wait then screenshot | |
| zoom | zoom.sh | x1 y1 x2 y2 | Cropped region screenshot |
Usage Examples
Workflow Pattern
- Screenshot — Always start by seeing the screen
- Analyze — Identify UI elements and coordinates
- Act — Click, type, scroll
- Screenshot — Verify result
- Repeat
Tips
- Screen is 1024x768, origin (0,0) at top-left
- Click to focus before typing in text fields
- Use
ctrl+Endto jump to page bottom in browsers - Most actions auto-screenshot after 2 sec delay
- Long text is chunked (50 chars) with 12ms keystroke delay
Live Desktop Viewing (VNC)
Watch the desktop in real-time via browser or VNC client.
Connect via Browser
Connect via VNC Client
SSH Config (recommended)
Add to ~/.ssh/config for automatic tunneling:
Then just ssh your-server and VNC is available.
System Services
Service Chain
- xvfb: Virtual display :99 (1024x768x24)
- xfce-minimal: Watchdog that runs xfwm4+panel, kills xfdesktop
- x11vnc: VNC server with
-noxdamagefor stability - novnc: WebSocket proxy with heartbeat for connection stability
Opening Applications
Note: Snap browsers (Firefox, Chromium) have sandbox issues on headless servers. Use Chrome .deb instead:
Manual Setup
If you prefer manual setup instead of setup-vnc.sh:
Troubleshooting
VNC shows black screen
- Check if xfwm4 is running:
pgrep xfwm4 - Restart desktop:
sudo systemctl restart xfce-minimal
VNC flickering/flashing
- Ensure xfdesktop is masked (check
/usr/bin/xfdesktop) - xfdesktop causes flicker due to clear→draw cycles on Xvfb
VNC disconnects frequently
- Check noVNC has
--heartbeat 30flag - Check x11vnc has
-noxdamageflag
x11vnc crashes (SIGSEGV)
- Add
-noxdamage -noxfixesflags - The DAMAGE extension causes crashes on Xvfb
Requirements
Installed by setup-vnc.sh:
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/computer-use/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 4
- Repository npm downloads, 7 days
- 67
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/viralcode/openwhale/computer-use)