lark-drive

Manage Lark Drive files, folders, permissions, comments, versions, and document imports via lark-cli.

2|Updated Aug 9, 2026
One-click install
npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill lark-drive-deepjh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-drive
Source: https://github.com/DeepJH/doubao-skill-and-info/tree/main/skills/lark-drive
Command: npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill lark-drive-deepjh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Managing Feishu/Lark cloud drive resources through raw APIs is error-prone: wiki tokens must be unwrapped, imports conflict when run concurrently, and high-risk operations like deletes or permission changes need strict confirmation gates. This Skill provides a structured command layer over lark-cli that routes URLs and tokens to the correct Drive operations safely. ## Core Features & Use Cases - File & Folder Operations: Upload, download, move, copy, delete, create folders and shortcuts, and sync local directories with Drive folders using shortcuts like +upload, +move, +sync, and +push. - Import & Export: Convert local Word, Markdown, Excel, CSV, PPTX, and .base files into online docx, sheet, bitable, or slides documents, and export cloud documents to PDF, XLSX, CSV, Markdown, or PPTX. - Comments, Permissions & Governance: Add and manage comments and replies, query permission settings, add collaborators, apply for access, and set secure labels on documents. - Use Case: A user provides a wiki URL and asks to copy the document into a specific folder; the Skill inspects the URL to resolve the real token and type, then runs drive files copy with the correct parameters. ## Quick Start Ask the assistant to inspect a Feishu document URL and list the files in a target Drive folder 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 Base (bitable)?

Use lark-cli drive +import --type bitable with the local file path. The .xlsx and .csv extensions map to bitable targets, and you can pass --folder-token or --target-token to control the destination. Run batch imports to the same location serially to avoid concurrency conflicts.

How do I resolve a Feishu wiki URL to its real document token?

Run lark-cli drive +inspect --url with the wiki URL. It unwraps the wiki node and returns the underlying type, title, canonical token, and URL, which you then use for comments, export, copy, or download operations.

Can I copy an online Lark document to another folder?

Yes, 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 as a workaround; copy is the supported way to create document duplicates.

Why does a batch drive import fail with errors like 232140101?

These error codes indicate concurrent import or creation operations targeting the same folder or root directory. Switch to serial execution, wait a few seconds before each retry, and retry each failed item at most three times before reporting the conflict.

What file formats can be exported from Lark cloud documents?

docx exports to docx, pdf, or markdown; sheet exports to xlsx or csv; bitable exports to xlsx, csv, or .base snapshots; slides export to pptx or pdf. CSV export requires a --sub-id, and markdown export only works for docx.

When should I not use lark-drive for a document task?

Do not use it for editing document body content (use lark-doc), spreadsheet cell operations (lark-sheets), Base table records (lark-base), wiki node hierarchy management (lark-wiki), or native Markdown file patching (lark-markdown). lark-drive handles storage-level operations only.