Install
openclaw skills install @hansheng-li/capture-windows-screenCapture the current Windows desktop from this WSL/OpenClaw environment and return the PNG path for inspection or delivery. Use when the user asks to screenshot the current screen, show what is on the Windows desktop, inspect a visible app/window, or send the latest screen image back to them.
openclaw skills install @hansheng-li/capture-windows-screenUse the bundled script for screenshot requests in this environment. It calls the Windows PowerShell helper, copies the PNG into a chosen staging folder, and prints the staged path.
Use two staging modes:
tmp-media/ staging.~/.openclaw/media/outbound/ so the file is already in OpenClaw's managed outbound media store.bash scripts/capture-windows-screen.sh from this skill directory.STAGE_DIR=/home/lhs/.openclaw/media/outbound bash scripts/capture-windows-screen.sh.MEDIA: line when possible.Analysis / inspection path:
bash scripts/capture-windows-screen.sh
Delivery-safe path for chat apps:
STAGE_DIR=/home/lhs/.openclaw/media/outbound bash scripts/capture-windows-screen.sh
Expected output:
/home/lhs/.openclaw/workspace/tmp-media/latest-screen-YYYYMMDD-HHMMSS.png
or, for delivery-safe staging:
/home/lhs/.openclaw/media/outbound/latest-screen-YYYYMMDD-HHMMSS.png
This skill assumes these host-side paths exist:
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exeC:\OpenClaw\capture-screen.ps1C:\OpenClaw\latest-screen.png/mnt/c/OpenClaw/latest-screen.png/home/lhs/.openclaw/workspace/tmp-media/home/lhs/.openclaw/media/outboundC:\OpenClaw\latest-screen.png./home/lhs/.openclaw/media/outbound and retry using only the managed outbound path.tmp-media/ path is delivery-safe just because the web UI can preview it.