docling-mcp-skill

docling-mcp-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 54 tokens per session (1,395 once invoked), scanned A, original, Apache-2.0.

A document-processing guide for Docling, a tool that extracts text and structure from difficult documents such as scanned PDFs, multi-column files, and complex tables.

In plain words
What is it for?
Use it to extract text with OCR from scanned PDFs and preserve layout, footnotes, merged cells, and nested table headers.
Why use it?
It provides a fallback when simpler document converters produce missing, garbled, or badly arranged content. It also explains that first use may download machine-learning models.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./deploy/setup.sh --enable-pack docling.

Good fit Use it to extract text with OCR from scanned PDFs and preserve layout, footnotes, merged cells, and nested table headers.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template
agentmods
npx agentmods add skills/darellchua2/opencode-config-template/docling-mcp-skill

Made for: Claude Code, Codex.

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 docling-mcp-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/docling-mcp-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/docling-mcp-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/docling-mcp-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/docling-mcp-skill/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 docling-mcp-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/docling-mcp-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/docling-mcp-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,395 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00054 $0.01395
Opus 5.5 $0.00022 $0.00558
Sonnet 5.5 $0.00011 $0.00279
Haiku 4.5 $0.00005 $0.00139

Measured 1mo ago against content hash a54fb41bf14c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docling-mcp-skill 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 1mo 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/docling-mcp-skill/SKILL.md · 101 lines

How it starts

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

What this skill does

  • Documents docling as a Tier 2 escalation engine for the AGENTS.md → Office Document Extraction Routing rule
  • Provides the CLI-on-demand recipe (primary path — codegraph-init analog): detect, ask consent, install, convert, read
  • Documents the optional persistent MCP tier via --enable-pack docling
  • States the trust-boundary honestly: unlike markitdown (zero phone-home), docling downloads ML models from huggingface.co on first use
  • Prescribes the consent policy: primary asks; headless/subagent soft-fails; never auto-install ~3-4 GB

Reference: docling on PyPI · docling-mcp on PyPI

When to use docling (Tier 2)

Follow the AGENTS.md → Office Document Extraction Routing rule — this skill does NOT re-derive the full markitdown/pdf-specialist tree. Docling is the escalation target when:

  • markitdown returns empty/garbage (scanned PDFs, image-only)
  • markitdown mangles complex tables (multi-column, merged cells, nested headers)
  • markitdown drops layout that matters (multi-column text flow, footnotes, sidebars)
  • The PDF needs OCR (docling's OCR pipeline handles scanned docs markitdown cannot)

Do NOT use docling for: plain text dumps of clean born-digital docs (markitdown is faster, lighter), visual understanding (image-analyzer-subagent), or structured form-field extraction (pdf-specialist-skill).

CLI-on-demand recipe (primary path)

This is the codegraph-init analog — docling is not installed by default (~3-4 GB with models). The agent detects absence, asks consent, installs, converts — all within the session, no restart.

1. DETECT:  command -v docling >/dev/null 2>&1
2. ABSENT → ASK CONSENT (primary session only — see Consent Policy below)
3. INSTALL: pip install --user docling
4. CONVERT: docling convert <file> --to md -o <output-dir>
5. READ:    Read the generated <output-dir>/<file>.md

Consent Policy

Read the full file on GitHub · 101 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. 1mo ago Changed a54fb41bf14c
  2. 1mo ago Changed 14137dbb4ebd
  3. 1mo ago Changed 78e8cea887fd
  4. 2mo ago First seen · 101 lines · 54 tokens per session scan A 103d63df5cc5

Subscribe to this mod's changes

docling-mcp-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,395 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

docling-mcp-skill compared with skills from other repositories

docling-mcp-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docling-mcp-skilldarellchua2/opencode-config-templateSkill61mo agoApache-2.0A54Claude Code, Codex
processing-pdfstelagod/code-abyssSkill2443mo agoMITA57Claude Code
rtl-persian-pdfmamahoos/dot-filesSkill53d agoMITA60Claude Code, Cursor
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill49kyesterdayMITA48Claude Code
foundry-hosted-agent-validationmicrosoft/agent-frameworkSkill15kyesterdayMITA82Claude Code, Codex
skill-doc-deliverynyldn/claude-octopusSkill4.4kyesterdayMITA29Claude Code
meta-web-to-pdf-briefingopensquilla/opensquillaSkill7.1k6d agoApache-2.0A45Claude Code, Codex