lark-drive

Manage Lark Drive files, folders, comments, permissions, and document import/export via lark-cli.

2.0k|291|Updated Jul 24, 2026
One-click install
npx skills add https://github.com/Pinvou/pinvou-agent --skill lark-drive-pinvou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-drive
Source: https://github.com/Pinvou/pinvou-agent/tree/main/pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-drive
Command: npx skills add https://github.com/Pinvou/pinvou-agent --skill lark-drive-pinvou

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Managing files in Feishu/Lark cloud space manually is slow and error-prone: uploading, downloading, copying, moving, renaming, deleting, handling comments, permissions, secure labels, and converting local files into online documents all require many UI steps. This Skill gives an AI agent a complete command-line workflow for Lark Drive operations through lark-cli, including safe handling of high-risk writes. ## Core Features & Use Cases - File & Folder Management: Search, upload, download, preview, copy, move, rename, delete, create folders and shortcuts, and sync local directories with Drive folders. - Import & Export: Convert local Word, Markdown, Excel, CSV, PPTX, and .base files into online docx/sheet/bitable/slides documents, and export online documents to PDF, XLSX, CSV, Markdown, PPTX, or .base snapshots. - Comments, Permissions & Governance: Add, list, reply to, resolve, and delete comments; manage collaborators, public sharing settings, secure labels, owner transfer, and permission applications with confirmation gates for high-risk operations. - Use Case: A user says "import this Excel file as a Base table into my Lark folder and grant my teammate edit access" — the agent runs lark-cli drive +import --type bitable followed by drive +member-add with confirmation. ## Quick Start Ask the agent to search your Lark cloud space for a document by title, or to upload a local file into a specific Drive folder, and it will route the request through the appropriate lark-cli drive command.

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 Lark as a Base table?

Use lark-cli drive +import --type bitable with the local file path. Excel (.xlsx), CSV, and .base snapshot files can be imported as bitable; batch imports to the same folder must run serially to avoid server-side concurrency conflicts.

How do I export a Lark docx or sheet document to PDF or Excel?

Use lark-cli drive +export with the document URL and a target format such as pdf, xlsx, csv, markdown, or pptx. The command polls the export task and downloads the result; if it times out, continue with drive +task_result and drive +export-download.

Can I work with wiki links using Lark Drive commands?

Yes, but wiki tokens are not the underlying file tokens. Use lark-cli drive +inspect to unwrap a wiki URL into its real obj_token and type before downloading, exporting, or commenting on the document.

What file types can be imported into Lark online documents?

Word (.docx/.doc), text, Markdown, and HTML import as docx; .xlsx/.xls/.csv import as sheet or bitable; .base snapshots import as bitable; .pptx imports as slides. Each extension maps only to its supported target types, with per-format size limits.

Why does deleting or moving Lark Drive files require extra confirmation?

Deletion, public permission changes, owner transfer, and version rollback are high-risk writes. The skill requires resolved file tokens, explicit execution details, and user confirmation in the same turn, plus a --yes flag, before running these commands.

What operations are not covered by the Lark Drive skill?

Document body reading and editing belong to lark-doc, spreadsheet cell operations to lark-sheets, Base table records to lark-base, and wiki node hierarchy to lark-wiki. Drive handles files, folders, comments, permissions, and import/export only.