WeCom Unified
Paste the following prompt into your AI chat to install this skill:
Please follow the guide at https://skillhub.cn/install/skillhub.md to install @tencent-adm/wecom-unified.
About this skill
Problem Addressed
Enterprise WeChat (WeCom) is a dominant workplace collaboration platform, yet many of its operations rely on web or mobile interfaces, lacking native command-line integration. This hinders automation, batch processing, and programmatic control for developers. Manually performing repetitive tasks such as bulk contact searches, document management, or meeting scheduling is time-consuming and error-prone.
Core Capabilities and Workflow
The WeCom Unified suite provides a comprehensive CLI toolset via wecom-cli, encapsulating core WeCom functionalities into programmable commands.
- Business Domain Routing: The skill intelligently routes user intents to specific business domains like
contact,doc,calendar, etc., based on the overview table. Each domain has a dedicatedreferencefile detailing parameter specifications. - Strict Pre-checks: Before any command,
wecom-cli --versionmust be run to verify the CLI version (≥ 1.1.0), andwecom-cli auth show --statusto check credential configuration. If unauthorized,wecom-cli authmust be executed for QR code authorization. - Identity and ID Constraints: Operator identity is obtained via
wecom-cli identity whoami. All outputs strictly prohibit exposing internal IDs likeuseridorchat_id, mandating readable names (e.g., names, titles) and referencingreferencefiles for conversion. - Domain Collaboration: For instance, creating a meeting may require querying busy-free slots in the calendar domain first, and document searches can be handled through the doc-manage domain, illustrating data flow across domains.
Applicable Boundaries and Notes
The skill is not omnipotent and has clear boundaries:
- Feature Limitations: It currently does not support creating recurring calendar/meeting events, drafting or recalling emails, or moving/deleting files, among other operations.
- Pre-requisites: wecom-cli must be installed with a compliant version, and credential configuration is a mandatory step.
- Output Specifications: Due to ID constraints, when an API returns only an ID, the system attempts to convert it to a readable name via reference files. If conversion fails, natural language descriptions are used to refer to objects without exposing machine identifiers.
- Disambiguation Mechanism: For ambiguous commands like "schedule a meeting," disambiguation is triggered during creation to determine if it's a calendar event or online meeting, while queries merge results from both domains.
Use Cases
- When you need to quickly find multiple contacts matching a specific name or alias within the company and obtain their emails and department paths for notifications, you can use the contact domain for a batch search.
- When you receive a link to an online document and need to read its full text and append a new paragraph of meeting minutes at the end, you can use the doc domain to execute read and append operations.
- When you need to create an appointment with an online meeting link and automatically check the busy-free status of all participants for the next hour to determine the optimal time, it requires leveraging both the calendar and meeting domains for queries and creation.
- When you need to import a local Excel data file into a WeCom smartsheet and subsequently use the command line to update data in specific rows, you can use the smartsheet domain's import and record modification functions.
Best For
- DevOps engineers who need to batch process WeCom contact data via automation scripts for personnel information verification or organizational structure analysis.
- Project managers or team leads responsible for managing the team's online documents and spreadsheets, who need to regularly organize meeting minutes and update meeting to-dos.
- Administrative personnel who need to uniformly arrange offline meetings for team members, check conference room availability and book them, or create appointments without online meeting links.
- Business or operations personnel who wish to efficiently manage email correspondence via the command line and quickly search for, read, specific emails and their attachments.
Related Skills
Tencent Cloud Table Recognition V3 is an OCR skill for detecting and recognizing tables in images or PDFs, supporting various table types like linear and borderless tables, with Excel export.
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
PPT Master is a professional PPT generation skill that automatically generates editable .pptx files through a 5-stage interactive workflow based on user requirements.
An AI-powered bid document assistant offering intelligent interpretation, document generation, and compliance review features.