lark-drive

Manage Lark Drive files and folders including upload, download, import, export, comments, and permissions.

Updated May 28, 2026
One-click install
npx skills add https://github.com/changfengpro/agent-skills --skill lark-drive-changfengpro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-drive
Source: https://github.com/changfengpro/agent-skills/tree/main/skills/lark-drive
Command: npx skills add https://github.com/changfengpro/agent-skills --skill lark-drive-changfengpro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and includes references (resource) components.

What problem does it solve? Managing files and folders in Lark (Feishu) cloud storage through manual UI clicks is slow and hard to automate. This Skill lets you operate Lark Drive programmatically via lark-cli: uploading and downloading files, creating folders, copying, moving, deleting, renaming, inspecting URLs and tokens, managing comments, permissions, secure labels, and converting local files into online Lark documents. ## Core Features & Use Cases - File and folder operations: Upload, download, preview, create folders, copy, move, delete, rename, create shortcuts, and sync local directories with Drive folders. - Import and export: Convert local Word, Markdown, Excel, CSV, PPTX, and .base files into Lark docx, sheet, bitable, or slides documents, and export online documents to PDF, XLSX, CSV, Markdown, or PPTX. - Comments, permissions, and governance: Add, list, reply to, resolve, and delete document comments; query and modify collaborator permissions, sharing settings, secure labels, and owner transfers with confirmation gates for high-risk writes. - Use Case: You receive a folder of Excel reports and need them as Lark bitable documents in a specific Drive folder. Use lark-cli drive +import --type bitable serially for each file, then verify placement with drive files list. ## Quick Start Ask the AI to upload a local file to your Lark Drive folder or import a local Excel file into a Lark bitable using the lark-drive skill.

Frequently Asked Questions about lark-drive

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

FAQPage Schema
How do I import a local Excel or CSV file into a Lark bitable?

Use lark-cli drive +import with --type bitable and the local file path. The command uploads the file, creates an import task, and polls until the bitable is created. Batch imports to the same folder must run serially to avoid concurrency conflicts.

How do I download a file from Lark Drive with lark-cli?

Run lark-cli drive +download with --file-token, --url, or --wiki-token and an optional --output path. It handles Drive files only; for online documents like docx or sheet, use drive +export to render them as PDF, XLSX, or other formats first.

Can I use a wiki URL directly for Drive operations?

Wiki URLs cannot be used as file tokens directly. Run lark-cli drive +inspect --url with the wiki URL to unwrap it into the underlying obj_token and obj_type, then use those values for download, export, or comment operations.

What file formats can be imported into Lark online documents?

Word (.docx/.doc), text, Markdown, and HTML import as docx; .xlsx and .csv import as sheet or bitable; .xls imports as sheet only; .base snapshots import as bitable; .pptx imports as slides. Each format has size limits, such as 500MB for PPTX and 20MB for .base files.

Why does drive +import fail with errors like 232140101?

These error codes indicate concurrent import or creation operations targeting the same location. Switch batch imports to serial execution, wait a few seconds before each retry, retry each failed item at most three times, and stop if conflicts persist.

What operations are not handled by the lark-drive skill?

Document body reading and editing belong to lark-doc, spreadsheet cell operations to lark-sheets, bitable table and record operations to lark-base, wiki node hierarchy to lark-wiki, and native Markdown file patching to lark-markdown. lark-drive handles storage-level file and folder management only.