Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

pc-master

bởi amirgu

Browser & Automation
473Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Control the Windows PC from WSL2.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

Screenshot saved to C:\screenshot.png

Cài đặt

clawhub install amirgu/pc-master

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết