一键导入
wechat-send-file
Send a file or image to WeChat via TeamMCP. Use when the user wants to send a file, image, or document to WeChat.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Send a file or image to WeChat via TeamMCP. Use when the user wants to send a file, image, or document to WeChat.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Check and process unread TeamMCP inbox messages. Reviews all unread items, acknowledges processed ones, and summarizes what needs attention.
Generate and post a daily standup report. Checks project state, pending tasks, and unread messages, then posts a structured summary to the specified channel.
Deploy claude-code-router for third-party API support (OpenRouter, Gemini, DeepSeek, etc). Use when setting up non-Anthropic API providers for TeamMCP agents.
Quick start guide for TeamMCP first-time users. Walk through installation, configuration, and first deployment in minutes.
Search team knowledge across messages, project state, and task history. Compiles relevant context from multiple TeamMCP sources to answer questions.
Submit work for team review or approval. Creates/updates a review task, notifies the reviewer via channel or DM, and requests state approval if needed.
| name | wechat-send-file |
| description | Send a file or image to WeChat via TeamMCP. Use when the user wants to send a file, image, or document to WeChat. |
| argument-hint | [file path] |
Send a local file (image, document, video) to WeChat via the TeamMCP WeChat bridge.
$ARGUMENTS contains the file path to send. If not provided, ask the user which file to send.
Check the file exists and get its size:
Use the Bash tool to run: ls -la "$ARGUMENTS"
If the file doesn't exist, tell the user and ask for a correct path.
Call the TeamMCP API to verify WeChat is connected:
Use the Bash tool to run:
curl -s http://localhost:3100/api/wechat/status -H "Authorization: Bearer $TEAMMCP_KEY"
If connected is false, tell the user to connect WeChat first via the Dashboard.
Call the send-file API:
Use the Bash tool to run:
node -e "
fetch('http://localhost:3100/api/wechat/send-file', {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer $TEAMMCP_KEY' },
body: JSON.stringify({ file_path: '$ARGUMENTS' })
}).then(r=>r.json()).then(d => {
if (d.ok) console.log('File sent:', d.fileName, '(' + d.size + ' bytes)');
else console.error('Failed:', d.error);
});
"
Tell the user whether the file was sent successfully, including the filename and size.
| Type | Extensions | WeChat Display |
|---|---|---|
| Image | jpg, jpeg, png, gif, bmp, webp | Inline image |
| Video | mp4, avi, mov, wmv, mkv | Video player |
| File | All others (pdf, doc, md, txt, etc.) | File attachment |
getuploadurl + POSTsendmessage sends the media reference to the WeChat user