跳到正文
TakoAPI
返回技能列表

pc-master

由 amirgu 提供

Browser & Automation
473下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Control the Windows PC from WSL2.

描述

该技能的功能

Controls Windows applications, processes, and files from within WSL2 using native Windows binaries at /mnt/c/Windows/System32/. Handles launching apps, killing processes, taking screenshots, and reading the Windows file system. Works as long as WSL2 interop is enabled.

Lets WSL2 workflows drive the full Windows desktop without switching to a separate Windows terminal or PowerShell window.

何时使用

  • Kill a frozen application by name without leaving the terminal
  • Open a URL in the default Windows browser from a WSL2 script
  • Take a desktop screenshot and save it to a Windows path
  • Check whether a specific process like Spotify is currently running
  • Copy or move files within the Windows file system from WSL2

示例工作流

输入

User asks: take a screenshot and save it to the desktop

智能体
  1. 1

    Locate the PowerShell executable at /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe

  2. 2

    Run a PowerShell command that uses System.Windows.Forms to capture the primary screen

  3. 3

    Save the bitmap to C:\screenshot.png

  4. 4

    Confirm the file exists by checking /mnt/c/screenshot.png from WSL2

输出

Screenshot saved to C:\screenshot.png

安装

clawhub install amirgu/pc-master

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接