← Back to Skills Marketplace
wxuanyuan

wsl-screenshot

by WxuanYuan · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ⚠ suspicious
107
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wsl-screenshot
Description
Capture screenshots from WSL by calling Windows PowerShell. Use when user wants to take a screenshot from WSL environment, or needs screenshot functionality...
Usage Guidance
Before installing or running this skill: 1) Review the script yourself — it captures the full primary screen and saves images to C:\Users\97027\Pictures (examine for any unwanted behavior). 2) Confirm the PowerShell path exists on your machine; the metadata did not declare this dependency. 3) Edit the script to remove the hard-coded username/path (use an environment variable or $USER-derived path) if you want portability. 4) Understand the 'message' command used in the README — verify whether it sends files externally and which recipients/services are involved. 5) Only run this on a machine and account you trust, because screenshots can contain sensitive secrets; consider limiting where screenshots are stored or testing in a safe environment first.
Capability Analysis
Type: OpenClaw Skill Name: wsl-screenshot Version: 0.0.1 The skill provides functionality to capture screenshots in a WSL environment by invoking Windows PowerShell. While the script contains hardcoded absolute paths specific to a particular Windows user profile ('97027') in both SKILL.md and scripts/screenshot.sh, which will cause execution failures on other systems, the code logic is transparent and strictly performs the stated task without any signs of malicious intent, data exfiltration, or obfuscation.
Capability Assessment
Purpose & Capability
The declared purpose (capture screenshots from WSL via PowerShell) matches what the script does, but the registry metadata lists no required binaries while the SKILL.md and script require PowerShell at an exact Windows path (/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe). The script also hard-codes a Windows user path (C:\Users\97027\Pictures), which is unusual for a general-purpose skill.
Instruction Scope
The runtime instructions and script capture the entire primary screen via PowerShell and write images into a specific user's Pictures folder, then show examples that enumerate that folder and send the latest file via a 'message' tool. This is narrow in function but directly accesses and transmits potentially sensitive user data (screenshots) and uses a hard-coded username and path. The README does not clarify what the 'message' tool is or whether transmission is local or external.
Install Mechanism
There is no install spec (instruction-only) and the script is bundled as a plain shell file. No external downloads or package installs are performed by the skill itself.
Credentials
The skill requests no credentials or environment variables, which is appropriate. However it assumes filesystem access to /mnt/c/Users/97027 and the presence of PowerShell at a specific path; the hard-coded username/path reduces portability and may indicate the skill was created for a single machine.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not attempt to modify other skills or system configuration. It only provides a script to run on demand.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wsl-screenshot
  3. After installation, invoke the skill by name or use /wsl-screenshot
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.0.1
Initial release of wsl-screenshot. - Enables capturing screenshots from WSL2 by invoking Windows PowerShell. - Saves screenshots directly to the Windows Pictures directory. - Provides easy methods to send captured screenshots via message tools. - Requires WSL2 and PowerShell installed on Windows 10/11.
Metadata
Slug wsl-screenshot
Version 0.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is wsl-screenshot?

Capture screenshots from WSL by calling Windows PowerShell. Use when user wants to take a screenshot from WSL environment, or needs screenshot functionality... It is an AI Agent Skill for Claude Code / OpenClaw, with 107 downloads so far.

How do I install wsl-screenshot?

Run "/install wsl-screenshot" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is wsl-screenshot free?

Yes, wsl-screenshot is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does wsl-screenshot support?

wsl-screenshot is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created wsl-screenshot?

It is built and maintained by WxuanYuan (@wxuanyuan); the current version is v0.0.1.

💬 Comments