feishu-fetch-doc
获取飞书云文档内容。返回文档的 Markdown 内容,支持处理文档中的图片、文件和画板(需配合 feishu_doc_media 工具)。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chenfa188/openclaw-feishu-fetch-docWhat This Skill Does
The feishu-fetch-doc skill is a robust tool designed to bridge OpenClaw AI with Feishu (Lark) documentation systems. It allows the AI agent to fetch and parse the content of Feishu cloud documents into a readable Markdown format. Beyond simple text retrieval, this skill is engineered to handle the complexities of Feishu's proprietary content structure, specifically converting rich media elements like images, embedded files, and interactive whiteboards into distinct HTML tags containing unique resource tokens. This ensures that the AI can retain the context of complex documents even when they contain non-textual assets. By integrating with the feishu_doc_media utility, this skill empowers users to not only read documents but also programmatically extract and download specific media resources associated with them.
Installation
To add this skill to your OpenClaw environment, execute the following command in your terminal or OpenClaw interface:
clawhub install openclaw/skills/skills/chenfa188/openclaw-feishu-fetch-doc
Ensure that you have configured the necessary Feishu API permissions and provided the required environment variables for authentication before usage.
Use Cases
This skill is ideal for teams and developers who rely on Feishu for project management, technical documentation, and collaborative workflows. Common use cases include:
- Knowledge Management: Automatically summarizing long-form product requirement documents (PRDs) or internal wikis.
- Content Migration: Extracting structured content from Feishu Docs to be formatted for personal notes or external blogging platforms.
- Asset Management: Identifying and bulk-downloading attachments from collaborative meeting notes or documentation pages.
- Cross-Platform Integration: Converting Feishu-specific documentation layouts into standard Markdown for usage in GitHub repositories or documentation sites like Docusaurus.
Example Prompts
- "Please fetch the content of this document: https://xxx.feishu.cn/docx/Z1FjxxxxxxxxxxxxxxxxxxxtnAc and summarize the key takeaways for me."
- "I need to backup all images from this wiki page: https://xxx.feishu.cn/wiki/ABC123. Can you extract the images and save them to my local ./downloads folder?"
- "Check what kind of document is at this link https://xxx.feishu.cn/wiki/DEF456 and let me know if you can export its content for me."
Tips & Limitations
- Wiki Handling: When dealing with
/wiki/links, always remember that these are containers. The skill requires an intermediary step viafeishu_wiki_space_nodeto determine the underlying object type (e.g., docx vs. sheet) before attempting retrieval. - Media Extraction: The skill provides Markdown tags for media (e.g.,
<image token="...">). You must utilize thefeishu_doc_mediatool to actually download these items; the fetch tool itself does not store the files directly. - Authentication: Ensure your integration token or OAuth scope has read access to the specific document IDs you are targeting to avoid permission errors.
- Document Types: Currently, this skill is highly optimized for
docxdocuments. If you encounter asheetorbitable, you will need to utilize the respective specialized tools in the OpenClaw ecosystem to ensure the best performance.
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-chenfa188-openclaw-feishu-fetch-doc": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api
Related Skills
feishu-im-read
飞书 IM 消息读取工具使用指南,覆盖会话消息获取、话题回复读取、跨会话消息搜索、图片/文件资源下载。 **当以下情况时使用此 Skill**: (1) 需要获取群聊或单聊的历史消息 (2) 需要读取话题(thread)内的回复消息 (3) 需要跨会话搜索消息(按关键词、发送者、时间等条件) (4) 消息中包含图片、文件、音频、视频,需要下载 (5) 用户提到"聊天记录"、"消息"、"群里说了什么"、"话题回复"、"搜索消息"、"图片"、"文件下载" (6) 需要按时间范围过滤消息、分页获取更多消息
feishu-channel-rules
Lark/Feishu channel output rules. Always active in Lark conversations.
feishu-calendar
飞书日历与日程管理工具集。包含日历管理、日程管理、参会人管理、忙闲查询。
feishu-task
飞书任务管理工具,用于创建、查询、更新任务和清单。 **当以下情况时使用此 Skill**: (1) 需要创建、查询、更新、删除任务 (2) 需要创建、管理任务清单 (3) 需要查看任务列表或清单内的任务 (4) 用户提到"任务"、"待办"、"to-do"、"清单"、"task" (5) 需要设置任务负责人、关注人、截止时间
feishu-update-doc
更新飞书云文档。支持 7 种更新模式:追加、覆盖、定位替换、全文替换、前/后插入、删除。