# Send HiDPI Mouse to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "hidpi-mouse",
    "name": "HiDPI Mouse",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/zeyuyuyu/hidpi-mouse",
    "canonicalUrl": "https://clawhub.ai/zeyuyuyu/hidpi-mouse",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/hidpi-mouse",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hidpi-mouse",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/move.sh",
      "scripts/calibrate.sh",
      "scripts/reliable_click.sh",
      "scripts/click.sh",
      "scripts/detect-scale.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "hidpi-mouse",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T03:02:00.189Z",
      "expiresAt": "2026-05-11T03:02:00.189Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hidpi-mouse",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hidpi-mouse",
        "contentDisposition": "attachment; filename=\"hidpi-mouse-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "hidpi-mouse"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/hidpi-mouse"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/hidpi-mouse",
    "downloadUrl": "https://openagent3.xyz/downloads/hidpi-mouse",
    "agentUrl": "https://openagent3.xyz/skills/hidpi-mouse/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hidpi-mouse/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hidpi-mouse/agent.md"
  }
}
```
## Documentation

### HiDPI Mouse Skill

Universal mouse coordinate handling for desktop automation across different screen configurations.

### 🚀 Quick Start

# Click at Claude display coordinates (auto-scales)
./scripts/click.sh 500 300

# First time? Run calibration for best accuracy
./scripts/calibrate.sh

### 📐 How It Works

When Claude displays a screenshot, it scales it down. This skill converts coordinates:

Claude Display Coords → Scale Factor → xdotool Screen Coords

The scale factor depends on:

Screen resolution (1080p, 1440p, 4K, etc.)
DPI settings (96, 144, 192, etc.)
Claude's display viewport

### click.sh - Click at coordinates

./scripts/click.sh <x> <y>           # Auto-scaled click
./scripts/click.sh --raw <x> <y>     # No scaling (screen coords)
./scripts/click.sh --double <x> <y>  # Double click
./scripts/click.sh --right <x> <y>   # Right click

### calibrate.sh - Setup & Configuration

./scripts/calibrate.sh              # Interactive calibration
./scripts/calibrate.sh info         # Show current config
./scripts/calibrate.sh test         # Test current scale
./scripts/calibrate.sh set 2.08     # Manually set scale
./scripts/calibrate.sh reset        # Reset to auto-detect

### detect-scale.sh - Get scale factor

./scripts/detect-scale.sh           # Returns scale (e.g., 2.08)

### Other scripts

./scripts/move.sh <x> <y>           # Move mouse
./scripts/drag.sh <x1> <y1> <x2> <y2>  # Drag
./scripts/reliable_click.sh <x> <y> [--window "Name" --relative]

### 🎯 Calibration (Recommended for New Systems)

For best accuracy on your specific system:

./scripts/calibrate.sh

This will:

Create a calibration image with markers at known positions
Ask you where the markers appear in Claude's display
Calculate and save the exact scale factor

### 📊 Common Scale Factors

ScreenDPITypical Scale1920×1080961.0 - 1.22560×1440961.3 - 1.53024×17721922.083840×21601922.0 - 2.5

### Clicks are offset

# Run calibration
./scripts/calibrate.sh

# Or manually adjust
./scripts/calibrate.sh set 2.1  # Try different values

### Check current configuration

./scripts/calibrate.sh info

### Reset everything

./scripts/calibrate.sh reset
rm -f /tmp/hidpi_scale_cache

### 📁 Configuration Files

~/.config/hidpi-mouse/scale.conf - User-set scale (highest priority)
/tmp/hidpi_scale_cache - Auto-detected scale cache (1 hour TTL)

### 🌐 Universal Compatibility

This skill auto-adapts to:

✅ Different screen resolutions (1080p to 4K+)
✅ Different DPI settings (96, 120, 144, 192, etc.)
✅ HiDPI/Retina displays
✅ Multi-monitor setups (primary display)

### 💡 Usage Tips

Always calibrate on a new system for 100% accuracy
Re-calibrate if you change display settings
Use --raw if you already have screen coordinates
Check calibrate.sh info to see current settings

### 📝 Example Workflow

# 1. Take screenshot
scrot /tmp/screen.png

# 2. View in Claude, identify button at display coords (500, 300)

# 3. Click it
./scripts/click.sh 500 300

# 4. If off-target, calibrate
./scripts/calibrate.sh

Tested on: Ubuntu/Debian with X11, various resolutions and DPI settings
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: zeyuyuyu
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T03:02:00.189Z
- Expires at: 2026-05-11T03:02:00.189Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/hidpi-mouse)
- [Send to Agent page](https://openagent3.xyz/skills/hidpi-mouse/agent)
- [JSON manifest](https://openagent3.xyz/skills/hidpi-mouse/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/hidpi-mouse/agent.md)
- [Download page](https://openagent3.xyz/downloads/hidpi-mouse)