lark-drive
飞书云空间:管理云空间中的文件和文件夹。上传和下载文件、创建文件夹、复制/移动/删除文件、查看文件元数据、管理文档评论、管理文档权限、订阅用户评论变更事件。当用户需要上传或下载文件、整理云空间目录、查看文件详情、管理评论、管理文档权限、订阅用户评论变更事件时使用。
Security Assessment
About lark-drive
The lark-drive skill provides comprehensive management of files and folders within the Feishu cloud environment. It enables users to upload and download files, create folders, copy, move, or delete files, and access detailed metadata for documents. Additionally, it supports managing document comments, controlling document permissions, and subscribing to user comment change events. This skill addresses the challenge of efficiently organizing cloud-based content and collaborating on documents by offering streamlined access to various document types and their associated tokens required for secure operations.
Key features include handling multiple document types such as new and old cloud documents (docx and doc), spreadsheets, slides, multi-dimensional tables, and generic files. It also provides specialized handling for wiki links, ensuring that tokens are correctly resolved to access the actual document objects. Users can add full or partial comments on supported documents, list comments, and manage permissions. The skill integrates with the lark-cli tool to execute commands for these operations, supporting scenarios like downloading or uploading files directly from cloud URLs and resolving complex wiki node structures to their corresponding tokens for further actions.
lark-drive is ideal for teams and individuals who need to manage content in Feishu's cloud environment efficiently. Common use cases include uploading files to specific folders, downloading documents for offline use, organizing cloud directories, adding and tracking comments on collaborative documents, and monitoring user-generated changes in real-time. Target users include project managers, document administrators, and knowledge workers who rely on cloud-based document management and collaboration within the Feishu ecosystem.
FAQ
Which document types are supported by lark-drive?
lark-drive supports new cloud documents (docx), old cloud documents (doc), spreadsheets (sheet), slides, multi-dimensional tables (bitable), mind maps, and general files. Wiki links are resolved to their underlying document types for proper handling.
How are tokens handled for accessing documents?
Different document types require specific tokens. File URLs generally provide file_token directly, whereas wiki URLs require querying the wiki node to obtain the real obj_token. This ensures secure access to the underlying document or resource.
Can I add comments to any document type?
No, adding partial comments is only supported for docx files and wiki links that resolve to docx. Full comments can be added to docx, doc, and resolved wiki documents. Other types do not support the comment feature through this skill.
What CLI tool is required to use lark-drive?
lark-drive requires the lark-cli tool to execute commands for file and folder operations, token resolution, and comment management.
Are there any limitations when uploading files?
Files can be uploaded to folders using folder_token or to wiki nodes using the resolved wiki_node_token. Proper token resolution is required to ensure the file is uploaded to the correct location.
All Files
9 filesInstall lark-drive
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
larksuite/cli