win-mouse-native

Review·Scanned 2/18/2026

This skill provides native Windows mouse control via user32.dll and includes win-mouse.cmd and scripts/win-mouse.ps1. It instructs the agent to execute local commands using exec (e.g., win-mouse ...) and invokes PowerShell with -ExecutionPolicy Bypass.

from clawhub.ai·v558edd0·5.3 KB·0 installs
Scanned from 1.0.0 at 558edd0 · Transparency log ↗
$ vett add clawhub.ai/lurklight/win-mouse-nativeReview findings below

Win Mouse Native

Provide deterministic mouse control on Windows.

Commands (local)

This ClawHub bundle is docs + scripts-as-text (ClawHub validates “text files only”).

To install:

  1. Save win-mouse.cmd.txt as win-mouse.cmd
  2. Save scripts/win-mouse.ps1.txt as scripts/win-mouse.ps1

Then run:

  • win-mouse move <dx> <dy> (relative)
  • win-mouse abs <x> <y> (absolute screen coords)
  • win-mouse click left|right|middle
  • win-mouse down left|right|middle
  • win-mouse up left|right|middle

Return value: prints a one-line JSON object.

OpenClaw usage

When the user asks to move/click the mouse:

  1. If the user didn’t give coordinates/deltas, ask.
  2. Use exec to run win-mouse ....
  3. Prefer small, reversible actions first (tiny move, single click) when unsure.

Notes

  • Windows only.
  • Uses Win32 SetCursorPos + SendInput via user32.dll.