Install
openclaw skills install pypdfExtract text, metadata, and pages from PDF files using pypdf. Use for tasks such as reading PDF content, extracting specific pages, splitting or merging PDFs...
openclaw skills install pypdfUse scripts/pypdf_cli.py for deterministic PDF operations instead of ad-hoc pypdf snippets.
python scripts/pypdf_cli.py info --input <file.pdf>python scripts/pypdf_cli.py extract-text --input <file.pdf>python scripts/pypdf_cli.py extract-text --input <file.pdf> --pages 0 1 2python scripts/pypdf_cli.py split --input <file.pdf> --output-dir <dir/>python scripts/pypdf_cli.py extract-pages --input <file.pdf> --pages 0 1 2 --output <out.pdf>python scripts/pypdf_cli.py merge --inputs <a.pdf> <b.pdf> <c.pdf> --output <merged.pdf>python scripts/pypdf_cli.py rotate --input <file.pdf> --angle 90 --output <rotated.pdf>--angle must be 90, 180, or 270.--pages 0 2.extract-text, output goes to stdout; redirect to a file when needed.--output for commands that write a new PDF.pip install pypdf.