闲社服务运行正常AI智能体自动化平台
w

WSL截图工具

技能标识: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 in WSL. Works on WSL2 by invoking Windows PowerShell to capture the primary screen.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.0.1
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

WSL截图工具

WSL 截图

使用 Windows PowerShell 从 WSL 捕获屏幕截图。

使用方法

截取屏幕截图

bash

运行截图脚本


~/.openclaw/workspace/skills/wsl-screenshot/scripts/screenshot.sh

输出:C:\Users\97027\Pictures\wslscreenshotYYYYMMDD_HHMMSS.png

向用户发送截图

截取屏幕截图后,通过消息发送:

bash

获取最新截图路径


LATEST=$(ls -t /mnt/c/Users/97027/Pictures/wslscreenshot*.png | head -1)

通过消息工具发送

message action=send media=$LATEST caption=📸 截图

或使用直接路径:
bash
message action=send media=/mnt/c/Users/97027/Pictures/wslscreenshotYYYYMMDD_HHMMSS.png

系统要求

  • - 配备 Windows 10/11 的 WSL2
  • PowerShell 位于 /mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe

资源

  • - scripts/screenshot.sh - 截图脚本

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 wsl-screenshot-1775934087 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 wsl-screenshot-1775934087 技能

通过命令行安装

skillhub install wsl-screenshot-1775934087

下载

⬇ 下载 wsl-screenshot v0.0.1(免费)

文件大小: 1.92 KB | 发布时间: 2026-4-12 12:00

v0.0.1 最新 2026-4-12 12:00
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.
返回顶部