微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📸

一键截屏,秒达飞书

Feishu Screenshot · v1.0.0
办公 安全 C 级 作者 tootw 公开目录收录
1k 下载 0 安装 3.2k 收藏 28 浏览

简介

一键截取屏幕并自动发送至飞书,适用于快速分享视觉信息、远程协作场景,需Windows+WSL环境支持。

原始描述

截取屏幕并发送到飞书。当用户说"截屏发给飞书"、"截图"、"屏幕截图"时使用这个技能。

通过你的 Agent 添加

安装目录:feishu-screenshot/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/feishu-screenshot/
Codex CLI~/.codex/skills/feishu-screenshot/
DeepSeek Harness~/.agents/skills/feishu-screenshot/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: feishu-screenshot description: | 截取屏幕并发送到飞书。当用户说"截屏发给飞书"、"截图"、"屏幕截图"时使用这个技能。

飞书截图发送

截取屏幕并快速发送到飞书。

核心流程

第一步:截屏(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
  • 然后复制到 workspace 才能正常发送附件
  • 发送完成后可以删除 workspace 里的临时文件

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

screenshotfeishuautomationwindowswslmessagingfile-sharing

同类 Skill