docling
Skill by docling-project
Docling converts PDF, DOCX, PPTX, XLSX, HTML, images, audio and other documents into a unified DoclingDocument. It exports Markdown or JSON for assistants that cannot read these files directly.
Install docling
Built from the published package, never by AI.
git clone --depth 1 https://github.com/docling-project/docling /tmp/docling && mkdir -p ~/.claude/skills && cp -r /tmp/docling/docling/.agents/skills/docling ~/.claude/skills/doclingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/docling-project/docling /tmp/docling && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/docling/docling/.agents/skills/docling ~/.gemini/antigravity-cli/skills/doclingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Docling converts documents in formats such as PDF, DOCX, PPTX, XLSX, HTML, Markdown, AsciiDoc, CSV, images, audio, and XML into a unified DoclingDocument. The result can be exported as Markdown or structured JSON. The skill covers the docling CLI, which accepts local paths or URLs, the Python SDK with DocumentConverter and PipelineOptions, and a Service Client for a self-hosted or managed docling-serve endpoint.
It also covers chunking for retrieval and RAG, a beta DocumentExtractor for pulling typed fields, and docling-slim extras for a smaller install. Scanned PDFs can be handled with OCR or a vision-language model pipeline. The skill is aimed at assistants that need to read, parse, or extract content from files they cannot open directly.
Written from the project's SKILL.md and checked against it.
What it can do
- CLI conversionConverts a local file or URL to Markdown or JSON from the shell.
- Python SDKRuns DocumentConverter with PipelineOptions to tune conversion and batch files.
- Service ClientSends conversion work to a self-hosted or managed docling-serve endpoint.
- Document chunkingSplits converted documents into chunks for retrieval and RAG indexes.
- Structured extractionPulls specific typed fields out of a document using DocumentExtractor (beta).
- Scanned document handlingRetries scanned or complex PDFs with OCR or the VLM pipeline.
- Minimal installsUses docling-slim extras to install only the dependencies needed.
What you need
- Python 3.10+
- A docling install (pip or uvx)
Try asking
- Convert this PDF to Markdown and summarize the sections
- Extract the tables from this DOCX file
- Chunk this PPTX deck so I can add it to my RAG index
Good to know
- DocumentExtractor is in beta.
- The Service Client requires a docling-serve endpoint, self-hosted or managed.
- Near-empty or garbled PDF output may need OCR or the VLM pipeline.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: docling/.agents/skills/docling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(docling:*) Bash(docling-tools:*) Bash(python3:*) Bash(python:*) Bash(uvx:*) Bash(uv:*) Bash(pip:*)
-
SKILL.md4 KB -
references/cli.md15 KB -
references/extraction.md3 KB -
references/python-sdk.md30 KB -
references/rag.md2 KB
Show all 7 files
-
references/service-client.md5 KB -
references/slim-packaging.md5 KB
Alternatives to docling
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
docling: common questions
What file formats does Docling support?
The source lists PDF (born-digital or scanned), DOCX, PPTX, XLSX, HTML, Markdown, AsciiDoc, CSV, images, audio, and XML.
What output formats does Docling produce?
Docling exports a DoclingDocument as Markdown for reading or as JSON for structured, lossless output.
Can Docling read scanned PDFs?
Yes. The source says scanned PDFs can be handled with OCR or the vision-language model pipeline, and suggests retrying with these if output is near-empty.
How do I install docling?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is docling free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is docling safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to docling?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
