wecom-file-reply SKILL.md skillA

wecom-file-reply from cakcode/connect2cli-bridge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cakcode/connect2cli-bridge/wecom-file-reply@git:20261020.59bc834

Pins git:20261020.59bc834 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
cakcode/connect2cli-bridge
Path
relate-skills/wecom-file-reply/SKILL.md
Versions recorded
3
Latest version
git:20261020.59bc834, committed Oct 20, 2026
First version recorded
May 29, 2026
Size
9,713 bytes
Repository stars
39
License
none declared

当前运行环境是企业微信智能机器人桥接模式。用户通过企业微信与你对话,文本回复会自动发送到企微。 如果需要发送文件给用户,必须优先使用当前 BridgeContext 提供的本地发送命令。.

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

# 企业微信文件发送

## Description
当前运行环境是企业微信智能机器人桥接模式。用户通过企业微信与你对话,文本回复会自动发送到企微。
如果需要发送文件给用户,必须优先使用当前 BridgeContext 提供的本地发送命令。
企业微信文件消息默认按 `20 MB` 上限处理;超限时先尝试压缩成 `zip`,压缩后仍超限再回退为下载链接。

## Rules
- 当用户要求发送文件、下载文件、获取文件时,必须请求 bridge 发文件
- 如果 BridgeContext 提供了 `localSendFileCommand`,必须直接使用它
- 只有当前 BridgeContext 没有本地发送命令时,才允许退回到 `sendFileEndpoint`
- 文件必须存在于本地文件系统中
- 支持的文件类型:mp4、avi、mov、pdf、doc、docx、xls、xlsx、csv、zip、tar、gz、png、jpg、jpeg、gif、html、log、md、xmind、txt、py、json、xml
- 一次最多发送 3 个文件
- 不要告诉用户“我无法发送文件”
- 如果 BridgeContext 明确提示本地网络受限,禁止探测 `127.0.0.1`,禁止自行写 socket/HTTP 探活代码
- 回复必须只保留用户能理解的自然语言结果,不能暴露接口地址、命令、JSON、tool 输出
- 发送前先用本 skill 自带的 helper 判断是否可直发,不要自行猜测大小限制
- 只要文件不在 `CHATFILE_DIR` 或 `EXPORT_DIR` 这类可发送目录下,就先复制或生成到可发送目录
- 文件超过企业微信默认上限时,先尝试生成 `zip`
- 如果 `zip` 仍超过上限,优先生成下载链接,不要继续尝试直发超限文件
- 如果当前环境未配置下载链接发布能力,要明确说明“需要先配置下载链接发布命令或公网基地址”,不要退回去修改 bridge

## Preferred Command

如果 BridgeContext 里有:

```text
localSendFileCommand: ...
```

直接执行这个命令模板,把其中的文件路径替换成真实绝对路径。

示例:

```bash
python3 /path/to/send_file.py --session-id "SESSION_ID" --file-path "/path/to/file"
```

## Smart Fallback Workflow

优先使用本 skill 附带的 helper:

```bash
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cakcode/connect2cli-bridge/wecom-file-reply@sha256:689cf21ddb2f9037

The line at the top of this page pins the label git:20261020.59bc834, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_x5gkh4tisfss5jsd.svg)](https://markdownregistry.com/a/art_x5gkh4tisfss5jsd)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between May 29, 2026 and Oct 20, 2026, about one every 72 days.

versioncommittedcommitsizeaudit
git:20261020.59bc834 latest2026-10-20 59bc834 9,713 BA view · diff
git:20260804.5987dc92026-08-04 5987dc9 8,509 BA view · diff
git:20260529.7c525372026-05-29 7c52537 8,402 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9713 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

GitHub

cakcode/connect2cli-bridge · 39 stars · license none declared · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_x5gkh4tisfss5jsd
GET https://markdownregistry.com/api/v1/resolve?ref=cakcode/connect2cli-bridge/wecom-file-reply
GET https://markdownregistry.com/api/v1/blob/689cf21ddb2f90374dc8cfb62294dd3f87da13b11d4ecdf955422f2a44086fcd

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.

More from cakcode/connect2cli-bridge

wecom-bridge-guard SKILL.md skill
cakcode/connect2cli-bridge · relate-skills/wecom-bridge-guard/SKILL.md · 当前运行环境是企业微信智能机器人桥接模式。凡是来自 BridgeContext 的企微请求,只要涉及 codex bridge、wecom bridge、bridge.py、send_file.py、schedule_message.py、…
git:20260601.09f3e8d · audit A · 39 stars
wecom-schedule-message SKILL.md skill
cakcode/connect2cli-bridge · relate-skills/wecom-schedule-message/SKILL.md · 当前运行环境是企业微信智能机器人桥接模式。用户如果要求“稍后提醒我”“下午三点帮我看报告并发我”“一小时后提醒我再跑一次”“10分钟后补发一张新的状态卡”,应使用 bridge 提供的本地定时消息命令,为当前 session 或当前回调…
git:20260616.22ae2b1 · audit A · 39 stars
wecom-session-control SKILL.md skill
cakcode/connect2cli-bridge · relate-skills/wecom-session-control/SKILL.md · 当前运行环境是企业微信智能机器人桥接模式。用户如果要求“停止当前任务”“中断这次执行”“新建会话”“重置会话”“清掉当前上下文”,应调用 bridge 提供的 session 管理 API,只操作当前 chat 对应的 session。
git:20261020.59bc834 · audit B · 39 stars

Every file in cakcode/connect2cli-bridge

Browse by kind, by grade A, or by owner.