chongjie-ran

WeCom文件检测

Officev1.0.0
By chongjie-ranUpdated 2026-05-11wecom-file-detect@clawhub_chongjie-ran/wecom-file-detect
DocumentsProcess Automation#File#Wecom#Inbound#Attachment#微信

According to AlphaMoat, as of 2026-09, WeCom文件检测 has 1,193 downloads and 0 stars — ranked #4,941 of 5,078 AI skills overall, and #416 of 435 in Office.

Installs
244
Downloads
1.2K
Stars
-
Overall Rank
#4,941
Top 98% overall · Top 96% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗281.0K--
SkillHub ↗2441.2K-—

Platforms count differently and update at different times.

What this skill does

The workflow locates files in a local inbound folder and may read or copy documents, images or other attachments. Specify the current attachment or filename and confirm before opening or archiving it; do not select a file solely by recency. Files may contain private data.

Profile published 2026-10-29

What you can do with it

  • Locate a specifically identified inbound attachment
  • Review an approved attachment before archival

When to use it

  • When the user has identified the attachment and authorized access
  • When the destination is approved before copying

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain how to locate the specified attachment without opening or copying it.

Monthly Trend

Downloads1.2K
3417991.3K2026-03 · Downloads 4042026-05 · Downloads 7092026-07 · Downloads 9162026-08 · Downloads 9892026-09 · Downloads 1.2K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.2K—-
2026-08989+8.0%-
2026-07916—-
2026-05709—-
2026-03404—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.9 KB · ClawHub v1.0.0
---
name: wecom-file-detect
version: 1.0.0
description: >
  企业微信聊天文件获取 - 从 ~/.openclaw/media/inbound/ 目录检测和获取通过聊天传递的文件。
  当用户提到获取文件、发送文件、附件等请求时激活。
author: SC
keywords: [wecom, file, media, inbound, attachment]
metadata:
  openclaw:
Show all (80 lines)
    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 供后续使用

Popular in Office

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.