360 Secure SkillHub
360 安全技能中心

Feishu Doc Exporter

这是一个飞书文档导出工具,通过命令行批量把飞书云文档导出为 Markdown 或 PDF,支持整个文件夹递归导出、保留文档结构与格式、将图片保存为本地文件、生成目录以及增量导出,需要飞书文档与云盘读取权限。

night556
night556
热度 77.61
最近更新 2026-05-18 12:16:26
分类:效率依赖:第三方 API / 读写文件应用场景:文件转换 / 工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add feishu-doc-exporter
Metadata
name
feishu-doc-exporter
description
Feishu Document Exporter - Batch export Feishu docs to markdown/PDF
metadata
{"openclaw":{"requires":{"bins":[]}}}

Feishu Document Exporter

Batch export Feishu documents to markdown or PDF format, features:

  • Batch export entire folders
  • Preserve document structure and formatting
  • Export images as local files
  • Support nested folder hierarchy
  • Generate table of contents
  • Support incremental export

Usage

# Export single document to markdown
openclaw feishu-doc-exporter export --url "https://example.com/docx/xxx" --format markdown --output ./export

# Export entire folder recursively
openclaw feishu-doc-exporter export --folder "folder_token" --format pdf --output ./export --recursive

# List all documents in a folder
openclaw feishu-doc-exporter list --folder "folder_token"

Configuration

Required Feishu API permissions:

  • doc:document:read
  • drive:folder:read
  • drive:file:read