Loading...
Loading...
All-in-one WeCom CLI Suite covering 6 core business domains: Contacts, Messages, Documents (including three types: Document, Smart Sheet, Smart Document (formerly Smart Homepage)), Schedules, Meetings, and Tasks. It supports searching contacts by name/alias, sending and receiving messages (text/image/file/voice/video), creating/reading/editing documents in Markdown format, managing Smart Sheet structures and records, creating Smart Documents and exporting their content as Markdown, creating/modifying/canceling schedules and checking availability, booking/managing meetings, and creating/tracking/assigning tasks. This skill should be triggered even if users do not explicitly mention 'WeCom' as long as scenarios involving messages, schedules, tasks, etc., are involved.
npx skill4agent add wecomteam/wecom-unified wecom-unifiedwecom-cliwecom-cli --versionnpm install -g @wecom/cliwecom-cli auth show --auth-statusauthorizedunauthorizedwecom-cli init --noninteractive⚠️ This command will output an authorization link and QR code, and block waiting for the user to scan the code to complete verification. The command will exit automatically after successful authorization, and only needs to be executed once.
wecom-cli contact get_userlist '{}'wecom-cli msg get_msg_chat_list '{"begin_time": "2026-04-08 00:00:00", "end_time": "2026-04-15 23:59:59"}'wecom-cli msg send_message '{"chat_type": 1, "chatid": "zhangsan", "msgtype": "text", "text": {"content": "hello"}}'wecom-cli doc create_doc '{"doc_type": 3, "doc_name": "项目周报"}'wecom-cli doc get_doc_content '{"docid": "DOCID", "type": 2}'⚠️ Special Syntax: This command must use(with+smartpage_createprefix), the plus sign cannot be omitted; this+only applies to this command, do not generalize to other+sub-commands.doc
wecom-cli doc +smartpage_create '{"title": "项目概览", "pages": [{"page_title": "需求文档", "content_type": 1, "page_filepath": "/path/to/requirements.md"}]}'wecom-cli doc smartpage_export_task '{"docid": "DOCID", "content_type": 1}'wecom-cli schedule get_schedule_list_by_range '{"start_time": "2026-04-15 00:00:00", "end_time": "2026-04-15 23:59:59"}'wecom-cli meeting create_meeting '{"title": "周例会", "meeting_start_datetime": "2026-04-16 15:00", "meeting_duration": 3600}'wecom-cli todo get_todo_list '{}'wecom-cli todo create_todo '{"content": "完成Q2规划文档", "remind_time": "2026-04-20 09:00:00"}'