Install
openclaw skills install xparse-parserParse documents into clean markdown or structured JSON via the xparse-cli. Use this skill when the user provides a PDF, image, Office file, HTML, OFD, or other supported document and wants it read, converted, summarized, or prepared for downstream agent use. Handles encrypted PDFs, page ranges, markdown/text output, and detailed structured extraction. Prefer this skill whenever the task starts from a local file or document URL and the first step is to turn it into agent-friendly content rather than manually inspect the raw file.
openclaw skills install xparse-parserUse the parse CLI first. Read the result before requesting any more detail.
xparse-parse before Python, PDF libraries, OCR tools, or custom scripts.xparse-parse has already failed or the task clearly exceeds its scope.xparse-parse cannot complete the requested task by itself.Check if installed: xparse-cli version
If command not found after install, try the absolute path: ~/.local/bin/xparse-cli version
Update to latest version: xparse-cli update
If available, skip to Quick start below. If not found, install:
| Platform | Command |
|---|---|
| Linux / macOS | source <(curl -fsSL https://dllf.intsig.net/download/2026/Solution/xparse-cli/install.sh) |
| Windows (PowerShell) | irm https://dllf.intsig.net/download/2026/Solution/xparse-cli/install.ps1 | iex |
Zero config — free API, no registration needed. Supports PDF and images only.
xparse-cli parse report.pdf # Markdown → stdout
For Office, HTML, OFD, and other formats, configure paid API credentials first.
| Goal | Command |
|---|---|
| Markdown to stdout | xparse-cli parse <FILE> |
| JSON to stdout | xparse-cli parse <FILE> --view json |
| Save markdown | xparse-cli parse <FILE> --view markdown --output <DIR|FILE> |
| Save JSON | xparse-cli parse <FILE> --view json --output <DIR|FILE> |
| Page range | xparse-cli parse <FILE> --page-range 1-5 |
| Encrypted doc | xparse-cli parse <FILE> --password <PWD> |
| Character details (bbox, confidence, candidate per char) | xparse-cli parse <FILE> --view json --output <DIR|FILE> --include-char-details |
--output <DIR>auto-generates<basename>.mdor<basename>.json;--output <FILE>writes directly.
Run parse requests serially by default. Do not start another until the previous result has been inspected. Only run in parallel when the user explicitly asks for batching or parallel processing and paid API credentials are configured.
For more commands, paid API setup, and output options, see cli-guidance.md.
xparse-parsexparse-cli parse <FILE>xparse-parse clearly cannot solve the task, explain why before switching toolsStop and ask the user if:
If the error looks temporary, retry once at most. Never silently skip a failed parse.
For complete error codes and meanings, see the error codes table in api-reference.md.
Detailed references in skill directory: