跳到正文
cccskills
免费在 GitHub 公开

feishu-fetch-doc

Retrieve Feishu document text as Markdown using a document link or identifying token. Resolve knowledge base links to the appropriate document type, and use a separate media tool to download embedded images, files, or whiteboards.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

获取飞书云文档内容。返回文档的 Markdown 内容,支持处理文档中的图片、文件和画板(需配合 feishu_doc_media 工具)。

查看安装方法

适用场景

  • Read a Feishu document from its link
  • Retrieve a document from a knowledge base
  • Get document text as Markdown
  • Download embedded images, files, or whiteboards

包含的文件(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

feishu_mcp_fetch_doc

获取飞书云文档的 Markdown 内容(Lark-flavored 格式)。

重要:图片、文件、画板的处理

文档中的图片、文件、画板需要通过 feishu_doc_media(action: download)工具单独获取!

识别格式

返回的 Markdown 中,媒体文件以 HTML 标签形式出现:

  • 图片:

    <image token="Z1FjxxxxxxxxxxxxxxxxxxxtnAc" width="1833" height="2491" align="center"/>
    
  • 文件:

    <view type="1">
      <file token="Z1FjxxxxxxxxxxxxxxxxxxxtnAc" name="skills.zip"/>
    </view>
    
  • 画板:

    <whiteboard token="Z1FjxxxxxxxxxxxxxxxxxxxtnAc"/>
    

获取步骤

  1. 从 HTML 标签中提取 token 属性值
  2. 调用 feishu_doc_media 下载:
    {
      "action": "download",
      "resource_token": "提取的token",
      "resource_type": "media",
      "output_path": "/path/to/save/file"
    }
    

参数

  • doc_id(必填):支持直接传文档 URL 或 token
    • 直接传 URL:https://xxx.feishu.cn/docx/Z1FjxxxxxxxxxxxxxxxxxxxtnAc(系统自动提取 token)
    • 直接传 token:Z1FjxxxxxxxxxxxxxxxxxxxtnAc
    • 知识库 URL/token 也支持:https://xxx.feishu.cn/wiki/Z1FjxxxxxxxxxxxxxxxxxxxtnAc 或 Z1FjxxxxxxxxxxxxxxxxxxxtnAc

Wiki URL 处理策略

知识库链接(/wiki/TOKEN)背后可能是云文档、电子表格、多维表格等不同类型的文档。当不确定类型时, 不能直接假设是云文档,必须先查询实际类型。

处理流程

  1. 先调用 feishu_wiki_space_node(action: get)解析 wiki token:
    { "action": "get", "token": "wiki_token_here" }
    
  2. 从返回的 node 中获取 obj_type(实际文档类型)和 obj_token(实际文档 token)
  3. 根据 obj_type 调用对应工具:
obj_type工具传参
docxfeishu_mcp_fetch_docdoc_id = obj_token
sheetfeishu_sheetspreadsheet_token = obj_token
bitablefeishu_bitable_* 系列app_token = obj_token
其他告知用户暂不支持该类型—

示例

用户:帮我看下这个文档 https://xxx.feishu.cn/wiki/ABC123

  1. 调用 feishu_wiki_space_node(action: get, token: ABC123)
  2. 返回 obj_type: "docx", obj_token: "doxcnXYZ789"
  3. 调用 feishu_mcp_fetch_doc(doc_id: doxcnXYZ789)

工具组合

需求工具
获取文档文本feishu_mcp_fetch_doc
下载图片/文件/画板feishu_doc_media(action: download)
解析 wiki token 类型feishu_wiki_space_node(action: get)
读写电子表格feishu_sheet
操作多维表格feishu_bitable_* 系列

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

clawhub

免费

Use the ClawHub command-line tool to find and install agent skills, update them to the latest or a specified version, list installed skills, and publish skill folders with version numbers and change notes.

中文简介正在准备中。当前显示英语简介。

  • Find and install a skill for a task
  • Install or update a skill to a specific version
  • Update all installed skills
nexu-io/nexu32832026年4月26日 更新

Delegate feature development, code refactoring, and pull request reviews to Codex, Claude Code, Pi, or OpenCode. It guides background execution, progress monitoring, and parallel work in separate working directories.

中文简介正在准备中。当前显示英语简介。

  • Delegating new feature or app development
  • Reviewing pull requests in a separate working directory
  • Refactoring a large codebase
nexu-io/nexu32832026年4月26日 更新

datadog

免费

Investigate Nexu production issues through the Datadog Logs API. Search crash events, error output, startup activity, and API failures, then summarize findings by time, running instance, and deployed version to help trace related events.

中文简介正在准备中。当前显示英语简介。

  • Investigate OpenClaw crashes
  • Compare crash timing with deployments
  • Trace Slack authentication errors
nexu-io/nexu32832026年4月26日 更新

Turn a broad research topic into a structured report with traceable sources. The workflow defines questions, prioritizes authoritative material, separates facts from assumptions, compares evidence, and uses an independent agent to check key data and reasoning.

中文简介正在准备中。当前显示英语简介。

  • Comparing products or technical concepts
  • Weighing costs and risks before a decision
  • Investigating trends and their underlying drivers
nexu-io/nexu32832026年4月26日 更新

feedback

免费

Send bug reports, suggestions, or other feedback to the Nexu team using `/feedback`. The submission script automatically includes conversation history and images, then reports whether the feedback was successfully forwarded.

中文简介正在准备中。当前显示英语简介。

  • Reporting a Nexu platform issue
  • Suggesting improvements to Nexu
  • Sharing feedback with conversation history and images
nexu-io/nexu32832026年4月26日 更新

Create and manage Feishu Bitable tables for work such as customer tracking. Add, search, update, or delete records, configure columns using 27 field types, filter and sort data, and manage views or batch imports.

中文简介正在准备中。当前显示英语简介。

  • Create a customer management table
  • Find records marked as in progress
  • Import customer data in batches
nexu-io/nexu32832026年4月26日 更新

查看 nexu-io 的全部技能

报告此技能的问题