convert-lakebook

convert-lakebook is a skill for Claude Code from anneheartrecord/charles-skill. It costs 50 tokens per session (608 once invoked), scanned A, original, MIT.

A converter that turns Yuque .lakebook export files into separate Markdown documents. Yuque is a document and knowledge-base service, and a .lakebook file is one of its export formats.

In plain words
What is it for?
Use it to unpack a .lakebook archive, convert its documents, preserve document metadata and ordering, and create an index of the results.
Why use it?
It makes exported Yuque content easier to read, edit, search, and manage as ordinary Markdown files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the content-knowledge plugin — 5 skills shipped together

Good fit Use it to unpack a .lakebook archive, convert its documents, preserve document metadata and ordering, and create an index of the results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anneheartrecord/charles-skill/lakebook-converter
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 anneheartrecord/charles-skill --skill lakebook-converter
Clone the repo
git clone --depth 1 https://github.com/anneheartrecord/charles-skill

Made for: Claude Code.

Or install content-knowledge, the plugin that ships this one along with the rest of its 5 skills.

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 convert-lakebook

README.md
[![agentmods](https://agentmods.dev/badge/skills/anneheartrecord/charles-skill/lakebook-converter/github.svg)](https://agentmods.dev/skills/anneheartrecord/charles-skill/lakebook-converter)
Your own site
<a href="https://agentmods.dev/skills/anneheartrecord/charles-skill/lakebook-converter"><img src="https://agentmods.dev/badge/skills/anneheartrecord/charles-skill/lakebook-converter/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 convert-lakebook

Your own site · 80×15
<a href="https://agentmods.dev/skills/anneheartrecord/charles-skill/lakebook-converter"><img src="https://agentmods.dev/badge/skills/anneheartrecord/charles-skill/lakebook-converter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 608 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.00050 $0.00608
Opus 5 $0.00025 $0.00304
Sonnet 5 $0.00010 $0.00122
Haiku 4.5 $0.00005 $0.00061

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

Security

Grade A, and why

convert-lakebook 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 11d ago.

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/lakebook-converter/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

convert-lakebook

Convert Yuque .lakebook export files to clean Markdown documents.

What This Skill Does

  1. Extracts the .lakebook tar archive
  2. Parses $meta.json for document metadata (titles, ordering, dates)
  3. Converts each document's HTML body to clean Markdown using html2text
  4. Outputs individual .md files named by document title
  5. Generates an _index.md with a table of all documents

Prerequisites

pip install beautifulsoup4 html2text

Usage

When the user provides a .lakebook file path, run the conversion script:

python3 ~/Desktop/lakebook-converter/convert.py "<lakebook_file_path>" --output "<output_dir>"

Parameters

  • <lakebook_file_path>: Path to the .lakebook file (required)
  • <output_dir>: Output directory for Markdown files (optional, defaults to ~/Desktop/lakebook-converter/output/)

Default Behavior

If the user just says /convert-lakebook with no arguments:

  1. Ask the user for the .lakebook file path
  2. Ask where they want the output (suggest ~/Desktop/lakebook-converter/output/)
  3. Run the conversion
  4. Report results: how many docs converted, where they are, and show the index

Example Invocations

/convert-lakebook ~/Desktop/export.lakebook
/convert-lakebook ~/Downloads/my-notes.lakebook --output ~/Documents/notes/

Output Format

Each document becomes a Markdown file:

# Document Title

[converted content...]

An _index.md file is generated with:

# Document Index

Total: N documents

| # | Title | Words | Created |
|---|-------|-------|---------|
| 1 | [Title](filename.md) | 1234 | 2024-01-01 |

Error Handling

  • If dependencies are missing, prompt the user to install them
  • If the file doesn't exist, report the error clearly
  • If some documents fail to convert, report them but continue with the rest

Post-Conversion Tips

After conversion, suggest the user can:

  1. Use /extract-memory <output_dir> to analyze their writing style
  2. Read specific documents with the Read tool
  3. Search across documents with Grep

Read the full file on GitHub · 96 lines

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. 11d ago First seen · 96 lines · 50 tokens per session scan A 4f7272cf5317

Subscribe to this mod's changes

convert-lakebook is a skill published in the GitHub repository anneheartrecord/charles-skill (3 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 608 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

compiler

Scans knowledge/, analyzes documents, generates summaries/concepts/connections to wiki/ with reference graph. Updates existing articles instead of creating duplicates.

Yrzhe/pagefly · 30 tokens

query

Interactive knowledge assistant via Telegram. Can read, create, and modify documents. Destructive actions require user approval.

Yrzhe/pagefly · 24 tokens

summarizer

A document-reading agent that produces structured summaries, with core points, key facts, possible connections, and source references.

Yrzhe/pagefly · 22 tokens

atomize

Ingest existing documents (markdown, plain text, Word .docx, PDF, interview transcripts, image screenshots) into typed company-brain nodes with provenance. Each ingested document lands as an immutable source node; extracted content becomes derived typed nodes linked via derivedfrom edges. Uses cb extract for binary…

nemock/company-brain · 110 tokens

doc-generate

Generate planning documents from a company-brain vault. Ships 21 generators: full MRD (markdown / html / docx) and one-pager (markdown / html); plus 19 scaffolds for PID, project-charter, stakeholder-register, risk-register, status-report, meeting-minutes, lessons-learned, business-plan, sales-battle-card…

nemock/company-brain · 154 tokens

potpie-source-ingestion

Use when the user explicitly asks to ingest, refresh, or deeply understand a repository, PR, issue, ticket, runbook, incident report, document, or web link into Potpie. The harness performs todo-driven discovery, uses local/GitHub/integration tools and read-only subagents when available, builds evidence-backed…

potpie-ai/potpie · 82 tokens