Win Mouse Native for Openclaw

A high-performance Windows automation skill for native mouse control using user32.dll system calls.

lurklight
v1.0.0
Feb 1, 2026
5
7.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install win-mouse-native

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install win-mouse-native using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Win Mouse Native?

The win-mouse-native skill is a robust solution for developers needing low-level interaction with the Windows desktop environment. By leveraging native Win32 APIs such as SetCursorPos and SendInput through user32.dll, this tool provides a highly reliable way to automate pointer actions. It is designed to be integrated into broader Openclaw Skills ecosystems where precise UI interaction is required.

This skill eliminates the need for heavy third-party automation frameworks by utilizing built-in Windows capabilities. Whether you are building automated tests or desktop assistants, win-mouse-native offers the responsiveness and accuracy necessary for high-quality Openclaw Skills implementation.

Win Mouse Native Use Cases

  • Automating complex desktop UI workflows that require precise clicking.
  • Implementing drag-and-drop operations within Windows applications.
  • Testing software interfaces by simulating realistic user pointer behavior.
  • Navigating non-standard application menus as part of automated Openclaw Skills routines.

How Win Mouse Native Works

  1. The AI agent receives a request to perform a mouse action and identifies the necessary coordinates.
  2. The Openclaw Skills runner executes the win-mouse.cmd wrapper.
  3. The command script passes parameters to a specialized PowerShell script.
  4. The PowerShell script invokes the user32.dll library to perform native system calls for movement or button states.
  5. The system performs the physical pointer action on the Windows desktop.
  6. The script returns a JSON confirmation to the agent indicating successful execution.

Win Mouse Native Setup

To install this component of your Openclaw Skills library, follow these steps:

  1. Save the file win-mouse.cmd.txt as win-mouse.cmd in your execution path.
  2. Create a scripts directory and save scripts/win-mouse.ps1.txt as scripts/win-mouse.ps1.
  3. Verify your system allows PowerShell script execution.

Usage examples:

# Move to specific screen coordinates
win-mouse abs 100 100

# Perform a right click
win-mouse click right

Win Mouse Native Data Schema & Taxonomy

The skill utilizes a command-based interface and returns structured data for easy integration with other Openclaw Skills.

Feature Details
Input Commands move, abs, click, down, up
Target Buttons left, right, middle
Coordinates Relative (dx, dy) or Absolute (x, y)
Output Format Single-line JSON object

Win Mouse Native Advanced Features

  • Discrete button control: Independent down and up commands allow for sophisticated drag-and-drop logic.
  • System-Level Integration: Uses native user32.dll for maximum compatibility with Openclaw Skills on Windows.
  • Low Overhead: Script-based execution ensures minimal resource usage during automation tasks.
  • Deterministic Output: Returns machine-readable JSON for reliable error handling in automated workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*