Feishu File Manager for Openclaw

A comprehensive automation tool for programmatically accessing, downloading, and parsing documents within the Feishu (Lark) ecosystem.

caspian9
v1.0.0
Mar 5, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install feishu-file-manager

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install feishu-file-manager using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Feishu File Manager?

The Feishu File Manager is a specialized skill designed to interface directly with the Feishu Open Platform. It enables users to interact with cloud-based files, including documents, spreadsheets, and presentations, via automated workflows. By integrating this capability through Openclaw Skills, developers can bridge the gap between their local environments and Feishu Drive, allowing for seamless document retrieval and content extraction.

This skill is particularly powerful for teams that rely on Feishu for collaboration but need to perform programmatic analysis on their data. It handles the complexities of authentication, file token extraction, and format-specific parsing, providing a clean text output or file stream for downstream processing.

Feishu File Manager Use Cases

  • Automatically extracting and summarizing content from Feishu DOCX and PDF reports.
  • Batch downloading files from shared Drive folders for local archiving or processing.
  • Integrating Feishu document data into AI-driven research and data analysis pipelines using Openclaw Skills.
  • Monitoring and reading updates from Feishu Wiki nodes and Bitable databases.

How Feishu File Manager Works

  1. Authentication: The skill uses stored App ID and App Secret to request a tenant_access_token from the Feishu auth API.
  2. URL Parsing: It identifies and extracts unique file tokens from provided Feishu document or folder links.
  3. File Acquisition: The skill calls the Feishu Drive API to download the binary content of the specified file.
  4. Content Transformation: Based on the file type (DOCX, PDF, PPTX, XLSX), it applies specific parsing logic to extract readable text.
  5. Output Generation: The extracted data is returned to the user or agent, ready for integration into broader Openclaw Skills tasks.

Feishu File Manager Setup

First, ensure your credentials are configured in ~/.openclaw/openclaw.json:

{
  "channels": {
    "feishu": {
      "appId": "cli_xxx",
      "appSecret": "xxx"
    }
  }
}

To generate a temporary access token for testing, use the following command:

curl -s -X POST 'https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal' \
  -H 'Content-Type: application/json' \
  -d '{"app_id": "your_app_id", "app_secret": "your_app_secret"}'

Ensure your Feishu Bot has been granted permissions for drive:file, docx:document:readonly, and sheets:spreadsheet:read in the Feishu Developer Console.

Feishu File Manager Data Schema & Taxonomy

The skill organizes data based on the source document type and uses specific libraries for extraction:

File Type Extraction Method Output Data
.docx Python unzip & XML parsing Raw text content
.pdf pdftotext utility Text stream
.pptx python-pptx library Slide-by-slide text
.xlsx openpyxl library Tabular data
Drive Metadata Drive API v1 File tokens, names, and sizes

Feishu File Manager Advanced Features

  • Support for multi-format document parsing including PowerPoint and Excel files.
  • Deep integration with Feishu Wiki and Bitable for structured data retrieval.
  • Intelligent file token extraction from various Feishu URL formats.
  • Robust error handling for expired tokens and permission-denied scenarios.
  • Seamless compatibility with other Openclaw Skills to create complex cross-platform automation workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*