wecomcli-setup

Install wecom-cli, initialize credentials, and translate natural language into CLI commands.

Updated May 4, 2026
One-click install
npx skills add https://github.com/234194027-cpu/xianclaw --skill wecomcli-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wecomcli-setup
Source: https://github.com/234194027-cpu/xianclaw/tree/main/resources/openclaw/config/skills/wecomcli-setup
Command: npx skills add https://github.com/234194027-cpu/xianclaw --skill wecomcli-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of installing and initializing wecom-cli and Skills for Enterprise WeChat, while turning your natural-language requests into the correct CLI commands.

Core Features & Use Cases

  • Automatic installation & validation: Checks Node.js, installs @wecom/cli globally, verifies WeCom Skills (contact/doc/meeting/msg/schedule/todo), and runs wecom-cli init when credentials are missing.
  • Natural-language to command translation: Converts intents like contacts, todos, meetings, messages, schedules, and docs into the right wecom-cli subcommands with properly structured JSON arguments.
  • Operational safety guardrails: Detects missing prerequisites, highlights when initialization is interactive (scan/manual credentials), and warns about breaking operations that require user confirmation (e.g., delete/cancel).

Use case example: You tell the agent “帮我建个会议明天下午3点,并邀请张三李四”,and it ensures the CLI + Skills are ready, resolves user identities when needed, and then schedules the meeting via wecom-cli.

Quick Start

Tell the agent: 帮我配置企业微信机器人并初始化 wecom-cli,然后帮我建个会议“周会”明天下午3点并邀请张三。

Frequently Asked Questions about wecomcli-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install and initialize the Enterprise WeChat CLI for agent workflows?

To install the Enterprise WeChat CLI, you need Node.js 18 or higher. The setup process automatically installs the CLI globally, verifies WeCom Skills, and runs initialization to handle missing credentials.

Can I translate natural language requests into Enterprise WeChat commands?

Yes, you can translate natural language requests into Enterprise WeChat commands. The system maps user intents for contacts, meetings, and messages into the correct CLI subcommands with structured JSON arguments.

What WeCom features can I manage through the CLI command translation?

Through CLI command translation, you can manage contacts, todos, meetings, messages, schedules, and documents. The agent resolves user identities and invokes the correct category methods with JSON parameters.

Do I need Node.js to set up the WeCom CLI agent orchestration?

Yes, Node.js version 18 or higher is required to set up the WeCom CLI. The system performs deterministic checks to validate your environment before installing the CLI and initializing skills.

How does the Enterprise WeChat CLI handle breaking operations like deletions?

For breaking operations like deletions or cancellations, the Enterprise WeChat CLI applies operational safety guardrails. It highlights these actions and warns you that explicit user confirmation is required.

Why does wecom-cli initialization require interactive credential setup?

WeCom-cli initialization requires interactive credential setup when credentials are missing. The process detects this state and prompts you to scan or manually enter credentials to activate the agent-driven workflow.