{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pc-control",
    "name": "PC Control",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/zeron-G/pc-control",
    "canonicalUrl": "https://clawhub.ai/zeron-G/pc-control",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/pc-control",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pc-control",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "config.json",
      "requirements.txt",
      "scripts/client.py",
      "scripts/install.py",
      "scripts/launcher.py"
    ],
    "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/pc-control"
    },
    "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/pc-control",
    "agentPageUrl": "https://openagent3.xyz/skills/pc-control/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pc-control/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pc-control/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": "PC Control — Remote Desktop Control",
        "body": "Control a Windows desktop from WSL/Linux via screenshots (mss) + mouse/keyboard simulation (pyautogui). A FastAPI server runs on Windows; a Python client calls it from WSL."
      },
      {
        "title": "1. Configure config.json",
        "body": "Edit config.json in the skill directory. Set python_path to a Windows Python with pip:\n\n{\n  \"server\": {\n    \"host\": \"127.0.0.1\",\n    \"port\": 18888,\n    \"python_path\": \"C:\\\\Python312\\\\python.exe\"\n  },\n  \"powershell\": \"/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe\",\n  \"auto_shutdown_minutes\": 10,\n  \"screenshot\": {\n    \"default_scale\": 0.5,\n    \"default_quality\": 50\n  }\n}"
      },
      {
        "title": "2. Install dependencies",
        "body": "python3 scripts/install.py\n\nInstalls fastapi uvicorn mss pyautogui pillow into the Windows Python."
      },
      {
        "title": "Start the server",
        "body": "python3 scripts/launcher.py start"
      },
      {
        "title": "Take a screenshot and analyze",
        "body": "import sys; sys.path.insert(0, 'skills/pc-control/scripts')\nfrom client import PCControl\npc = PCControl()\nimg_path = pc.screenshot(scale=0.5, quality=50)\n# Use image analysis tool to understand the screen\n\nImportant: Screenshots are scaled. When clicking, divide target coordinates by the scale factor to get actual screen coordinates. E.g., if scale=0.5 and target is at (400, 300) in the image, click at (800, 600)."
      },
      {
        "title": "Execute actions",
        "body": "pc.click(x, y)                # Left click\npc.double_click(x, y)         # Double click\npc.right_click(x, y)          # Right click\npc.move(x, y)                 # Move cursor\npc.scroll(x, y, clicks)       # Scroll (negative = down)\npc.drag(x1, y1, x2, y2)      # Drag\npc.type_text(\"hello\")         # Type text\npc.press(\"enter\")             # Press key\npc.hotkey(\"ctrl\", \"c\")        # Key combo"
      },
      {
        "title": "Verify after each action",
        "body": "Always screenshot after an action to confirm it worked before proceeding."
      },
      {
        "title": "Stop the server",
        "body": "python3 scripts/launcher.py stop"
      },
      {
        "title": "Interaction Loop",
        "body": "screenshot → analyze → decide action → execute → screenshot verify → continue or done"
      },
      {
        "title": "Notes",
        "body": "Server listens on localhost only with token auth (token auto-generated per session)\nWin+R → type app name → Enter is more reliable than clicking taskbar icons\nWait 1–2 seconds after clicks before re-screenshotting\nPrefer CLI/PowerShell when available — use this only for GUI-only tasks"
      }
    ],
    "body": "PC Control — Remote Desktop Control\n\nControl a Windows desktop from WSL/Linux via screenshots (mss) + mouse/keyboard simulation (pyautogui). A FastAPI server runs on Windows; a Python client calls it from WSL.\n\nSetup\n1. Configure config.json\n\nEdit config.json in the skill directory. Set python_path to a Windows Python with pip:\n\n{\n  \"server\": {\n    \"host\": \"127.0.0.1\",\n    \"port\": 18888,\n    \"python_path\": \"C:\\\\Python312\\\\python.exe\"\n  },\n  \"powershell\": \"/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe\",\n  \"auto_shutdown_minutes\": 10,\n  \"screenshot\": {\n    \"default_scale\": 0.5,\n    \"default_quality\": 50\n  }\n}\n\n2. Install dependencies\npython3 scripts/install.py\n\n\nInstalls fastapi uvicorn mss pyautogui pillow into the Windows Python.\n\nUsage\nStart the server\npython3 scripts/launcher.py start\n\nTake a screenshot and analyze\nimport sys; sys.path.insert(0, 'skills/pc-control/scripts')\nfrom client import PCControl\npc = PCControl()\nimg_path = pc.screenshot(scale=0.5, quality=50)\n# Use image analysis tool to understand the screen\n\n\nImportant: Screenshots are scaled. When clicking, divide target coordinates by the scale factor to get actual screen coordinates. E.g., if scale=0.5 and target is at (400, 300) in the image, click at (800, 600).\n\nExecute actions\npc.click(x, y)                # Left click\npc.double_click(x, y)         # Double click\npc.right_click(x, y)          # Right click\npc.move(x, y)                 # Move cursor\npc.scroll(x, y, clicks)       # Scroll (negative = down)\npc.drag(x1, y1, x2, y2)      # Drag\npc.type_text(\"hello\")         # Type text\npc.press(\"enter\")             # Press key\npc.hotkey(\"ctrl\", \"c\")        # Key combo\n\nVerify after each action\n\nAlways screenshot after an action to confirm it worked before proceeding.\n\nStop the server\npython3 scripts/launcher.py stop\n\nInteraction Loop\nscreenshot → analyze → decide action → execute → screenshot verify → continue or done\n\nNotes\nServer listens on localhost only with token auth (token auto-generated per session)\nWin+R → type app name → Enter is more reliable than clicking taskbar icons\nWait 1–2 seconds after clicks before re-screenshotting\nPrefer CLI/PowerShell when available — use this only for GUI-only tasks"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/zeron-G/pc-control",
    "publisherUrl": "https://clawhub.ai/zeron-G/pc-control",
    "owner": "zeron-G",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pc-control",
    "downloadUrl": "https://openagent3.xyz/downloads/pc-control",
    "agentUrl": "https://openagent3.xyz/skills/pc-control/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pc-control/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pc-control/agent.md"
  }
}