Claw Mouse
/install claw-mouse
claw-mouse
This skill provides a small, scriptable desktop GUI control helper for Linux X11.
It’s intended for “vision loop” automation:
- take a screenshot
- decide where to click
- move/click/type
- repeat
Under the hood it wraps:
scrotfor screenshotsxdotoolfor mouse/keyboard/window control
Files
desktopctl.py— the CLI script
Requirements
- Linux running X11 (not Wayland-only)
python3xdotoolscrot
Ubuntu/Debian:
sudo apt-get update
sudo apt-get install -y xdotool scrot
Usage
From this skill directory:
python3 desktopctl.py screenshot
python3 desktopctl.py click 500 300
python3 desktopctl.py type "hello"
python3 desktopctl.py key ctrl+l
python3 desktopctl.py windows
python3 desktopctl.py activate "Chromium"
DISPLAY / XAUTHORITY
If you’re running from a daemon/headless shell where DISPLAY isn’t set:
DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority python3 desktopctl.py screenshot
Or use flags:
python3 desktopctl.py --display :0 --xauthority $HOME/.Xauthority screenshot
Safety notes
This can click/type into your real desktop session. Use carefully.
Changelog
- 0.1.0: Initial published skill.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install claw-mouse - After installation, invoke the skill by name or use
/claw-mouse - Provide required inputs per the skill's parameter spec and get structured output
What is Claw Mouse?
Control a Linux X11 desktop by taking screenshots and moving/clicking/typing via xdotool + scrot. It is an AI Agent Skill for Claude Code / OpenClaw, with 735 downloads so far.
How do I install Claw Mouse?
Run "/install claw-mouse" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Claw Mouse free?
Yes, Claw Mouse is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Claw Mouse support?
Claw Mouse is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Claw Mouse?
It is built and maintained by Rylen Anil (@rylena); the current version is v0.1.0.