企微发件

WeCom 文件发送技能

by chongjie-ran

> 创建时间: 2026-03-18

4.5k其他未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/chongjie-ran/wecom-file-sender

文档

创建时间: 2026-03-18 适用于: 企业微信 (WeCom)

技能描述

将本地文件通过企业微信发送给用户的功能封装。通过此技能,可以将本地文件(如文档、图片、视频、语音等)发送给用户。

触发词

  • "发送文件给我"
  • "传输文件"
  • "发送XX文件"
  • "把这个文件发给我"
  • "文件发给我"

使用方法

1. 文件路径

文件存放在以下目录:

  • 主工作目录: ~/.openclaw/workspace/
  • 公司业务目录: ~/.openclaw/workspace/memory/companywork/
  • 抖音内容: ~/.openclaw/workspace/memory/douyin-videos/

2. 发送指令

在回复中单独一行使用 MEDIA: 指令,后面跟文件的本地路径。

格式:

code
MEDIA: /文件的绝对路径

示例:

code
MEDIA: ~/.openclaw/workspace/memory/companywork/会议纪要.md
MEDIA: ~/openclaw/workspace/test.pdf

3. 文件大小限制

类型限制
图片≤10MB
视频≤10MB
语音≤2MB (仅支持AMR格式)
文件≤20MB

超过限制会被自动转为文件格式发送。

4. 查找文件

使用 ls 命令查找文件:

bash
ls -la ~/.openclaw/workspace/memory/companywork/

注意事项

  • MEDIA: 必须在行首,后面紧跟文件路径
  • 路径中包含空格时用反引号包裹
  • 每个文件单独一行 MEDIA: 指令
  • 可以附带文字说明

示例

用户请求: "把XX会议纪要发给我"

处理步骤:

  1. 查找文件: ls ~/.openclaw/workspace/memory/companywork/ | grep 关键词
  2. 确认文件路径
  3. 发送文件:
code
MEDIA: ~/.openclaw/workspace/memory/companywork/XX会议纪要.md

此技能封装了企业微信文件发送功能,方便快速将本地文件分享给用户

相关 Skills

Claude API

by anthropic

热门

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.

其他
安全163.8k

并行代理

by axelhu

热门

Use when facing 2 or more independent tasks that can be worked on without shared state - dispatches parallel subagents using sessions_spawn for concurrent investigation and execution, adapted for OpenClaw

其他
未扫描4.5k

高光制作器

by bwbernardweston18

热门

>

其他
未扫描4.5k

评论