lark-drive

Manage Feishu Drive files, folders, and comments via lark-cli commands.

641|104|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/loongclaw-ai/loongclaw --skill lark-drive-loongclaw-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-drive
Source: https://github.com/loongclaw-ai/loongclaw/tree/main/skills/larksuite-cli/lark-drive
Command: npx skills add https://github.com/loongclaw-ai/loongclaw --skill lark-drive-loongclaw-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates manual Feishu Drive interactions by orchestrating authentication-aware token resolution, permission handling, and file operations so agents can manage uploads, downloads, comments, exports, imports, and moves confidently without guessing API details.

Core Features & Use Cases

  • Token-aware operations: Explains how to resolve docx/doc/wiki tokens, enforces reading lark-shared for credentials, and clarifies when to use file_token, folder_token, or obj_token for each shortcut.
  • Drive management shortcuts: Centralizes upload/download/export/import/move/comment commands, decodes ready/timed_out states, and references the required scopes for each API method and async task polling flow.
  • Comment and permission guidance: Details adding/listing/replying to comments, highlights full-document versus local comment limits, outlines restrictions on solved or whole comments, and points to permission.members scopes plus event subscriptions.

Quick Start

Request the assistant to open Feishu Drive, resolve the correct token, and perform the desired download or upload.

Frequently Asked Questions about lark-drive

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

FAQPage Schema
How do I upload and download Feishu Drive files through CLI?

Feishu Drive file uploads and downloads are handled through lark-cli commands that manage file operations, requiring correct token resolution and permission scope awareness before executing the transfer.

What is the difference between file_token, folder_token, and obj_token in Feishu Drive?

Feishu Drive tokens identify specific resources: file_token targets individual files, folder_token targets directories, and obj_token handles wiki or docx objects, with each CLI shortcut requiring the correct token type.

How do I resolve authentication tokens for Feishu Drive document automation?

Token resolution for Feishu Drive document automation requires reading lark-shared for credentials and decoding the correct docx, doc, or wiki tokens before executing any file management commands.

Can I track and reply to Feishu Drive document comments via command line?

Feishu Drive document comments can be added, listed, and replied to via CLI, with constraints on solved or whole comments and limits distinguishing full-document versus local comment interactions.

How do I handle asynchronous task polling for Feishu Drive exports and imports?

Asynchronous task polling for Feishu Drive exports and imports involves decoding ready and timed_out states, ensuring the required API method scopes are satisfied during the lark-cli execution flow.

What are the limitations when moving Feishu Drive folders using CLI shortcuts?

Moving Feishu Drive folders via CLI shortcuts requires permission scope awareness and correct token resolution, with dependencies on the lark-cli executable and proper handling of async task states.