feishu-doc-reader
Read and extract content from Feishu (Lark) documents using the official Feishu Open API
Why use this skill?
Seamlessly extract, read, and analyze content from Feishu (Lark) documents, sheets, and slides directly into your OpenClaw agent workflow.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/snowshadow/feishu-doc-readerWhat This Skill Does
The feishu-doc-reader skill provides a robust bridge between the OpenClaw agent and your Feishu (Lark) ecosystem. By leveraging the official Feishu Open API, this skill enables the autonomous agent to traverse, read, and extract content from various document formats, including modern docx files, legacy docs, spreadsheets, and slides. It translates the hierarchical, block-based structure of Feishu documents into clean, machine-readable JSON, allowing the AI to understand the relationship between text, tables, images, and nested elements.
Installation
To install the skill, run the command: clawhub install openclaw/skills/skills/snowshadow/feishu-doc-reader from your terminal. After installation, perform the following setup steps:
- Navigate to
./reference/and create afeishu_config.jsonfile containing your Feishuapp_idandapp_secret. - Ensure the scripts are executable by running
chmod +x scripts/read_doc.shandchmod +x scripts/get_blocks.sh. - Secure your configuration file by applying restrictive permissions (
chmod 600) to prevent unauthorized access to your credentials.
Use Cases
- Automated Documentation Parsing: Feed technical documentation or product requirements from Feishu directly into the agent for summary or Q&A.
- Data Analysis: Extract complex table structures from Feishu Sheets to perform trend analysis or data visualization within the agent's context.
- Content Migration: Transform existing internal knowledge bases into different formats or populate new databases by reading existing docx hierarchies.
- Meeting Follow-up: Extract meeting notes and action items from Feishu docs to sync them with project management tools.
Example Prompts
- "OpenClaw, read the Feishu document at https://example.feishu.cn/docx/DOC_TOKEN and provide a three-bullet point summary of the action items listed under the 'Q4 Planning' heading."
- "Extract all the table data from the sheet associated with the Feishu doc token docx_AbCdEfGhIjKlMnOpQrStUv and convert it into a CSV format for my local analysis."
- "Get the full block hierarchy of the document with token docx_AbCdEfGhIjKlMnOpQrStUv and identify any references to 'Budget' across the entire document structure."
Tips & Limitations
- Structure Sensitivity: Because Feishu documents are block-based, ensure you are using the
get_blocks.shscript if you need deep nesting or parent-child context. - Permissions: Ensure your Feishu app has the necessary read-only permissions in the Feishu Developer Console for the specific documents or spaces you intend to access.
- Security: Never commit your
feishu_config.jsonfile to Git; use environment variables or encrypted secrets management where possible to protect your API credentials. - Slides: Currently, slide extraction is limited to metadata; complex embedded media may require additional API permissions or specific handling within the script.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-snowshadow-feishu-doc-reader": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, external-api, code-execution