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.
git clone --depth 1 https://github.com/darellchua2/opencode-config-templatenpx agentmods add skills/darellchua2/opencode-config-template/docling-mcp-skillWrote 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.
[](https://agentmods.dev/skills/darellchua2/opencode-config-template/docling-mcp-skill)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.01328 |
| Opus 5 | $0.00027 | $0.00664 |
| Sonnet 5 | $0.00011 | $0.00266 |
| Haiku 4.5 | $0.00005 | $0.00133 |
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 5d 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.
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
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.
- 5d ago First seen · 101 lines · 54 tokens per session scan A 103d63df5cc5
docling-mcp-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 3d ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,328 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-09-03.
Other skills, from other repositories
processing-pdfs
Processes PDF files. Extracts text and tables, fills forms, merges and splits documents, batch-processes files, converts to images, and generates PDFs programmatically. Use when working with .pdf files. Do NOT use for Word documents, spreadsheets, or presentations.
rtl-persian-pdf
Generate production-grade Persian RTL PDFs from Markdown or HTML with reliable shaping, bidi safety, and deterministic print output. Use when the user asks for Persian PDF export, RTL rendering, right-aligned typography, Arabic/Persian text shaping, or portable PDF generation across environments.
pydicom
Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.
foundry-hosted-agent-validation
Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.
pdf-extract-create-workflow
Complete PDF lifecycle: download, extract, and generate structured documents with reportlab.