wecomcli-media SKILL.md skillA
wecomcli-media from pinvou/pinvou-agent is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add pinvou/pinvou-agent/wecomcli-media@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- pinvou/pinvou-agent
- Path
pinvou3-app/src-tauri/resources/common/bundle/wecom-skills/wecomcli-media/SKILL.md- Versions recorded
- 4
- Latest version
- v1.0.0, committed Oct 19, 2026
- First version recorded
- Aug 19, 2026
- Size
- 5,615 bytes
- Repository stars
- 2,839
- License
- MIT
何时用:仅当用户明确指向企业微信 media_id 与本地文件互转时使用;泛指本地文件操作默认走本地工具。基于 media_id 下载媒体文件到本地,或上传本地文件换取 media_id 供其他企微技能使用;本技能不解析/识别文件内容,仅负责文件搬运。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 企业微信媒体文件
> 执行任何 `wecom-cli` 命令前,必须先读取并完成 `wecomcli-shared` 技能的公共前置检查。
资源型 skill,负责基于 `media_id` 下载媒体文件到本地,以及把本地文件上传为 `media_id`。是其他技能(微盘、邮件等)处理 `media_id` 相关操作的基础依赖:`upload` 会产出新的 `media_id`,但本 skill 不负责搜索/发现其他业务场景中已存在的 `media_id`(如邮件附件、微盘文件的 `media_id` 由对应业务技能产出),也不解析文件内容。
## 适用范围
### 适用
- 根据其他技能或用户提供的 `media_id` 下载媒体文件到本地
- 上传本地文件(本地路径已知)获取 `media_id`,供其他技能后续使用(如微盘上传素材)
### 不适用
- 解析/识别文件内容(正文提取、OCR、看图问答、PDF/Word/Excel 解析等) → 本 skill 只负责把文件下载到本地拿 `file_path`,如需查看内容请直接通过 `file_path` 读取该本地文件
- 搜索/发现其他业务场景中已存在的 `media_id`(如邮件附件、微盘文件列表/搜索等) → 由对应业务技能负责产出并返回 `media_id`,本 skill 只接收已有的 `media_id` 做下载;本地文件转`media_id` 的场景仍走本 skill 的 `upload`
- 编造或猜测 `media_id` / 本地文件路径 → 两者必须来自其他技能返回或用户明确提供,禁止自行构造
## 接口详述
### 下载媒体文件
根据 `media_id` 下载媒体文件到本地,返回本地文件路径。
**命令**
```bash
wecom-cli media download --json '{"media_id": "MEDIA_ID"}'
```
**入参**
| 字段 | 类型 | 必填 | 说明 |
|---|---|:----:|---|
| `media_id` | string | 是 | 文件的 `media_id`,由上传文件后获得,或由其他技能(邮件附件/内嵌图片等)返回 |
**返回**
| 字段 | 类型 | 说明 |
|---|---|---|
| `file_path` | string | 下载成功后的本地文件路径 |
**使用规则**
- 下载完成后如需查看文件内容,直接通过 `file_path` 读取该本地文件。
- 下载失败时返回错误码和错误信息。
…Read the whole file at its exact version.
How to install
mdr add pinvou/pinvou-agent/wecomcli-media@sha256:d2b01e5232858825The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zscwmxoecd5rcmtd)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Aug 19, 2026 and Oct 19, 2026, about one every 20 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-10-19 | 53b7a57 | 5,615 B | A | view · diff |
| v1.0.0 | 2026-09-07 | 0fbab41 | 5,402 B | A | view · diff |
| v1.0.0 | 2026-08-31 | 48b73a3 | 5,370 B | A | view · diff |
| v1.0.0 | 2026-08-19 | 88dccb9 | 5,193 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5615 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
pinvou/pinvou-agent · 2,839 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zscwmxoecd5rcmtd GET https://markdownregistry.com/api/v1/resolve?ref=pinvou/pinvou-agent/wecomcli-media GET https://markdownregistry.com/api/v1/blob/d2b01e5232858825a7b72121f70614516c56a6677ce24adc213a7c43097d0c2b
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.