mcpField
F
feishu-cli-storage

feishu-cli-storage

github.com/riba2534Documents1.4k135 installsUpdated 3w ago
Repository

About feishu-cli-storage

feishu-cli-storage is a skill for operating Feishu cloud storage. It routes file, Drive, wiki, comment, and permission tasks to focused workflows, with guidance on confirmations and token requirements.

Key features

  1. 01Intent-based workflow routing
  2. 02File and media operations
  3. 03Large files and async Drive jobs
  4. 04Wiki spaces and node management
  5. 05Comment and permission management

Use cases

  1. 01Upload or download files and media
  2. 02Search Drive or handle large files
  3. 03Export a wiki space recursively
  4. 04Adjust collaborators or public access

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/riba2534/feishu-cli --skill feishu-cli-storage

After installing, type/feishu-cli-storagein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

evals/
evals.json
references/workflows/comment/
workflow.md
references/workflows/drive/
workflow.md
references/workflows/file-media/
workflow.md
references/workflows/perm/
workflow.md
references/workflows/perm/references/
add_permission.md
references/workflows/wiki/
workflow.md

Details

From the project README

飞书云空间

加载工作流后,将其中 references/、scripts/、templates/、examples/ 相对路径按该 workflow.md 所在目录解析;执行脚本时使用解析后的实际路径,不要依赖当前 shell 目录。

路由

意图读取文件
大文件、断点续传、异步导入导出、镜像、Drive 搜索references/workflows/drive/workflow.md
基础 file CRUD、版本、元数据、素材上传下载references/workflows/file-media/workflow.md
wiki 空间、节点、成员、递归导出references/workflows/wiki/workflow.md
评论、回复、解决和取消解决references/workflows/comment/workflow.md
协作者、公开权限、密码、转移所有权references/workflows/perm/workflow.md

执行规则

  1. 基础文件操作优先 file/media;需要分块、resume、镜像或异步任务时使用 drive。
  2. 删除、移动、覆盖、转移所有权和删除知识空间属于高风险操作,先确认目标并使用命令提供的确认参数。
  3. 评论常需 User Token;perm 命令组仅 App 身份(无 user-token 参数),drive apply-permission 才需 User Token。以工作流和实际帮助为准。
  4. wiki node token 与普通 document/file token 不可混用。

Comments

Markdown supported