lark-drive

Manage Lark Drive files, folders, comments, and permissions via OpenAPI.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/eatbreads/.agents --skill lark-drive-eatbreads
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-drive
Source: https://github.com/eatbreads/.agents/tree/main/skills/lark-drive
Command: npx skills add https://github.com/eatbreads/.agents --skill lark-drive-eatbreads

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a single, consistent interface to manage files and documents in Lark (Feishu) cloud Drive, removing friction when uploading, downloading, organizing, commenting, and adjusting permissions across different document types and URL token formats.

Core Features & Use Cases

  • Upload & Download: Upload local files to Drive and download files or exported artifacts to local storage.
  • Organize & Transfer: Create folders, copy, move, and delete files or folders, including handling async folder move tasks with polling.
  • Comments & Collaboration: Add full-document or selection-based comments, list and reply to comment threads, interpret comment card semantics for accurate counts, and subscribe/unsubscribe to comment events.
  • Token & Wiki Resolution: Resolve wiki nodes to real obj_tokens, handle different token types (file_token, folder_token, wiki_token), and enforce the correct API flows for doc/docx/sheet/bitable types.
  • Real-World Example: Use the Skill to export a docx as PDF, poll the export task until completion, download the exported file, and then add a review comment referencing a specific block.

Quick Start

Use the lark-cli drive +download shortcut to save a file from its Feishu URL to a local path.

Frequently Asked Questions about lark-drive

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

FAQPage Schema
How do I export a Lark document as a PDF and download it?

Exporting a Lark document involves triggering an export task, polling its asynchronous status until completion, and downloading the final PDF artifact to local storage.

How do I resolve a Lark wiki token to a real document token?

Resolving wiki tokens requires querying the wiki node to extract the underlying obj_token, ensuring the correct API flow is applied for doc, docx, sheet, or bitable document types.

Can I add selection-based comments to a specific block in a Lark document?

Yes, you can add selection-based comments referencing specific blocks in Lark documents, alongside querying, replying to threads, and interpreting comment card semantics for accurate counts.

How do I handle asynchronous folder move tasks in Lark Drive?

Moving folders in Lark Drive triggers an asynchronous task requiring polling. The system monitors task status and provides clear error semantics until the folder transfer finishes successfully.

Does the lark-cli shortcut support downloading files directly from a Feishu URL?

Yes, the lark-cli drive shortcut supports downloading files directly from a Feishu URL by resolving the token and saving the file to a specified local storage path.

How do I enforce permission scopes when managing Lark Drive file access?

Enforcing Lark Drive permissions involves applying correct API scopes and handling file, folder, and wiki tokens to ensure secure access control during file management operations.