yichen-wecom-operations

Create WeCom documents and manage todos, meetings, and schedules via the official wecom-cli.

2.0k|274|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-wecom-operations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yichen-wecom-operations
Source: https://github.com/mcncarl/yichen-skills/tree/main/yichen-wecom-operations
Command: npx skills add https://github.com/mcncarl/yichen-skills --skill yichen-wecom-operations

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @wecom/cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Publishing Markdown content to WeCom (企业微信) cloud documents and managing enterprise todos, meetings, and schedules normally requires manual work in the WeCom desktop app. This Skill performs those operations through the official @wecom/cli with strict confirmation gates, without ever controlling the desktop client or sending messages.

Core Features & Use Cases

  • Markdown to Smart Documents: Convert local Markdown files into WeCom normal or smart documents, with optional local-image upload through a user-supplied helper that rewrites image paths to WeCom CDN URLs.
  • Todo, Meeting, and Schedule Management: Create, query, update, and delete todos, and book or cancel meetings and schedules when the enterprise tenant grants those categories.
  • Safety-First Writes: Every write operation requires an explicit user instruction, destructive actions require exact-target reconfirmation, and internal IDs and receipts stay in permission-locked local state.
  • Use Case: You finish a Markdown report and want it as a WeCom smart document with embedded images, plus a follow-up todo for a teammate. Run the doctor check, preview the document creation, then execute with confirmation.

Quick Start

Ask the assistant to turn a local Markdown file into a WeCom smart document, for example: create a WeCom smart document titled "Weekly Report" from /path/to/report.md.

Frequently Asked Questions about yichen-wecom-operations

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

FAQPage Schema
How do I create a WeCom smart document from a Markdown file?

Run the bundled create_smartpage.py script with --source and --title for a dry-run preview, then add --execute after explicit confirmation. It calls wecom-cli doc +smartpage_create with the Markdown file as page content.

How to upload local images into WeCom smart documents?

Local images require a separately supplied helper executable exposing doc +doc_upload_image, pointed to by the WECOM_UPLOAD_HELPER environment variable. The script uploads images to a resource document, rewrites paths to WeCom CDN URLs, then creates the final smart document.

Can this Skill send WeCom messages or control the desktop app?

No. It never operates the WeCom desktop UI and never invokes the message category. It only uses official wecom-cli document, todo, meeting, and schedule capabilities under the current enterprise's authorization.

Why does wecom-cli return category not supported for meetings or schedules?

Category availability is tenant-specific and depends on the enterprise and bot configuration. Run doctor.py --category meeting or the category's --help to check; if authorization is unsupported, the Skill stops instead of bypassing via client automation.

What happens to document IDs and credentials after operations?

Internal IDs such as docid, meetingid, and todo_id are stored only in local receipts with 0600 permissions and never shown in conversation. Encrypted credentials under ~/.config/wecom/ are never read or printed.