🦀 ClawHub
Send File
by @wlong800
发送文件到消息平台。触发词:发送文件、发送文档、发送截图、传文件、发文件。支持飞书等平台,内容优先级:生成的文档 > 本地文件 > 截图。
💡 Examples
Example 1: 发送刚生成的文件
用户:把刚才生成的报告发到飞书
1. 确认生成的文件路径(通常是 workspace 目录)
2. 使用 message tool 发送
Example 2: 发送本地文件
用户:发送 /Users/wlong/Desktop/report.pdf 给我
1. 确认文件存在
2. 使用 message tool 发送,target 留空(当前对话)
Example 3: 截图并发送
用户:截个屏发给我
1. 使用 screencapture 截图
2. 保存到临时文件
3. 使用 message tool 发送
📋 Tips & Best Practices
TERMINAL
clawhub install send-file