MCPInstall

yuque-lakebook-export-cn

当用户需要将语雀或 .lakebook 内容导出为本地 Markdown,用于 Obsidian 迁移或整理时使用。

Installs
45
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/yangsonhung/awesome-agent-skills --skill yuque-lakebook-export-cn
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads yuque-lakebook-export-cn automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

语雀 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 sync 或 uv run python scripts/cli.py ... 前,必须先切换到当前已安装 skill 的工具目录,也就是包含本 SKILL.md、pyproject.toml、uv.lock 和 scripts/ 的那个目录。不要在 .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。

FAQ

What does the yuque-lakebook-export-cn skill do?

当用户需要将语雀或 .lakebook 内容导出为本地 Markdown,用于 Obsidian 迁移或整理时使用。

How do I install yuque-lakebook-export-cn?

Run npx skills add https://github.com/yangsonhung/awesome-agent-skills --skill yuque-lakebook-export-cn in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/yuque-lakebook-export-cn/ (personal) or .claude/skills/yuque-lakebook-export-cn/ (project).

Which AI agents can use yuque-lakebook-export-cn?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is yuque-lakebook-export-cn safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains yuque-lakebook-export-cn?

It is published by yangsonhung in yangsonhung/awesome-agent-skills. It has 45 recorded installs.

More from yangsonhung/awesome-agent-skills

View all →

novel-writer-cn

yangsonhung/awesome-agent-skills

当用户需要创作、续写、修改小说,或设计角色和世界观时使用。

Docs & Writing2.3K installs

novel-writer

yangsonhung/awesome-agent-skills

Use when writing, continuing, revising, or planning novels, characters, and fictional worlds.

Docs & Writing605 installs

topic-bookmarks-reorganizer-cn

yangsonhung/awesome-agent-skills

当用户需要按主题整理浏览器书签导出、URL 去重并生成可导入 HTML 时使用。

mac-software-storage-cleanup

yangsonhung/awesome-agent-skills

Use when auditing macOS app storage, cleaning priority caches, or recommending reclaimable disk space.

AI & Agents68 installs

conversation-json-to-md

yangsonhung/awesome-agent-skills

Use when converting chat export JSON into per-conversation Markdown files with preserved user-assistant Q/A and normalized headings.

AI & Agents64 installs

topic-bookmarks-reorganizer

yangsonhung/awesome-agent-skills

Use when reorganizing a browser bookmarks export by topic, deduplicating URLs, and producing an importable HTML file.

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs