yuque-lakebook-export
БесплатноЗапускает вложенные скриптыНе проверенUse when exporting Yuque or .lakebook content to local Markdown for Obsidian migration or cleanup.
от YangsonHung★ 18 звёзд на GitHubОб этом скилле
Yuque Lakebook Export
Overview
Convert Yuque knowledge bases, Yuque documents, or .lakebook files into local Markdown folders prepared for Obsidian. The workflow supports single or batch exports and cleanup for common migration issues such as missing images, cropped image mismatches, broken internal links, wrong folder hierarchy, and Markdown table rendering problems.
When to Use
Use this skill when the user asks for:
- Exporting one or more Yuque
.lakebookfiles - Converting a Yuque knowledge base into Markdown
- Migrating Yuque content into Obsidian
- Fixing Yuque export issues around images, cropped images, internal links, hierarchy, or tables
Do not use
Do not use this skill for:
- Generic Markdown editing that does not involve Yuque or
.lakebook - Website scraping tasks
- Export tasks that already come from a non-Yuque format
Instructions
- Prefer non-interactive execution so the agent can run deterministically.
- Before any non-interactive export, the agent must confirm the output root directory with the user. Do not choose an output directory on the user's behalf.
- If the user has not provided an output directory, ask a concise question and wait for the user's answer before running the export command.
- Prefer
uvconsistently. Do not create temporary.venvor similar task-local environments in the working directory. - Before running any
uvcommand, first check whetheruvis available in the environment. - If
uvis not installed or not available inPATH, the agent must ask the user for confirmation before installinguv. Do not install it silently. - Before running
uv syncoruv run python scripts/cli.py ..., the agent must first switch into the installed skill tool directory, meaning the directory that contains thisSKILL.md,pyproject.toml,uv.lock, andscripts/. Do not run these commands directly from the.lakebooksource directory, the output directory, or the user's current workspace root. - Use this entrypoint for agent execution:
uv run python scripts/cli.py
- Sync dependencies before first use:
uv sync
- Recommended command order:
cd /path/to/installed-skill-root
uv sync
uv run python scripts/cli.py ...
- Standard single-file execution:
uv run python scripts/cli.py -l "/path/to/your_file.lakebook" -o "/target/root"
- Standard batch execution:
uv run python scripts/cli.py -l "/path/to/your_file_1.lakebook" "/path/to/your_file_2.lakebook" -o "/target/root"
- Although
scripts/cli.pystill supports interactive terminal selection for manual human use, agents must not rely on interactive mode because they cannot reliably capture terminal interaction state. Always pass explicit-land-oarguments. - Do not manually create temporary virtual environments in the current working directory, the user's download directory, or any task directory; dependencies should be managed by
uvfrom the skill tool directory. - Some Yuque exports include
<!doctype lake>at the start of the document body; older implementations could render this as a straylake##prefix in Markdown. The current skill implementation already handles this case. - After export, verify:
.mdfiles exist- sibling
.assetsfolders exist - internal links are relative Markdown paths
- images render in Obsidian
- exported documents do not start with an erroneous
lake##prefix
- If export fails, inspect the batch log written next to the input
.lakebookfiles.
For detailed behavior, troubleshooting, and output rules, read references/usage.md.
Установить yuque-lakebook-export в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл yuque-lakebook-export?
Use when exporting Yuque or .lakebook content to local Markdown for Obsidian migration or cleanup.
Как установить скилл yuque-lakebook-export?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл yuque-lakebook-export запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic