From teammcp
Sends a local file, image, video, or document to WeChat via TeamMCP bridge. Takes file path argument, validates existence, checks connection, and reports result with filename and size.
How this command is triggered — by the user, by Claude, or both
Slash command
/teammcp:SKILL [file path]skills/wechat-send-file/The summary Claude sees in its command listing — used to decide when to auto-load this command
# Send File to WeChat Send a local file (image, document, video) to WeChat via the TeamMCP WeChat bridge. ## Arguments $ARGUMENTS contains the file path to send. If not provided, ask the user which file to send. ## Steps ### 1. Validate File Check the file exists and get its size: If the file doesn't exist, tell the user and ask for a correct path. ### 2. Check WeChat Connection Call the TeamMCP API to verify WeChat is connected: If `connected` is false, tell the user to connect WeChat first via the Dashboard. ### 3. Send File Call the send-file API: ### 4. Report Result ...
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 usernpx claudepluginhub cookjohn/teammcp/exportExport WhatsApp messages from a chat (by JID or name) to a file in JSONL, JSON, Markdown, or CSV format. Supports --after timestamp filter and reports summary with count, size, and path.
/telegram-setupInteractively sets up pact-telegram for Telegram notifications: collects bot token, detects chat ID via API, adds optional OpenAI voice transcription, creates secure config.
/whatsappSearches WhatsApp messages and media by contact name, keywords, date range; lists recent chats, displays images/videos/documents, filters by type. Requires macOS WhatsApp client.
/setup-mcpRegisters the Lanes MCP server via SSE at localhost:5353, verifies connectivity, and reports status.
/cc-channelsBootstraps Claude Code channel integrations: generates starter servers for CI webhooks, mobile/Telegram, Discord bridges; writes .mcp.json config, pairing instructions, allowlists. Also supports list, status, security, pair, test.
/SKILLResolves GitHub issue via isolated worktree, TDD workflow, and auto-closing PR creation.