remotion
Molio's builtin skill for MAKING a video from any source — wiki notes, articles, scripts, product info, or a brief — and…
PRIMARY skill for converting .pdf, .docx, .pptx, .xlsx, .doc, .ppt, .xls, images, and audio/video files (.mp3, .wav, .m4a, .mp4, .mov, etc.) to Markdown. Always prefer this over the docx/pdf/pptx/xlsx/paddleocr skills — docling uses GPU-accelerated OCR + layout detection + table
$ npx -y skills add zhuzhaoyun/Molio --skill docling --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/doclingContext preview
The summary Claude sees to decide when to auto-load this skill.
PRIMARY skill for converting .pdf, .docx, .pptx, .xlsx, .doc, .ppt, .xls, images, and audio/video files (.mp3, .wav, .m4a, .mp4, .mov, etc.) to Markdown. Always prefer this over the docx/pdf/pptx/xlsx/paddleocr skills — docling uses GPU-accelerated OCR + layout detection + table
name: docling
description: PRIMARY skill for converting .pdf, .docx, .pptx, .xlsx, .doc, .ppt, .xls, images, and audio/video files (.mp3, .wav, .m4a, .mp4, .mov, etc.) to Markdown. Always prefer this over the docx/pdf/pptx/xlsx/paddleocr skills — docling uses GPU-accelerated OCR + layout detection + table structure extraction for documents, and Whisper ASR for speech-to-text on audio/video. Also supports LaTeX and VTT subtitle files.
version: 1.2.0
metadata:
requires:
bins: ["docling"]
python: ">=3.10"CLI tool that uses AI models (layout detection, OCR, table extraction) to convert documents into clean, structured Markdown.
**Office**: PDF, DOCX, PPTX, XLSX **Images**: PNG, JPG, TIFF (with OCR) **Web**: HTML, Markdown **Data**: CSV **Academic**: LaTeX, XML (USPTO, JATS, METS) **Media**: Audio/video transcripts (VTT) **Other**: JSON (docling format), ASCIIDoc
| Scenario | Tool | |----------|------| | 📄 **PDF / DOCX / PPTX / XLSX on disk** | ✅ **docling** | | 🖼️ Images with text (OCR) | ✅ **docling** | | 📊 CSV / Markdown / HTML on disk | ✅ **docling** | | 🎤 Audio/video transcripts | ✅ **docling** | | 🌐 Public web page → markdown | ❌ Use `WebFetch` (no install needed) | | 🔒 Web page requiring login (WeChat, Zhihu, etc.) | ❌ Use `kimi-webbridge` or Chrome extension | | 🔍 Search for web pages | ❌ Use `WebSearch` |
**Scope boundary**: docling handles **files on disk**. Web content is out of scope — use the right tool for the job.
> **Molio 用户无需手动装 Python**:Molio 预下载 docling 时,若本机没有 Python ≥3.10,会自动准备一份独立的 Python 运行环境(国内源优先,约 22MB),全程零操作。下面的手动 `pip` 步骤仅作为**回退方案**(例如你在 Molio 之外单独使用 docling,或自动供给因特殊平台/网络失败时)。
# China users (recommended) — uses Tsinghua mirror, ~10x faster than default pip install docling -i https://pypi.tuna.tsinghua.edu.cn/simple # International users pip install docling
Verify:
docling --version
The first time you convert a PDF, docling downloads ~500MB of AI models (layout + table structure) to `~/.cache/huggingface/`. Subsequent runs reuse cached models and are much faster.
**For users in China**: set the HuggingFace mirror environment variable **before** first run, otherwise model download will timeout:
# Linux / macOS / Git Bash export HF_ENDPOINT=https://hf-mirror.com docling file.pdf --to md # Windows CMD set HF_ENDPOINT=https://hf-mirror.com docling file.pdf --to md # Windows PowerShell $env:HF_ENDPOINT="https://hf-mirror.com" docling file.pdf --to md
**Tip**: If you see connection timeout errors while downloading models, this is almost always the cause.
ASR (Whisper) models are **downloaded on demand** — only when you actually convert an audio/video file. Processing PDFs/images does **not** trigger a Whisper download, and vice versa.
First run is slow (downloading the model); subsequent runs are pure local inference, speed depends on CPU/GPU.
# Auto-detect format (PDF, DOCX, PPTX, XLSX, image) docling "path/to/file.pdf" --to md --output .molio/docling # Force a specific format when auto-detect fails docling "file.docx" --from docx --to md --output .molio/docling docling "slides.pptx" --from pptx --to md --output .molio/docling docling "report.xlsx" --from xlsx --to md --output .molio/docling
Output: creates a `.md` file in the specified output directory. **统一用 `.molio/docling` 作为输出目录**(Molio 工作区,文件树扫描会跳过,不污染 vault 根)。
# PDF with OCR (for scanned documents) docling "scanned.pdf" --ocr --to md --output .molio/docling # Use pypdfium2 backend (fallback when default parser fails) docling "problem.pdf" --pdf-backend pypdfium2 --to md --output .molio/docling # Force OCR even if text layer exists docling "mixed.pdf" --force-ocr --to md --output .molio/docling
docling "screenshot.png" --from image --to md --output .molio/docling docling "photo.jpg" --from image --ocr --to md --output .molio/docling
Uses Whisper ASR models to transcribe audio/video files into Markdown.
# Audio file (default whisper_tiny — fast, lower accuracy) docling "recording.mp3" --from audio --to md --output .molio/docling # Video file with a more accurate model docling "meeting.mp4" --from audio --pipeline asr --asr-model whisper_large --to md --output .molio/docling # Apple Silicon: use MLX variant for faster local inference docling "interview.m4a" --from audio --pipeline asr --asr-model whisper_medium_mlx --to md --output .molio/docling # Parse an existing VTT subtitle file (no ASR, text-only) docling "captions.vtt" --from vtt --to md --output .molio/docling
**Model size guide**:
| Model | Speed | Accuracy | Size | Use case | |-------|-------|----------|------|----------| | `whisper_tiny` (default) | ⚡ fastest | low | ~75MB | quick drafts, English-heavy | | `whisper_small` / `whisper_base` | fast | medium | ~250-400MB | general use | | `whisper_medium` | medium | good | ~1GB | Chinese / noisy audio | | `whisper_large` / `whisper_turbo` | slow | best | ~1.5-3GB | high-accuracy transcripts |
Use `_mlx` suffix on Apple Silicon, `_native` for CPU fallback across platforms.
# Use GPU if available (auto-detects CUDA/MPS) docling "file.pdf" --device auto
Give AI your personal knowledge base. Local-first, and every byte stays yours.
Molio's builtin skill for MAKING a video from any source — wiki notes, articles, scripts, product info, or a brief — and…
提取微信公众号文章(mp.weixin.qq.com)内容为 Markdown。遇到 mp.weixin.qq.com 链接时使用此 skill,禁止使用 WebFetch。
构建/重建本地知识库的 Wiki。扫描 vault 中所有源文件,从中构建一个结构化的 wiki(源文件摘要、实体、概念、对比、概述页),创建分层 INDEX(根索引 +…
将源文件/资料增量导入(入库)到现有 wiki,使知识持续积累和演进。读取源文件,生成或更新 source 摘要页与实体/概念/对比等页面,建立交叉链接,检测矛盾,更新分层…
对本地知识库的 Wiki 做健康检查/质量审查。查孤立页、断链、断引用、frontmatter 缺失、空段落、内容矛盾、过时内容、INDEX 偏差、知识缺口,生成 lint 报告并给出补充方向建议。Triggers on: 健康检查, 检查 wiki…
基于本知识库已构建的 wiki 和源文件回答用户关于库内内容的问题,或为库内主题的任何任务(写作、分析、咨询等,形式不限)提供依据。先读 wiki/hot.md 与根 wiki/INDEX.md、再按需读相关目录的 INDEX.md 定位页面,读取最相关的…