← Back to Skills Marketplace
Feishu Doc Exporter
by
Chaohua Xu
· GitHub ↗
· v1.0.0
549
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install feishu-doc-exporter
Description
Feishu Document Exporter - Batch export Feishu docs to markdown/PDF
README (SKILL.md)
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:readdrive:folder:readdrive:file:read
Usage Guidance
This skill appears to do what it claims: export Feishu docs to markdown. Important notes before installing: (1) The skill delegates Feishu access by running 'openclaw tool call' for feishu_doc and feishu_drive — review those tools to confirm they are trusted and hold the expected Feishu credentials with only the listed read scopes. (2) The JS entrypoint uses execSync (shell execution) to invoke the OpenClaw CLI; ensure the OpenClaw CLI on your system is legitimate and not replaced. (3) The skill will write files to the output path you provide — run it first on a small test folder and in an isolated environment if you are cautious. (4) Verify you are comfortable with the Feishu app permissions (doc:document:read, drive:folder:read, drive:file:read). If you need higher assurance, inspect the implementations of the feishu_doc and feishu_drive tools and confirm where and how API tokens are stored/used.
Capability Analysis
Type: OpenClaw Skill
Name: feishu-doc-exporter
Version: 1.0.0
The feishu-doc-exporter skill is a legitimate tool designed to batch export Feishu documents to Markdown or PDF. It functions by invoking OpenClaw's internal tools (feishu_doc and feishu_drive) via shell commands in index.js, using proper escaping techniques to prevent shell injection. The code includes basic path sanitization for filenames and follows its stated purpose without any evidence of data exfiltration, credential theft, or malicious instructions.
Capability Assessment
Purpose & Capability
Name, description, README, SKILL.md and index.js all align: the tool lists/reads Feishu docs and writes markdown files. The SKILL.md's stated required Feishu API permissions (doc/drive read scopes) match the declared purpose. The implementation delegates Feishu access to 'openclaw tool call' for feishu_doc and feishu_drive, which is a reasonable design choice for an OpenClaw skill.
Instruction Scope
SKILL.md usage examples are narrowly scoped to export/list commands. The runtime code executes shell commands via child_process.execSync to call 'openclaw tool call' — this is expected for delegating to other OpenClaw tools, but it means the skill relies on those external tools' behavior. The SKILL.md does not explicitly state this delegation, so reviewers should be aware that runtime calls go through the OpenClaw CLI.
Install Mechanism
There is no install spec; the package includes source files and a package.json (commander dependency). Nothing in the skill attempts to download or extract remote archives or install arbitrary binaries during install.
Credentials
The skill requests no environment variables itself, and SKILL.md lists the Feishu API scopes that are needed. In practice the skill delegates API access to feishu_doc and feishu_drive OpenClaw tools, so credentials and tokens will be managed by those tools rather than by this skill. This is proportionate but reviewers should verify the other tools' credential handling and scope.
Persistence & Privilege
The skill is not always-enabled, is user-invocable, and does not attempt to modify agent configuration or persist auth outside its normal operation. It writes exported files to the user-specified output directory only.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install feishu-doc-exporter - After installation, invoke the skill by name or use
/feishu-doc-exporter - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Feishu Document Exporter.
- Batch export Feishu documents to markdown or PDF.
- Supports exporting entire folders with nested hierarchy.
- Preserves document structure, formatting, and images.
- Generates table of contents and supports incremental export.
- Provides commands to export or list documents via CLI.
- Requires Feishu API permissions for reading documents and folders.
Metadata
Frequently Asked Questions
What is Feishu Doc Exporter?
Feishu Document Exporter - Batch export Feishu docs to markdown/PDF. It is an AI Agent Skill for Claude Code / OpenClaw, with 549 downloads so far.
How do I install Feishu Doc Exporter?
Run "/install feishu-doc-exporter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Feishu Doc Exporter free?
Yes, Feishu Doc Exporter is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Feishu Doc Exporter support?
Feishu Doc Exporter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Feishu Doc Exporter?
It is built and maintained by Chaohua Xu (@night556); the current version is v1.0.0.
More Skills