wecomcli-disk

Manage WeCom Drive files through search, upload, download, rename, and folder creation operations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Locating, organizing, and transferring files in WeCom Drive (微盘) requires manual navigation through the client; this Skill lets an AI agent perform file-level disk operations directly through the wecom-cli tool. ## Core Features & Use Cases - File Discovery: List recently viewed files and search by keywords, file type, creator, or shared space with pagination and sorting. - File Transfer: Upload local files or media assets to a target folder and download offline binary files (Word, Excel, PDF, images) to local paths. - Organization: Read file metadata (path, space, folder, timestamps), rename files, and create new folders. - Use Case: A user asks "find the Q3 report PPT in the marketing shared space and download it" — the Skill searches with type filters, resolves the file ID, and downloads it to a local path. ## Quick Start Ask the assistant to search WeCom Drive for a file by name and download it, for example: "Find the quarterly report in my WeCom Drive and download it."

Frequently Asked Questions about wecomcli-disk

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

FAQPage Schema
How do I search for files in WeCom Drive?

Use the disk files search command with keywords, creator userids, search type, or file types — at least one of these four filters is required. Results support pagination via cursors and sorting by best match, modify time, or file size.

How do I upload a file to WeCom Drive?

Call disk files upload with either a local file path or an existing media_id (prefix mc) as the content source — the two options are mutually exclusive. Optionally specify a target folder ID; otherwise the file goes to the default space.

Can I download online documents from WeCom Drive?

No, only offline binary files (type=file such as offline Word, Excel, PDF, images) can be downloaded. Online documents like sheets or smartsheets must be read through their dedicated document skills using the returned docid.

What file operations are not supported in WeCom Drive?

Moving, deleting, or copying files, renaming or deleting folders, managing shared spaces, modifying share permissions, and version history are not supported. Users must perform these actions manually in the WeCom client.

Why does WeCom Drive search return no results?

Search requires at least one of keywords, creator userids, search type, or file types; space keywords alone cannot trigger a search. If 2-3 adjusted attempts still return nothing, the file likely does not exist or is inaccessible.