wecomteam/wecom-openclaw-plugin/wecom-send-template-card
Claude Code and agent skill by wecomteam/wecom-openclaw-plugin
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
当需要通过企业微信发送结构化卡片消息时使用,包括:通知提醒、投票表决、方案选择、多维度选择等需要用户交互或查看结构化信息的场景。即使用户未明确要求"发卡片",只要语境适合(如"帮我问一下选A还是B"),也应主动激活。仅限 wecom 通道。
Install
npx vskill@latest install wecomteam/wecom-openclaw-plugin/wecom-send-template-cardSKILL.md
使用方式
在回复中输出 `json ` 代码块,内容为符合 JSON Schema 的模板卡片 JSON。插件自动提取并发送。
{ "card_type": "...", ... }
生成规则
- 严格按 schema 生成:字段名、类型、嵌套结构必须与 ./references/api-template-card-types.md 中的 JSON Schema 定义完全一致
- 每张卡片必须有 `task_id`:格式
task_{场景}_{时间戳},只能包含数字、字母、_-@ - 不要调用
wecom-cli或其他工具发送卡片,直接在最终回复中输出 JSON 代码块 - 代码块外的文本会作为普通回复发送
卡片类型选择
决策流程
场景速查
| card_type | 典型场景 | |
|---|---|---|
text_notice | 系统告警、部署通知、数据日报、审批结果、放假公告 | |
news_notice | 新闻推送、活动宣传、产品发布、带图表的周报、新员工介绍 | |
button_interaction | 审批(同意/驳回)、工单处理(接单/转派)、确认操作、满意度评价、二次确认(是/否) | |
vote_interaction | 团建投票、会议时间协调、问卷单题、意见征集、方案评选 | |
multiple_interaction | 多维度信息收集(部门+楼层+时间)、报障工单(类型+紧急程度)、会议室预定(日期+时间+房间) |
易混淆卡片区分
- button_interaction vs vote_interaction:按钮型适合"少量选项+即时操作"(如确认/取消),投票型适合"选项多+可多选+统一提交"(如投票)
- vote_interaction vs multiple_interaction:投票型是"一个问题选多项",多项选择型是"多个独立问题各选一项"(如同时选时间和地点)
必填字段速查
| card_type | required | |
|---|---|---|
text_notice | card_type, task_id, card_action, (main_title 或 sub_title_text 至少一个) | |
news_notice | card_type, task_id, main_title, card_action | |
button_interaction | card_type, task_id, main_title, button_list | |
vote_interaction | card_type, task_id, title, options | |
multiple_interaction | card_type, task_id, title, selectors |
最小示例
text_notice
news_notice
button_interaction
vote_interaction(简化格式)
multiple_interaction(简化格式)
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/wecom-send-template-card/SKILL.md
Popularity
- Repository stars
- 439
- Repository forks
- 65
- Repository npm downloads, 7 days
- 7,747
- 7-day trend score
- 51
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 16 Jun 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wecomteam/wecom-openclaw-plugin/wecom-send-template-card)