split-batchlisted
Install: claude install-skill xxthunder/xxthunder-agentic-skills
<!-- Source: https://github.com/xxthunder/xxthunder-agentic-skills/tree/develop/plugins/xxthunder-paperless-skills/skills/split-batch -->
# Split Batch
Split one multi-document PDF into N single-document PDFs: **extract page text → detect boundaries → confirm split map → emit PDFs**.
## When This Skill Triggers
- "Split this batch" / "Split this stack" / "Separate these documents"
- "These are multiple documents" / "I scanned a pile / stack"
- `naps2-scan` hands off after a batch-mode scan (its Step 3b)
- The user has one searchable PDF in the working directory that bundles several distinct documents
This skill is **post-processing only**. It does not drive a scanner and does not OCR — it needs a PDF whose text is already extractable. To scan paper, use `naps2-scan` (which can chain into this skill). To merge two simplex halves, use `simplex-merge`.
## Prerequisites
- **A searchable PDF** in the working directory (typically `naps2-scan` output after OCR and any simplex merge). If the PDF has no extractable text, detection cannot run — tell the user to OCR it first (re-scan via `naps2-scan` with `--enableocr`).
- **`uv` on PATH** — the helper scripts under `scripts/` are [PEP 723](https://peps.python.org/pep-0723/) inline-metadata Python scripts run via `uv run`. Verify with `uv --version`. `uv` resolves `pypdf` automatically; no manual `pip install`. Install with `winget install astral-sh.uv` (Windows) or the installer at <https://docs.astral.sh/uv/>.
If a prerequisit