yuque-lakebook-export-cn

yuque-lakebook-export-cn is a skill for Claude Code, Codex from YangsonHung/awesome-agent-skills. It costs 38 tokens per session (965 once invoked), scanned A, original, MIT.

A skill for exporting Yuque knowledge bases, documents, or .lakebook files into local Markdown folders, especially for moving content to Obsidian. Yuque is a Chinese knowledge-management service, and Obsidian is a local Markdown note-taking app.

In plain words
What is it for?
Use it to export one or many Yuque or .lakebook files, migrate Yuque content to Obsidian, and repair export issues.
Why use it?
It addresses common migration problems such as missing images, broken internal links, incorrect folder levels, and badly rendered tables.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to export one or many Yuque or .lakebook files, migrate Yuque content to Obsidian, and repair export issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yangsonhung/awesome-agent-skills/yuque-lakebook-export-cn
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add YangsonHung/awesome-agent-skills --skill yuque-lakebook-export-cn
Clone the repo
git clone --depth 1 https://github.com/YangsonHung/awesome-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for yuque-lakebook-export-cn

README.md
[![agentmods](https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/yuque-lakebook-export-cn/github.svg)](https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/yuque-lakebook-export-cn)
Your own site
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/yuque-lakebook-export-cn"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/yuque-lakebook-export-cn/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for yuque-lakebook-export-cn

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/yuque-lakebook-export-cn"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/yuque-lakebook-export-cn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 965 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00965
Opus 5 $0.00019 $0.00483
Sonnet 5 $0.00008 $0.00193
Haiku 4.5 $0.00004 $0.00097

Measured 12d ago against content hash acb5d3909bb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

yuque-lakebook-export-cn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/cli.py, scripts/yuque_lakebook_export/__init__.py, scripts/yuque_lakebook_export/lake_handle.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/zh-cn/yuque-lakebook-export-cn/SKILL.md · 84 lines

What it actually says

语雀 Lakebook 导出

Overview

将语雀知识库、语雀文档或 .lakebook 文件导出并转换为本地 Markdown 目录,优先适配 Obsidian 使用。流程支持单个或批量导出,并处理常见迁移问题,如图片缺失、裁剪图不匹配、内部链接损坏、目录层级错误和 Markdown 表格渲染异常。

何时使用

当用户需要以下能力时使用本技能:

  • 导出一个或多个语雀 .lakebook
  • 将语雀知识库转换为 Markdown
  • 将语雀内容迁移到 Obsidian
  • 修复语雀导出后的图片、裁剪图、内部链接、目录层级、表格渲染问题

不要使用

不要将本技能用于:

  • 与语雀或 .lakebook 无关的普通 Markdown 编辑
  • 网页抓取任务
  • 非语雀来源的导出转换任务

使用说明

  1. 优先使用非交互模式,便于 Agent 稳定执行。
  2. Agent 在执行任何非交互导出前,必须先向用户确认输出根目录,不能自行决定输出目录。
  3. 如果用户还没有明确给出输出目录,就先用一句简短问题询问,等用户答复后再执行导出。
  4. 统一优先使用 uv,不要在任务目录里临时创建 .venv.yuque-export-venv 这类环境。
  5. 在执行任何 uv 命令前,先检查当前环境是否可用 uv
  6. 如果 uv 未安装,或者不在 PATH 中,Agent 必须先征求用户确认是否安装 uv,不能直接静默安装。
  7. 在执行 uv syncuv run python scripts/cli.py ... 前,必须先切换到当前已安装 skill 的工具目录,也就是包含本 SKILL.mdpyproject.tomluv.lockscripts/ 的那个目录。不要在 .lakebook 所在目录、目标输出目录、或用户当前工作区根目录直接执行这些命令。
  8. Agent 执行时使用下面这个入口:
uv run python scripts/cli.py
  1. 首次使用前同步依赖:
uv sync
  1. 推荐执行顺序:
cd /path/to/installed-skill-root
uv sync
uv run python scripts/cli.py ...
  1. 单文件执行:
uv run python scripts/cli.py -l "/path/to/your_file.lakebook" -o "/target/root"
  1. 批量执行:
uv run python scripts/cli.py -l "/path/to/your_file_1.lakebook" "/path/to/your_file_2.lakebook" -o "/target/root"
  1. 虽然 scripts/cli.py 仍然保留了给人类终端手工使用的交互选择能力,但 Agent 不应依赖交互模式,因为无法稳定获取终端交互状态。执行时始终显式传入 -l-o 参数。
  2. 不要在当前工作目录、用户下载目录、或任意任务目录里手动创建临时虚拟环境;依赖应由 skill 工具目录中的 uv 环境统一管理。
  3. 已知有些语雀导出的文档正文会包含 <!doctype lake>,旧实现可能导出成 lake## 标题;当前技能内置实现已经处理这个问题。
  4. 导出完成后检查:
  • .md 文件是否生成
  • 同名 .assets 目录是否生成
  • 内部链接是否转为相对 Markdown 路径
  • 图片是否能在 Obsidian 中正常显示
  • 文档首行是否存在异常的 lake## 前缀
  1. 如果导出失败,优先查看输入 .lakebook 同目录下生成的批量日志。

详细行为、输出规则和排查说明见 references/usage.md

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 84 lines · 38 tokens per session scan A acb5d3909bb5

Subscribe to this mod's changes

yuque-lakebook-export-cn is a skill published in the GitHub repository YangsonHung/awesome-agent-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 965 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

pydicom

Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 56 tokens

treatment-plans

Format and structurally validate local treatment-plan documentation after clinical decisions have already been supplied and verified by authorized licensed professionals. Use for source traceability, clinician-authored intervention records, goals and checkpoints, shared-decision records, reconciliation handoffs, and…

K-Dense-AI/scientific-agent-skills · 62 tokens

venue-templates

Prepare journal manuscripts, conference papers, research posters, and grant documents using venue-specific formatting guidance and bundled LaTeX scaffolds. Use when selecting an official template, checking current page or anonymity rules, adapting academic writing to a venue, or inspecting a submission PDF.

K-Dense-AI/scientific-agent-skills · 57 tokens

xlsx

Create, edit, analyze, or convert Excel spreadsheets (.xlsx, .xlsm, .xltx) where the workbook file is the primary deliverable. Use for formulas, formatting, financial models, multi-sheet workbooks, and tabular cleanup exported to Excel. Also applies to .csv/.tsv when the user wants spreadsheet output. Do NOT use for…

K-Dense-AI/scientific-agent-skills · 94 tokens

outline

Search, read, and manage Outline wiki documents. Use when: (1) searching wiki for documentation, (2) reading wiki pages or articles, (3) listing wiki collections or documents, (4) creating or updating wiki content, (5) exporting documents as markdown. Works with any Outline wiki instance (self-hosted or cloud).

sanjay3290/ai-skills · 71 tokens