PluginBench
Skill
Fail
Audit score 45

wecomcli-create-meeting

wecomteam/wecom-cli

Create scheduled meetings in WeCom with customizable settings and participant invitations.

What is wecomcli-create-meeting?

This skill enables creation of scheduled meetings in WeCom (企业微信), supporting meeting parameters, participant invitations, and optional settings like passwords and waiting rooms. Use it when users request to create, schedule, or arrange meetings.

  • Create scheduled meetings with title, start time, and duration
  • Invite participants by userid with automatic contact lookup
  • Configure optional meeting settings (password, waiting room, mute on entry, screen watermark)
  • Set reminder scope and specify which users receive notifications
  • Generate meeting codes, IDs, and shareable meeting links

How to install wecomcli-create-meeting

npx skills add https://github.com/wecomteam/wecom-cli --skill wecomcli-create-meeting
Prerequisites
  • wecom-cli command-line tool installed and configured
  • Access to WeCom contact directory for participant lookup
Claude Code
Cursor
Windsurf
Cline

How to use wecomcli-create-meeting

  1. 1.Parse user intent to extract meeting title, start time (YYYY-MM-DD HH:mm format), and duration in seconds
  2. 2.If participants are mentioned, use wecomcli-lookup-contact skill to query the contact directory and obtain userids
  3. 3.Call wecom-cli meeting create_meeting with JSON parameters including title, meeting_start_datetime, meeting_duration, and optional invitees, location, description, and settings
  4. 4.Display the meeting code at the top of the response in format '#会议号: xxx-xxx-xxx' followed by meeting details including title, time, participants, and meeting link

Use cases

Good for
  • Create a simple meeting for tomorrow at 3 PM with just a title and duration
  • Schedule a meeting with multiple participants from the contact directory
  • Set up a meeting with security features like password protection and waiting room enabled
  • Create a meeting with custom reminder settings for specific team members
  • Schedule meetings with location and description details
Who it's for
  • WeCom enterprise users managing team meetings
  • Team leads and managers scheduling recurring or ad-hoc meetings
  • Administrative staff coordinating multi-participant meetings

wecomcli-create-meeting FAQ

What should I do if the user mentions participants but I don't have their userids?

Use the wecomcli-lookup-contact skill to call get_userlist to retrieve the full contact directory, then match participants by name or alias to obtain their userids before creating the meeting.

Can I create a meeting without inviting any participants?

Yes. If participants are not mentioned, create the meeting with just the title, start time, and duration. The invitees field can be left empty.

What time format should I use for meeting_start_datetime?

Use YYYY-MM-DD HH:mm format (e.g., 2026-03-18 15:00 for March 18, 2026 at 3:00 PM).

How should I display the meeting code to users?

Display the meeting code at the very beginning of your response on its own line in the format '#会议号: xxx-xxx-xxx' (with hyphens every 3 digits), followed by the full meeting details.

What optional settings can I configure for a meeting?

Optional settings include password, enable_waiting_room, allow_enter_before_host, enable_enter_mute, allow_external_user, enable_screen_watermark, remind_scope, and ring_users for specifying which users receive notifications.

Full instructions (SKILL.md)

Source of truth, from wecomteam/wecom-cli.


name: wecomcli-create-meeting description: 企业微信会议创建技能, 支持创建预约会议. 当用户需要"创建会议", "预约会议", "约会议", "安排会议"时触发. metadata: requires: bins: ["wecom-cli"] cliHelp: "wecom-cli meeting --help"

企业微信会议创建技能

wecom-cli 是企业微信提供的命令行程序,所有操作通过执行 wecom-cli 命令完成。

概述

wecomcli-create-meeting 提供企业微信预约会议的创建能力, 支持设置会议参数, 邀请参与人等.

命令调用方式

执行指定命令:

wecom-cli meeting <tool_name> '<json_params>'

命令详细说明

创建预约会议 (create_meeting)

创建一个预约会议, 支持设置会议参数配置等.

执行命令

wecom-cli meeting create_meeting '{"title": "<会议标题>", "meeting_start_datetime": "<会议开始时间>", "meeting_duration": <会议持续时长(秒)>}'

入参说明

参数类型必填说明
titlestring会议标题
meeting_start_datetimestring会议开始时间, 格式:YYYY-MM-DD HH:mm
meeting_durationinteger会议持续时长 (秒), 例如 3600 = 1 小时
descriptionstring会议描述
locationstring会议地点
inviteesobject被邀请人, 格式:{"userid": ["lisi", "wangwu"]}
settingsobject会议设置 (详见下方)

被邀请人 userid 通过 wecomcli-lookup-contact 技能获取

settings 字段:

参数类型说明
passwordstring会议密码
enable_waiting_roomboolean是否启用等候室
allow_enter_before_hostboolean是否允许成员在主持人进入前加入
enable_enter_muteinteger入会时静音设置 (枚举: 0: 关闭, 1: 开启)
allow_external_userboolean是否允许外部用户入会
enable_screen_watermarkboolean是否开启屏幕水印
remind_scopeinteger提醒范围 (1: 不提醒, 2: 仅提醒主持人, 3: 提醒所有成员, 4: 指定部分人响铃, 默认仅提醒主持人)
ring_usersobject响铃用户, 格式:{"userid": ["lisi"]}

响铃用户 userid 通过 wecomcli-lookup-contact 技能获取

返回参数

{
  "errcode": 0,
  "errmsg": "ok",
  "meetingid": "会议ID字符串",
  "meeting_code": "会议号码字符串",
  "meeting_link": "会议链接URL",
  "excess_users": ["无效会议账号的userid"]
}
字段类型说明
meetingidstring会议 ID
meeting_codestring会议号码, 向用户展示时需在回复开头单独一行纯文字展示, 格式 #会议号: xxx-xxx-xxx (每3位用 - 分隔)
meeting_linkstring会议链接
excess_usersarray参会人中包含无效会议账号的 userid, 仅在购买会议专业版企业由于部分参会人无有效会议账号时返回

典型工作流

工作流 1: 最简创建 (无邀请人)

用户意图: "帮我约一个明天下午3点的会议, 主题是周例会, 时长1小时"

步骤:

  1. 解析用户意图: 时间 + 主题已有, 邀请人未提及则默认留空, 直接创建.
  2. 调用创建命令:
wecom-cli meeting create_meeting '{"title": "周例会", "meeting_start_datetime": "2026-03-18 15:00", "meeting_duration": 3600}'
  1. 展示结果:

#会议号: <会议号>

✅ 会议创建成功!

📅 <会议标题>
🕐 时间: <开始时间>, 时长 <时长>
🔗 会议链接: <会议链接>

工作流 2: 带邀请人 + 地点 + 描述

用户意图: "帮我约一个明天下午3点的会议, 主题是技术方案评审, 邀请张三和李四, 地点在3楼会议室, 时长1小时"

步骤:

  1. 解析用户意图: 有邀请人, 需先查询通讯录获取 userid.
  2. 通讯录查询: 调用 wecomcli-lookup-contact 技能获取通讯录成员, 按姓名筛选出参与者的 userid.
wecom-cli contact get_userlist '{}'

在返回的 userlist 中筛选 name 包含 "张三" 和 "李四" 的成员, 获取其 userid.

  1. 信息已充分, 直接调用创建命令 (禁止暴露内部 ID):
wecom-cli meeting create_meeting '{"title": "技术方案评审", "meeting_start_datetime": "2026-03-18 15:00", "meeting_duration": 3600, "location": "3楼会议室", "invitees": {"userid": ["zhangsan", "lisi"]}}'
  1. 展示结果:

#会议号: <会议号>

✅ 会议创建成功!

📅 <会议标题>
🕐 时间: <开始时间>, 时长 <时长>
👥 参与人: <参与者姓名列表>
🔗 会议链接: <会议链接>

复杂场景样例

按场景按需加载, 避免一次性引入过多无关示例:

文件适用场景
references/example-security.md会议密码, 等候室, 外部用户限制
references/example-reminder.md响铃提醒, 指定部分人响铃
references/example-full.md全参数综合场景 (含静音, 屏幕水印, 等候室等设置)

注意事项

  • 信息追问: 缺少时间或主题时, 简洁追问用户; 未提及邀请人则默认留空
  • 通讯录查询: 涉及参与人时, 需先通过 wecomcli-lookup-contact 技能的 get_userlist 接口获取全量通讯录成员, 再按姓名/别名本地筛选匹配出对应的 userid. 该接口无入参, 返回当前用户可见范围内的成员列表 (含 userid, name, alias)
  • 直接创建: 时间 + 主题已知即可直接创建, 邀请人有则带上, 无则留空; 无论信息是一次性提供还是上下文可推断, 非必要则均不请求确认, 直接创建即可
  • 时间格式: 统一使用 YYYY-MM-DD HH:mm 格式