wecomcli-doc-manage

Search, rename, and manage member permissions for WeCom documents.

287|46|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/YanHaidao/wecom --skill wecomcli-doc-manage-yanhaidao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wecomcli-doc-manage
Source: https://github.com/YanHaidao/wecom/tree/main/skills/wecomcli-doc-manage
Command: npx skills add https://github.com/YanHaidao/wecom --skill wecomcli-doc-manage-yanhaidao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Finding and administering WeCom (Enterprise WeChat) cloud documents is tedious when done manually through the client. This Skill lets you search documents by keyword, creator, viewer, or time window, and perform common management operations—renaming, adding members with specific permission levels, and configuring link-join rules—across all document types (doc, sheet, smartsheet, smartpage) through the wecom-cli tool. ## Core Features & Use Cases - Document Search: Search by keywords with filters for document type, creator, viewer/member, creation or open time windows, and sorting, with cursor-based pagination. Covers recent browsing history and "documents I created" queries. - Rename Documents: Change the name of any doc, sheet, smartsheet, or smartpage by docid. - Member & Permission Management: Batch-add members as manager, editor, or read-only, and configure link-join rules for internal and external users. - Use Case: A user asks "find the documents I browsed this week about the product launch". The Skill resolves the current user's userid, calls doc search with visitor and time filters, presents clickable results, then adds a colleague as an editor to the chosen document. ## Quick Start Ask the assistant to search your recently viewed WeCom documents about a topic, then rename the result or add a colleague as an editor.

Frequently Asked Questions about wecomcli-doc-manage

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

FAQPage Schema
How do I search WeCom documents by keyword?

Use the wecom-cli doc search command with a keywords array, search scope (title, content, or both), and optional filters for document type, creator, and time window. Natural language queries are tokenized first, with core terms combined as the primary keyword.

How do I find documents I recently viewed in WeCom?

Call doc search with visitor_userids set to your own userid and an opened_after time window, defaulting to the last 7 days. Results only include documents you personally have permission to access.

Can I add members or change permissions on a WeCom document?

Yes, the doc members update command batch-adds members by userid with manager, edit, or read roles. If you only have a person's name, resolve it to a userid first through the contact search skill.

Which WeCom document types support renaming and permission changes?

Renaming, member management, and join rules apply to doc, sheet, smartsheet, and smartpage types. Search additionally covers collect, ppt, mind, flow, journal, and pdf, but those extra types cannot be renamed or permission-managed.

Why can't I read the content of a PPT or PDF found in search?

The search API can return ppt, journal, collect, mind, flow, and pdf results, but no downstream skill can read their content. Open the returned document URL directly in the WeCom client to view them.