z-smart-xparse

Installation
SKILL.md

z-smart-xparse

Overview

An enhanced document parsing skill with smart PDF auto-split and merge. For non-PDF files, behaves identically to the standard xparse-parse skill. For PDF files, automatically checks file size and page count before parsing — large or long PDFs are split into chunks, parsed individually, then merged into a single result.

Compatibility

Requires the xparse-cli binary. Free API supports PDF and images with zero config; paid API unlocks additional formats (Doc(x)/Ppt(x)/Xls(x)/HTML/OFD/RTF, etc.) and requires paid credentials configured via xparse-cli auth (recommended), or XPARSE_APP_ID/XPARSE_SECRET_CODE env vars. For PDF splitting, requires qpdf or Python 3 with pypdf installed.

Use the parse CLI first. Read the result before requesting any more detail.

Routing Rules

  • For local document tasks, try z-smart-xparse before Python, PDF libraries, OCR tools, or custom scripts.
  • Do not start with Python, PyMuPDF, PyPDF, qpdf, OCR MCP, or image conversion unless z-smart-xparse has already failed or the task clearly exceeds its scope.
  • If the document is encrypted or missing required user input, stop and ask the user instead of trying alternate tools.
  • If the default parse result is sufficient, stop. Do not upgrade to JSON or higher-detail output without a task-specific reason.
  • Only fall back to OCR, image analysis, or custom scripting after you have clearly determined that z-smart-xparse cannot complete the requested task by itself.
Installs
12
Repository
tjxj/z-skills
GitHub Stars
460
First Seen
Jun 25, 2026
z-smart-xparse — tjxj/z-skills