RustDesk Startup and Screenshot Skill for Openclaw

An automated Windows utility skill that minimizes active windows, launches the RustDesk remote desktop application, cleans output directories, captures a full-screen screenshot, and returns the file path.

nontrace
v0.1.0
Jun 10, 2026
0
394
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install rustdesk-screenshot

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install rustdesk-screenshot using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is RustDesk Startup and Screenshot Skill?

The RustDesk Startup and Screenshot skill is a dedicated utility optimized for remote desktop preparation and automatic visual capture on Windows environments. As an essential tool in the Openclaw Skills suite, it bridges the gap between AI commands and physical desktop state verification. When executed, the skill minimizes active windows, launches RustDesk, cleans or prepares the target capture folder, snaps a full-screen image using Python's Pillow library, and generates a structured output file.

This workflow is specifically beneficial for remote administrators and power users. By incorporating this into your Openclaw Skills workspace, you gain the ability to verify remote desktop layouts or retrieve temporary access credentials without manual configuration.

RustDesk Startup and Screenshot Skill Use Cases

  • Remote Verification: Confirming the layout and status of your remote server's desktop after launching RustDesk.
  • Password Retrieval: Finding a forgotten temporary access password for RustDesk while away from your device.
  • Administrative Cleanups: Automating visual verification setups where a clean desktop screen must be generated and logged.
  • Mobile Command Execution: Utilizing communication platforms such as WeChat to trigger screenshot operations remotely via Openclaw Skills.

How RustDesk Startup and Screenshot Skill Works

  1. Show Desktop: Minimizes all active windows using a Windows COM object to prepare a clean screenshot background.
  2. Launch Application: Starts the RustDesk remote desktop client using its default installation directory or a custom path defined in the environment variables.
  3. Prepare Directory: Checks, creates, or clears the screenshot storage directory (such as D:\CopyFromScreen).
  4. Full-Screen Capture: Executes a screen capture using Pillow's ImageGrab module, saving the result as a timestamped PNG file.
  5. Return Metadata: Outputs a structured JSON payload to stdout with the absolute file path, confirming successful completion.

RustDesk Startup and Screenshot Skill Setup

To deploy this skill within your Openclaw Skills setup, ensure you are running on a Windows system with Python 3.x installed.

Installation

Install the required Python imaging library via pip:

pip install Pillow

Environment Variables

You can configure the behavior of the execution script by setting these optional environment variables:

  • RUSTDESK_PATH: Custom path to the RustDesk application (Default: D:\\Program Files\\RustDesk\\rustdesk.exe)
  • SCREENSHOT_DIR: Custom folder for storing the taken images (Default: D:\\CopyFromScreen)
  • WAIT_SECONDS: The delay in seconds to wait for RustDesk to fully render before taking the screenshot (Default: 2)

Execution

Trigger the capture sequence by executing the Python runner script:

python scripts/screenshot.py

RustDesk Startup and Screenshot Skill Data Schema & Taxonomy

The skill manages directories and outputs structured messages to ensure seamless integration with Openclaw Skills configurations.

Storage Scheme

  • Default Output Directory: D:\\CopyFromScreen
  • Image Format: PNG
  • Filename Taxonomy: YYYY-MM-DD_HH-MM-SS.png (e.g., 2026-06-10_15-30-45.png)

Output Payloads

Successful Execution

{
  "success": true,
  "screenshot_path": "D:\\\\CopyFromScreen\\\\2026-06-10_15-30-45.png",
  "message": "Screenshot saved successfully"
}

Failed Execution

{
  "success": false,
  "error": "Detailed error message description"
}

RustDesk Startup and Screenshot Skill Advanced Features

  • WeChat Media Protocol: Bypasses standard file transfer limitations on WeChat by utilizing a custom MEDIA:<filepath> response syntax on a single line to directly deliver captured images.
  • Automated Window Minimization: Leverages Windows shell COM components to minimize clutter prior to taking the capture, securing a clean background visual.
  • Configurable Process Delays: Allows customization of startup lag times via WAIT_SECONDS to ensure slower machines fully render the UI before image creation.
  • Dynamic Path Mapping: Easily adapts to different enterprise infrastructure configurations using environment variables.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*