Skip to content
Back to skills

Document Outputs

ASecurity

"Export DoclingDocument content to Markdown, JSON, YAML, HTML,

  • 247 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 8, 2026
content-marketingpythonapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill document-outputs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Document Outputs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Document Outputs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-document-outputs/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-document-outputs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: document-outputs
description: "Export DoclingDocument content to Markdown, JSON, YAML, HTML,
  text, DocTags, WebVTT, table files, images, and RAG chunks."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Document Outputs

Use this sub-skill after a `ConversionResult` or `DoclingDocument` already exists and the task is about exporting, serializing, extracting tables/pictures, or chunking content for downstream use.

Do not use this sub-skill to obtain a conversion result, tune extraction pipelines, or call remote service chunking APIs; route those to the conversion, pipeline configuration, advanced pipeline, or remote service sub-skills.

## Fast Routes

- For document file/string exports, use `references/export-and-serialization.md`.
- For table and picture post-processing, use `references/export-and-serialization.md` and the bundled `scripts/export_tables_from_doc.py` helper.
- For RAG chunking with `HybridChunker`, `HierarchicalChunker`, or line-based token chunking, use `references/chunking.md`.
- For JSON validation, referenced images, empty tables/pictures, tokenizer extras, oversized chunks, and repeated table headers, use `references/troubleshooting.md`.

## Output Checklist

1. Start from `result.document` or a loaded `DoclingDocument`; conversion setup is out of scope here.
2. Choose the output contract first: human-readable Markdown/HTML/text, machine-readable JSON/YAML/dict, model-oriented DocTags/DocLang, caption-oriented WebVTT, or chunk objects for RAG.
3. Preserve images only when conversion generated images and the export `ImageRefMode` matches the delivery target.
4. For tables, prefer `table.export_to_dataframe(doc=doc)` when Python post-processing is available; use the bundled helper when only Docling JSON is available.
5. For RAG, tune `HybridChunker` around the embedding tokenizer and table-header behavior before changing the upstream conversion pipeline.

Files in this skill

  • SKILL.md1.9 KB
  • references/chunking.md5 KB
  • references/export-and-serialization.md6.7 KB
  • references/troubleshooting.md5.2 KB
  • scripts/export_tables_from_doc.py7.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.