lark-drive

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

Updated Jun 29, 2026
One-click install
npx skills add https://github.com/trungpr1990-coder/AMI-MAKEUP --skill lark-drive-trungpr1990-coder
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-drive
Source: https://github.com/trungpr1990-coder/AMI-MAKEUP/tree/main/.agents/skills/lark-drive
Command: npx skills add https://github.com/trungpr1990-coder/AMI-MAKEUP --skill lark-drive-trungpr1990-coder

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 requires navigating many distinct operations—uploading, downloading, copying, moving, importing local documents, handling comments, and governing permissions—each with different token types and API rules. This Skill routes every Drive task to the correct lark-cli command so agents avoid token misuse, wrong API calls, and unsafe write operations. ## Core Features & Use Cases - File & Folder Operations: Upload, download, copy, move, delete, create folders, and sync local directories with Drive folders via shortcuts like +upload, +pull, +push, and +sync. - Import & Export: Convert local Word, Markdown, Excel, CSV, PPTX, and .base files into online docx, sheet, bitable, or slides documents, and export online documents back to local formats. - Comments & Permissions: Add full-text or anchored comments to docx, sheet, slides, and Base records, manage collaborators, apply for access, and handle security-label and public-sharing errors. - Use Case: A user provides a wiki URL and asks to copy the document into another folder; the Skill first unpacks the wiki token with drive +inspect, then runs drive files copy with the correct file_token and target folder. ## Quick Start Ask the assistant to upload a local file to a Lark Drive folder or inspect a Lark document URL, 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 a Lark Base (bitable)?▼

Use lark-cli drive +import --type bitable with the local file path. The .xlsx, .csv, and .base extensions map to bitable imports, and only after the import finishes should table, field, or record operations switch to the lark-base skill.

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

Use lark-cli drive files copy with the source file_token, target folder_token, new name, and document type. Do not export and re-import; if the source is a wiki URL, resolve it first with drive +inspect to get the underlying token.

Can I add comments to a Lark spreadsheet or slides document?▼

Yes, drive +add-comment supports sheet and slides with anchored comments. Sheets use --block-id in the form <sheetId>!<cell>, slides use <slide-block-type>!<xml-id>, and Base records use <table-id>!<record-id>!<view-id>.

Why does a wiki URL fail when used directly as a file token?▼

Wiki tokens are node tokens, not underlying file tokens. Run lark-cli drive +inspect on the wiki URL to unpack the real obj_token and type before calling comment, download, or copy operations.

What are the limits of drive +push and +pull folder synchronization?▼

Both commands perform file-level mirroring only for type=file binaries; online documents and shortcuts are skipped, and empty or extra directories are not reconciled. Destructive options like --delete-remote or --delete-local require an explicit --yes flag.