AgentStack
SKILL verified MIT Self-run

Pdf Split

skill-ericwang915-pythonclaw-pdf-split · by ericwang915

Split a PDF into separate files by page ranges. Use when: user asks to split, extract pages from, or break apart a PDF. Supports extracting single pages, ranges, or every-N-pages splitting. NOT for: merging PDFs, reading text, or converting formats.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-ericwang915-pythonclaw-pdf-split

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Pdf Split? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

PDF Split Skill

Split a PDF file into multiple smaller PDFs by page ranges.

When to Use

USE this skill when:

  • "Split this PDF into individual pages"
  • "Extract pages 5-10 from report.pdf"
  • "Break this PDF into 3 parts"
  • "Get page 7 as a separate PDF"
  • User wants to extract or separate pages from a PDF

When NOT to Use

DON'T use this skill when:

  • Merging multiple PDFs → use pdf_merge
  • Reading/extracting text → use pdf_reader
  • Creating new PDFs → use pdf_writer
  • Converting to images → use pdf_convert

Usage/Commands

python {skill_path}/split_pdf.py INPUT_PDF [options]

Options:

  • --pages "1-5" — extract a specific page range to a single output file
  • --each — split into one PDF per page
  • --every N — split into chunks of N pages each
  • --output DIR — output directory (default: same as input)
  • --prefix NAME — filename prefix for output files (default: input filename)
  • --format json — output result as JSON

Examples

  • "Extract pages 5-10" → python {skill_path}/split_pdf.py doc.pdf --pages 5-10
  • "Split into individual pages" → python {skill_path}/split_pdf.py doc.pdf --each
  • "Split into chunks of 5 pages" → python {skill_path}/split_pdf.py doc.pdf --every 5 --output ./parts/
  • "Get page 3" → python {skill_path}/split_pdf.py doc.pdf --pages 3

Notes

  • Install dependency: pip install PyPDF2
  • Page numbers are 1-indexed
  • Output files are named {prefix}_p{start}-{end}.pdf

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.