AGENT SKILL

docling

Use Docling to understand the content of documents in any supported format — PDF (born-digital or scanned), DOCX, PPTX, XLSX, HTML, Markdown, AsciiDoc, CSV, images, audio, and XML — by converting them into a unified DoclingDocument (Markdown or structured JSON). Use this skill whenever you need to read, parse, convert, extract, or chunk a document you cannot read directly: "what's in this PDF", "convert this to markdown", "extract the tables", "chunk this for RAG", "read this scanned document", "parse this DOCX/PPTX". Covers the `docling` CLI, the Python SDK (DocumentConverter + PipelineOptions), the remote Service Client (self-hosted or managed docling-serve), and the docling-slim install extras for a minimal dependency footprint.

License 许可
MIT
最近更新
2026-09-01
Stars
★ 0
Forks
1

01 前言 Front Matter

name
docling
license
MIT
metadata
{ "author": "docling-project", "version": "1.0", "upstream": "https://github.com/docling-project/docling" }
description
Use Docling to understand the content of documents in any supported format — PDF (born-digital or scanned), DOCX, PPTX, XLSX, HTML, Markdown, AsciiDoc, CSV, images, audio, and XML — by converting them into a unified DoclingDocument (Markdown or structured JSON). Use this skill whenever you need to read, parse, convert, extract, or chunk a document you cannot read directly: "what's in this PDF", "convert this to markdown", "extract the tables", "chunk this for RAG", "read this scanned document", "parse this DOCX/PPTX". Covers the `docling` CLI, the Python SDK (DocumentConverter + PipelineOptions), the remote Service Client (self-hosted or managed docling-serve), and the docling-slim install extras for a minimal dependency footprint.
allowed-tools
Bash(docling:*) Bash(docling-tools:*) Bash(python3:*) Bash(python:*) Bash(uvx:*) Bash(uv:*) Bash(pip:*)
compatibility
Requires Python 3.10+

02 资源文件 6

03 SKILL.md 正文

Docling

Docling converts documents — PDF, DOCX, PPTX, XLSX, HTML, Markdown, AsciiDoc, CSV, images, audio, and XML — into a single unified representation, the DoclingDocument, which you can export as Markdown (human-readable) or JSON (structured, lossless). Reach for Docling whenever you need to understand the content of a file you cannot read directly, especially PDFs (including scanned ones, via OCR or a vision-language model).

The fastest thing that works: the CLI

If you just need to read a document's content, run the CLI. It is installed with the docling package and accepts a local path or a URL:

docling report.pdf --to md --output /tmp/        # → /tmp/report.md
docling https://example.com/paper.pdf --to json --output /tmp/

Output files are named after the input (report.pdf → report.md). Default output directory is the current directory. This handles the majority of "what's in this file" requests. See references/cli.md for pipelines (standard vs VLM), OCR engines, tables, scanned PDFs, passwords, and every flag.

Choosing how to use Docling

You need to… Use Reference
Read / convert a file once, from the shell CLI (docling …) references/cli.md
Convert programmatically, tune the pipeline, batch, ASR, export images/tables Python SDK (DocumentConverter + PipelineOptions) references/python-sdk.md
Pull specific typed fields out of a document (not the whole doc) DocumentExtractor (structured extraction, beta) references/extraction.md
Chunk documents for retrieval / feed a RAG index Chunking + framework loaders references/rag.md
Offload conversion to a remote service — low latency, scalable, no local ML deps or GPU Service Client (self-hosted or managed docling-serve) references/service-client.md
Install only the dependencies you actually use docling-slim extras references/slim-packaging.md

Rules of thumb:

  • Local, one-off, no code → CLI.
  • Custom pipeline, chunking, structure analysis, embedding in an app → Python SDK.
  • Many documents, low-latency, no GPU/ML install to manage, scale on demand → Service Client against a docling-serve endpoint (self-hosted or the managed Docling for IBM watsonx service).
  • Minimize install size / avoid pulling torch and OCR engines you don't need → docling-slim with targeted extras.

Running without installing (uvx)

You can run the CLI without a persistent install:

uvx --from docling docling report.pdf --to md --output /tmp/

Output conventions

  • Always report the conversion status and (for PDFs) the page count.
  • If the user does not specify a format, ask whether they want Markdown (readable) or JSON / DoclingDocument (structured, lossless).
  • For tables, prefer export_to_markdown() / export_to_dataframe() on the table item (Python) — see references/python-sdk.md.
  • If a converted PDF comes back near-empty, repeated, or full of �, the source is likely scanned or complex layout — retry with OCR or --pipeline vlm (see references/cli.md).

04 同仓库更多 Skills

xs3curity
xs3curity/skillguard-action-test

mcp-apps-builder

**MANDATORY for ALL MCP server work** - mcp-use framework best practices and patterns. **READ THIS FIRST** before any MCP server work, including: - Creating new MCP servers - Modifying existing MCP servers (adding/updating tools, resources, prompts, widgets) - Debugging MCP server issues or errors - Reviewing MCP server code for quality, security, or performance - Answering questions about MCP development or mcp-use patterns - Making ANY changes to server.tool(), server.resource(), server.prompt(), or widgets This skill contains critical architecture decisions, security patterns, and common pitfalls. Always consult the relevant reference files BEFORE implementing MCP features.

★ 0
xs3curity
xs3curity/skillguard-action-test

chatgpt-app-builder

DEPRECATED: This skill has been replaced by `mcp-app-builder`. Check if `mcp-app-builder` is available in the skills folder. If not, install it: `npx skills install mcp-use/mcp-use --skill mcp-app-builder` Use `mcp-app-builder` instead of this skill. Build ChatGPT apps with interactive widgets using mcp-use and OpenAI Apps SDK. Use when creating ChatGPT apps, building MCP servers with widgets, defining React widgets, working with Apps SDK, or when user mentions ChatGPT widgets, mcp-use widgets, or Apps SDK development.

★ 0
xs3curity
xs3curity/skillguard-action-test

thinking-out-loud

A contract for what the agent does when a long, messy, stream-of-consciousness ramble arrives (usually voice dictation): act on nothing until the echo brief is approved. The echo audits the entire transfer, mission, locked decisions and constraints, open questions, flips and parked tangents, with the model's inferences and guesses quarantined away from the user's own phrasing, so the user verifies what the model believes, not just what it doubts. Use when the user says "let me think out loud" or wants to ramble a bit before building anything, when a message opens with a speech-to-text preamble like "switching to voice, sorry for typos", when input is a long weakly punctuated stream with restarts and mid-message reversals ("actually no, wait, scrap that idea entirely"), or when the user asks to be interviewed about a fuzzy half-formed idea. Includes an optional capture mode for rambles spread across several messages and an optional targeted interview.

★ 0
xs3curity
xs3curity/skillguard-action-test

scope-creep-detector

Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad pull requests, changes that grew beyond a fix, dependency additions, public API renames, config or CI edits, oversized hunks, and formatting-only files. Use when the user asks whether a change grew beyond the fix, a PR is too broad, or what unrelated stuff they touched, and wants keep, split, or justify guidance. Operates locally and offline.

★ 0
xs3curity
xs3curity/skillguard-action-test

project-graveyard

Scans the developer's machine for dead side projects, autopsies each one from its git history (died at the payments wall, killed by a newer project, finished but never shipped), surfaces their personal death patterns, and picks the corpse most worth resurrecting — then helps ship it. Use when the user mentions abandoned, unfinished, or old side projects, asks "what should I finish", wants to revive or resurrect a project, says "run the graveyard", wonders why they never finish anything, or is about to start a new project that sounds like one they already built. Runs entirely locally.

★ 0
xs3curity
xs3curity/skillguard-action-test

dependency-doctor

Checks requirements.txt, pyproject.toml, and package.json dependency manifests for surface-level direct-dependency footguns: standard-library shadowing pins, abandoned backports, unpinned dependencies, and obvious intra-manifest conflicts, plus opt-in PyPI yanked releases. Use when the user asks to check a manifest for dependency problems, asks why dependencies won't install or whether anything is wrong with their dependencies, wants a dependency autopsy, or suspects dependency manifest rot. Runs offline by default as a local tool for the user's own project, not repository CI.

★ 0