Feishu File

Feishu File Skill

kernel8901 e772707 10 files · 35.0 KB Updated

File contents

Feishu File Skill

Manage file uploads and downloads via Feishu API.

Commands

Send File

Upload a local file and send it to a chat or user.

node skills/feishu-file/send.js --target <chat_id_or_user_id> --file <local_path>

Download File

Download a file resource from a message.

node skills/feishu-file/download.js --message-id <msg_id> --file-key <file_key> --output <local_path>

Note: The bot must have access to the message (be in the chat). For files sent by others, the im:resource:read scope is required.

kernel8901/ai-agent-skills-classification/tree/main/网页与前端开发/feishu-file commit e772707540

Frequently asked questions

npx skillmds@latest add kernel8901/feishu-file