{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/hidpi-mouse",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hidpi-mouse",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/move.sh",
      "scripts/calibrate.sh",
      "scripts/reliable_click.sh",
      "scripts/click.sh",
      "scripts/detect-scale.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/hidpi-mouse",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "HiDPI Mouse Skill",
        "body": "Universal mouse coordinate handling for desktop automation across different screen configurations."
      },
      {
        "title": "🚀 Quick Start",
        "body": "# Click at Claude display coordinates (auto-scales)\n./scripts/click.sh 500 300\n\n# First time? Run calibration for best accuracy\n./scripts/calibrate.sh"
      },
      {
        "title": "📐 How It Works",
        "body": "When Claude displays a screenshot, it scales it down. This skill converts coordinates:\n\nClaude Display Coords → Scale Factor → xdotool Screen Coords\n\nThe scale factor depends on:\n\nScreen resolution (1080p, 1440p, 4K, etc.)\nDPI settings (96, 144, 192, etc.)\nClaude's display viewport"
      },
      {
        "title": "click.sh - Click at coordinates",
        "body": "./scripts/click.sh <x> <y>           # Auto-scaled click\n./scripts/click.sh --raw <x> <y>     # No scaling (screen coords)\n./scripts/click.sh --double <x> <y>  # Double click\n./scripts/click.sh --right <x> <y>   # Right click"
      },
      {
        "title": "calibrate.sh - Setup & Configuration",
        "body": "./scripts/calibrate.sh              # Interactive calibration\n./scripts/calibrate.sh info         # Show current config\n./scripts/calibrate.sh test         # Test current scale\n./scripts/calibrate.sh set 2.08     # Manually set scale\n./scripts/calibrate.sh reset        # Reset to auto-detect"
      },
      {
        "title": "detect-scale.sh - Get scale factor",
        "body": "./scripts/detect-scale.sh           # Returns scale (e.g., 2.08)"
      },
      {
        "title": "Other scripts",
        "body": "./scripts/move.sh <x> <y>           # Move mouse\n./scripts/drag.sh <x1> <y1> <x2> <y2>  # Drag\n./scripts/reliable_click.sh <x> <y> [--window \"Name\" --relative]"
      },
      {
        "title": "🎯 Calibration (Recommended for New Systems)",
        "body": "For best accuracy on your specific system:\n\n./scripts/calibrate.sh\n\nThis will:\n\nCreate a calibration image with markers at known positions\nAsk you where the markers appear in Claude's display\nCalculate and save the exact scale factor"
      },
      {
        "title": "📊 Common Scale Factors",
        "body": "ScreenDPITypical Scale1920×1080961.0 - 1.22560×1440961.3 - 1.53024×17721922.083840×21601922.0 - 2.5"
      },
      {
        "title": "Clicks are offset",
        "body": "# Run calibration\n./scripts/calibrate.sh\n\n# Or manually adjust\n./scripts/calibrate.sh set 2.1  # Try different values"
      },
      {
        "title": "Check current configuration",
        "body": "./scripts/calibrate.sh info"
      },
      {
        "title": "Reset everything",
        "body": "./scripts/calibrate.sh reset\nrm -f /tmp/hidpi_scale_cache"
      },
      {
        "title": "📁 Configuration Files",
        "body": "~/.config/hidpi-mouse/scale.conf - User-set scale (highest priority)\n/tmp/hidpi_scale_cache - Auto-detected scale cache (1 hour TTL)"
      },
      {
        "title": "🌐 Universal Compatibility",
        "body": "This skill auto-adapts to:\n\n✅ Different screen resolutions (1080p to 4K+)\n✅ Different DPI settings (96, 120, 144, 192, etc.)\n✅ HiDPI/Retina displays\n✅ Multi-monitor setups (primary display)"
      },
      {
        "title": "💡 Usage Tips",
        "body": "Always calibrate on a new system for 100% accuracy\nRe-calibrate if you change display settings\nUse --raw if you already have screen coordinates\nCheck calibrate.sh info to see current settings"
      },
      {
        "title": "📝 Example Workflow",
        "body": "# 1. Take screenshot\nscrot /tmp/screen.png\n\n# 2. View in Claude, identify button at display coords (500, 300)\n\n# 3. Click it\n./scripts/click.sh 500 300\n\n# 4. If off-target, calibrate\n./scripts/calibrate.sh\n\nTested on: Ubuntu/Debian with X11, various resolutions and DPI settings"
      }
    ],
    "body": "HiDPI Mouse Skill\n\nUniversal mouse coordinate handling for desktop automation across different screen configurations.\n\n🚀 Quick Start\n# Click at Claude display coordinates (auto-scales)\n./scripts/click.sh 500 300\n\n# First time? Run calibration for best accuracy\n./scripts/calibrate.sh\n\n📐 How It Works\n\nWhen Claude displays a screenshot, it scales it down. This skill converts coordinates:\n\nClaude Display Coords → Scale Factor → xdotool Screen Coords\n\n\nThe scale factor depends on:\n\nScreen resolution (1080p, 1440p, 4K, etc.)\nDPI settings (96, 144, 192, etc.)\nClaude's display viewport\n🔧 Scripts\nclick.sh - Click at coordinates\n./scripts/click.sh <x> <y>           # Auto-scaled click\n./scripts/click.sh --raw <x> <y>     # No scaling (screen coords)\n./scripts/click.sh --double <x> <y>  # Double click\n./scripts/click.sh --right <x> <y>   # Right click\n\ncalibrate.sh - Setup & Configuration\n./scripts/calibrate.sh              # Interactive calibration\n./scripts/calibrate.sh info         # Show current config\n./scripts/calibrate.sh test         # Test current scale\n./scripts/calibrate.sh set 2.08     # Manually set scale\n./scripts/calibrate.sh reset        # Reset to auto-detect\n\ndetect-scale.sh - Get scale factor\n./scripts/detect-scale.sh           # Returns scale (e.g., 2.08)\n\nOther scripts\n./scripts/move.sh <x> <y>           # Move mouse\n./scripts/drag.sh <x1> <y1> <x2> <y2>  # Drag\n./scripts/reliable_click.sh <x> <y> [--window \"Name\" --relative]\n\n🎯 Calibration (Recommended for New Systems)\n\nFor best accuracy on your specific system:\n\n./scripts/calibrate.sh\n\n\nThis will:\n\nCreate a calibration image with markers at known positions\nAsk you where the markers appear in Claude's display\nCalculate and save the exact scale factor\n📊 Common Scale Factors\nScreen\tDPI\tTypical Scale\n1920×1080\t96\t1.0 - 1.2\n2560×1440\t96\t1.3 - 1.5\n3024×1772\t192\t2.08\n3840×2160\t192\t2.0 - 2.5\n🔍 Troubleshooting\nClicks are offset\n# Run calibration\n./scripts/calibrate.sh\n\n# Or manually adjust\n./scripts/calibrate.sh set 2.1  # Try different values\n\nCheck current configuration\n./scripts/calibrate.sh info\n\nReset everything\n./scripts/calibrate.sh reset\nrm -f /tmp/hidpi_scale_cache\n\n📁 Configuration Files\n~/.config/hidpi-mouse/scale.conf - User-set scale (highest priority)\n/tmp/hidpi_scale_cache - Auto-detected scale cache (1 hour TTL)\n🌐 Universal Compatibility\n\nThis skill auto-adapts to:\n\n✅ Different screen resolutions (1080p to 4K+)\n✅ Different DPI settings (96, 120, 144, 192, etc.)\n✅ HiDPI/Retina displays\n✅ Multi-monitor setups (primary display)\n💡 Usage Tips\nAlways calibrate on a new system for 100% accuracy\nRe-calibrate if you change display settings\nUse --raw if you already have screen coordinates\nCheck calibrate.sh info to see current settings\n📝 Example Workflow\n# 1. Take screenshot\nscrot /tmp/screen.png\n\n# 2. View in Claude, identify button at display coords (500, 300)\n\n# 3. Click it\n./scripts/click.sh 500 300\n\n# 4. If off-target, calibrate\n./scripts/calibrate.sh\n\n\nTested on: Ubuntu/Debian with X11, various resolutions and DPI settings"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/zeyuyuyu/hidpi-mouse",
    "publisherUrl": "https://clawhub.ai/zeyuyuyu/hidpi-mouse",
    "owner": "zeyuyuyu",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}