openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > WeCom文件检测

企业微信聊天文件获取 - 从 ~/.openclaw/media/inbound/ 目录检测和获取通过聊天传递的文件。 当用户提到获取文件、发送文件、附件等请求时激活。

通信与消息

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 51 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:chongjie-ran/wecom-file-detect

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's instructions match its stated purpose (reading files from ~/.openclaw/media/inbound and optionally archiving them) and it doesn't request extra credentials or installs, but it omits details about third‑party tools and has privacy implications you should consider before enabling it.

综合结论

This skill will read and copy files from ~/.openclaw/media/inbound/ when triggered (e.g., when you say "get file" or "send attachment"). Before enabling it, consider: (1) Privacy: it can access any files in that folder — don't enable it if sensitive PII/financial data may appear there. (2) Data flow: the instructions mention OCR/image tools but don't say whether those are local binaries or external services — clarify whether files will be sent…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「WeCom文件检测」。简介:企业微信聊天文件获取 - 从 ~/.openclaw/media/inbound/ 目录检测和获取通过聊天传递的文件。 当用户提到获取文件、发送文件、附件等请…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/chongjie-ran/wecom-file-detect/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: wecom-file-detect
version: 1.0.0
description: >
  企业微信聊天文件获取 - 从 ~/.openclaw/media/inbound/ 目录检测和获取通过聊天传递的文件。
  当用户提到获取文件、发送文件、附件等请求时激活。
author: SC
keywords: [wecom, file, media, inbound, attachment]
metadata:
  openclaw:
    emoji: "📎"
    category: utility
---

# 企业微信文件获取

当用户提到"获取文件"、"发送文件"、"附件"等请求时,自动从 inbound 目录检测和获取文件。

## 文件获取流程

### 1. 检测最新文件

当没有明确文件名时,扫描 inbound 目录获取最新文件:

```bash
ls -lt ~/.openclaw/media/inbound/ | head -20
```

### 2. 文件类型识别

支持的类型:
- 文档:.doc, .docx, .xls, .xlsx, .ppt, .pptx, .pdf, .md, .csv
- 图片:.png, .jpg, .jpeg, .gif
- 视频:.mp4, .mov
- 其他:.zip, .txt

### 3. 文件内容读取

根据文件类型选择读取方式:
- 文本文件:直接 cat
- CSV/Excel:转换为表格
- 图片:使用 image tool 识别
- Word/PDF:使用 markitdown 或 minimax-ocr

### 4. 文件存档

重要文件应存档到 companywork/ 相关目录:
```bash
mkdir -p companywork/AI赋能计划/
cp "源文件" "companywork/目标目录/"
```

## 常用命令

```bash
# 查看最近的文件
ls -lt ~/.openclaw/media/inbound/ | head -10

# 按类型查找
find ~/.openclaw/media/inbound/ -name "*.xlsx" -mtime -7

# 按关键词搜索
ls -lt ~/.openclaw/media/inbound/ | grep "关键词"
```

## 触发场景

- 用户说"获取文件"
- 用户说"发送附件"
- 用户说"看看有什么文件"
- 用户上传文件后没有反应
- 用户提到某个具体项目但没有附文件

## 注意事项

1. 文件名可能包含时间戳和UUID
2. WeCom可能将文件转换为文本格式(二进制内容丢失)
3. 重要文件应及时存档到 companywork/
4. 用完的临时文件可以保留在 inbound 供后续使用