← 返回 Skills 市场
sh1-5

语雀知识库导出

作者 拾伍 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
209
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install yuque-export
功能描述
将语雀知识库的所有文档导出为本地 Markdown 文件,保留目录结构。需要 Chrome DevTools MCP。
安全使用建议
This skill operates inside a connected Chrome DevTools MCP browser session and will run scripts and fetch requests using your logged-in Yuque session (cookies). That behavior is required to export private docs, but it means the skill has access to whatever the current browser profile can access. Before using: 1) only run with a browser/profile you trust and that is logged in to Yuque; 2) close or avoid having other sensitive sites open in that profile while the MCP session is used; 3) confirm the skill will only fetch yuque.com endpoints (SKILL.md indicates it targets Yuque APIs); and 4) if you have doubts, ask the publisher for the source or a code review — because this is instruction-only from an unknown source, exercise caution. If you want maximum safety, perform the export using a dedicated browser profile or session created solely for this task.
功能分析
Type: OpenClaw Skill Name: yuque-export Version: 1.0.1 The skill is a legitimate utility designed to export Yuque knowledge bases to local Markdown files. It utilizes Chrome DevTools MCP to leverage the user's existing browser session for API access, injects a complex but transparent JavaScript parser (lakeToMarkdown) to convert Yuque's proprietary format, and uses standard Python/Bash commands to organize the directory structure and download images from Yuque's official CDN (cdn.nlark.com). All high-risk capabilities, such as local file writing and browser script execution, are strictly aligned with the stated purpose and lack any indicators of data exfiltration or malicious intent.
能力评估
Purpose & Capability
The skill's name and description (export Yuque repo to Markdown) match the runtime instructions: it drives a browser DevTools session, discovers book_id and catalog_nodes, fetches docs, converts HTML to Markdown, and preserves directory structure. It does not request unrelated binaries, env vars, or credentials.
Instruction Scope
Runtime instructions require navigating the user’s browser session, listing network requests, injecting a large client-side conversion function, and issuing fetch() calls with credentials: 'include' so the browser session cookies are used. This is necessary for the stated task but is a high-privilege operation: MCP will see network activity and the skill runs scripts inside the logged-in browser context. The SKILL.md shows care (avoids /api/v2/repos/) and limits API targets to Yuque endpoints, but the actions could access other network logs or pages in the same browser session if misused.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is downloaded or written by an installer. Lowest-risk install posture.
Credentials
No environment variables, credentials, or config paths are requested. The skill relies on an existing, logged-in browser session via Chrome DevTools MCP, which is proportional for exporting a user's Yuque content.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges or to modify other skills. It runs ad-hoc against the connected MCP session and does not ask to persist tokens or enable itself permanently.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install yuque-export
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /yuque-export 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
yuque-export 1.0.1 - 新增支持自动保留语雀知识库的目录层级结构,导出时按分组/文件夹生成对应本地文件夹。 - 新增 `--images` 参数:可批量下载 Markdown 里的图片到本地 `_assets/` 目录,图片链接同时替换为本地相对路径。 - 目录和文档树改为通过 `/api/catalog_nodes` 获取,准确反映原有的文件夹和分组层级。 - 默认输出目录更新为 `~/Downloads/yuque-export`,可通过 `--output` 自定义,导出方式更灵活。 - lakeToMarkdown 解析功能增强,支持更多 card 卡片类型、公式、附件、复选框、外部/嵌入文档等。 - 优化说明文档,明确各参数功能和注意事项。
v1.0.0
Initial release of yuque-export: Export all documents from a Yuque knowledge base as local Markdown files. - Exports all documents from a specified Yuque knowledge base using a logged-in browser session (via Chrome DevTools MCP), bypassing the need for Yuque API tokens. - Automatically converts Yuque’s proprietary lake HTML format to Markdown, preserving code blocks and images. - Supports batch download with configurable output directory (default: ~/Downloads/yuque-export; customizable via --output). - Includes a Python script for splitting the exported combined Markdown file into individual files, one per document. - Implements rate-limited concurrent requests to avoid server throttling. - Handles empty documents, and notes that images are linked (not downloaded). - Guides users through each step from authentication, data extraction, conversion, to local download and splitting.
元数据
Slug yuque-export
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

语雀知识库导出 是什么?

将语雀知识库的所有文档导出为本地 Markdown 文件,保留目录结构。需要 Chrome DevTools MCP。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 209 次。

如何安装 语雀知识库导出?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install yuque-export」即可一键安装,无需额外配置。

语雀知识库导出 是免费的吗?

是的,语雀知识库导出 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

语雀知识库导出 支持哪些平台?

语雀知识库导出 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 语雀知识库导出?

由 拾伍(@sh1-5)开发并维护,当前版本 v1.0.1。

💬 留言讨论