Install
openclaw skills install feishu-screenshot截取屏幕并发送到飞书。当用户说"截屏发给飞书"、"截图"、"屏幕截图"时使用这个技能。
openclaw skills install feishu-screenshot截取屏幕并快速发送到飞书。
第一步:截屏(PowerShell)
/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -Command "Add-Type -AssemblyName System.Windows.Forms; \$bmp = New-Object System.Drawing.Bitmap([System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Width, [System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Height); \$graphics = [System.Drawing.Graphics]::FromImage(\$bmp); \$graphics.CopyFromScreen([System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Location, (New-Object System.Drawing.Point(0,0)), [System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Size); \$bmp.Save('C:\Users\edy\Pictures\screenshot.png', [System.Drawing.Imaging.ImageFormat]::Png); \$bmp.Dispose()"
第二步:复制到 workspace
cp /mnt/c/Users/edy/Pictures/screenshot.png /home/edy/.openclaw/workspace/截图.png
第三步:发送到飞书
{
"action": "send",
"channel": "feishu",
"filePath": "/home/edy/.openclaw/workspace/截图.png"
}
C:\Users\edy\Pictures\screenshot.png