lark-drive

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

Updated Sep 13, 2026
One-click install
npx skills add https://github.com/U1traVeno/skills --skill lark-drive-u1traveno
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-drive
Source: https://github.com/U1traVeno/skills/tree/main/profiles/lark/lark-drive
Command: npx skills add https://github.com/U1traVeno/skills --skill lark-drive-u1traveno

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Managing files in Lark (Feishu) cloud storage through manual UI clicks is slow and hard to automate. This Skill lets you operate Drive files and folders programmatically via lark-cli: uploading, downloading, copying, moving, deleting, importing local documents, exporting online docs, managing comments, permissions, versions, and syncing local directories with cloud folders. ## Core Features & Use Cases - File & Folder Operations: Upload, download, create folders, copy, move, delete, rename titles, inspect URLs/tokens, and query metadata, statistics, and storage quota. - Import & Export: Convert local Word/Markdown/Excel/CSV/PPTX/.base files into online docx/sheet/bitable/slides, and export online docs to PDF, XLSX, CSV, Markdown, PPTX, or .base snapshots. - Comments, Permissions & Versions: Add full-text or anchored comments (docx blocks, sheet cells, slides elements, Base records), manage collaborators and security labels, apply for access, and view/revert/delete file version history. - Directory Sync: Compare, pull, push, and two-way sync between a local directory and a Drive folder with conflict and deletion policies. - Use Case: A user asks to import a local Excel file as a Base table into a specific folder, then add collaborators; the Skill routes to drive +import --type bitable followed by drive +member-add. ## Quick Start Ask the AI to upload a local file to your Lark cloud drive or import a local Excel file as a bitable, providing the file path and target folder.

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 Base?▼

Use lark-cli drive +import --type bitable with the local file path. The .xlsx, .csv, and .base extensions map to bitable targets, and you can pass --folder-token for a destination folder or --target-token to append data into an existing Base.

How do I copy an online Lark document to another folder?▼

Use lark-cli drive files copy with the source file_token, target folder_token, new name, and the source type such as docx, sheet, or bitable. Do not export and re-import; the copy API is the supported path for creating document duplicates.

Can I add comments to Lark sheets, slides, or Base records?▼

Yes, via drive +add-comment with a type-specific --block-id: sheets use <sheetId>!<cell>, slides use <slide-block-type>!<xml-id>, and Base records use <table-id>!<record-id>!<view-id>. Only docx, doc, and whitelisted Drive files support full-text comments without a block id.

How do I handle a wiki URL when a Drive command needs a file token?▼

Run lark-cli drive +inspect --url with the wiki URL first. It unwraps the wiki node and returns the underlying type and canonical token, which you then pass as the file_token to download, comment, copy, or export commands.

Why does a batch import to the same folder fail with errors like 232140101?▼

These error codes indicate concurrent import or creation operations targeting the same location. Run drive +import tasks serially for the same folder or target token, wait a few seconds between retries, and stop after three failed retries.

What are the limits of drive +push and +pull directory sync?▼

They perform file-level mirroring only: online documents and shortcuts are skipped, empty remote directories are not cleaned up, and --local-dir must be a relative path inside the current working directory. Destructive options like --delete-remote or --delete-local require an explicit --yes flag.