Skip to content
Back to skills

Cli And Formats

ASecurity

"Route Docling CLI work, construct safe local conversion commands,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
toolspythonrustshellbashapibackend

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 cli-and-formats --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli And Formats?

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

Security grade badge for Cli And Formats
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-cli-and-formats/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-cli-and-formats)

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: cli-and-formats
description: "Route Docling CLI work, construct safe local conversion commands,
  and choose supported input/output formats and image modes."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Docling CLI and Formats

Use this sub-skill when an agent needs to run or explain Docling's local CLI (`docling`), select `--from` / `--to` formats, process local files, URLs, or directories, control CLI output files, or reason about image export and HTML/EPUB image fetching.

Do not use this sub-skill for:

- Python `DocumentConverter` / `convert_string` code; use the conversion sub-skill.
- `docling convert-remote`, `DoclingServiceClient`, or service URL/API key setup; use the remote-service-client sub-skill.
- Pipeline internals, backend tuning, or model-option construction beyond CLI flag routing; use pipeline-configuration/advanced-pipelines.

## Quick Routing

- Prefer `docling SOURCE` for simple local conversion to Markdown in the current directory.
- Use repeated `--to` flags for multiple outputs, for example `--to md --to json`.
- Use repeated `--from` flags to restrict accepted input formats and to filter directory walks, for example `--from pdf --from docx`.
- Use `--output DIR` whenever the command should not write files into the current working directory.
- Use `--image-export-mode referenced` for Markdown/HTML/JSON/YAML outputs when outputs should reference exported image files instead of embedding base64.
- Add `--html-image-fetch local` for trusted local HTML/EPUB assets; use `remote` or `all` only when remote image fetching is intended and safe.

## References

- `references/cli-reference.md`: command anatomy, common recipes, output behavior, and `docling-tools` model-download awareness.
- `references/format-guide.md`: supported input/output format names, output suffixes, and `--from` / `--to` selection rules.
- `references/troubleshooting.md`: CLI dependency, image, directory, output, ASR/VLM, and WebVTT troubleshooting.
- `scripts/build_docling_command.py`: prints a shell-safe `docling` command from structured arguments.

## Command Builder

Use the bundled script to construct command lines without hand-quoting mistakes:

```bash
python scripts/build_docling_command.py SOURCE --output out --to md --to json --from pdf --from docx --image-export-mode referenced
```

The script prints only the command; it does not execute Docling. Pass `--help` for all supported builder options.

Files in this skill

  • SKILL.md2.4 KB
  • references/cli-reference.md6.3 KB
  • references/format-guide.md5.2 KB
  • references/troubleshooting.md5.7 KB
  • scripts/build_docling_command.py7.3 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.