cap-txt

PR's PDF Agent

Officev0.1.0
By cap-txtUpdated 2026-05-17pdfagent@clawhub_cap-txt/pdfagent
PDF#PDF

According to AlphaMoat, as of 2026-09, PR's PDF Agent has 1,081 downloads and 2 stars — ranked #4,993 of 5,078 AI skills overall, and #420 of 435 in Office.

Installs
130
Downloads
1.1K
Stars
2
Overall Rank
#4,993
Top 99% overall · Top 97% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗291.1K2-
SkillHub ↗1301.1K2—

Platforms count differently and update at different times.

What this skill does

The tool is intended for self-hosted processing where inputs and outputs remain on disk and can return machine-readable JSON usage summaries. Some HTML-to-PDF features fetch remote URLs; translation or agent planning may send document text to an LLM command or provider. Do not use untrusted providers for confidential files, and avoid placing reusable passwords directly on the command line. Rasterized redaction creates intermediate files, which should be securely cleaned; review redacted output before distribution.

Profile published 2026-10-29

What you can do with it

  • Developers and operations teams handling local PDF conversion, splitting, merging, compression, OCR, or redaction.

When to use it

  • Prefer local files. Confirm network and data authorization before using remote URLs or LLM processing. Avoid unapproved translation services for confidential documents, and clean password-sensitive or redaction intermediates carefully.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Summarize PDF operations available locally and sensitive-document considerations; do not open, convert, or upload any document.

Monthly Trend

Downloads1.1K
2687051.1K2026-03 · Downloads 3282026-05 · Downloads 6992026-07 · Downloads 9512026-08 · Downloads 1.0K2026-09 · Downloads 1.1K26-0326-09
Stars2
1232026-03 · Stars 22026-05 · Stars 22026-07 · Stars 22026-08 · Stars 22026-09 · Stars 226-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.1K—2
2026-081.0K+6.5%2
2026-07951—2
2026-05699—2
2026-03328—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.0 KB · ClawHub v0.1.0
---
name: pdfagent
description: Self-hosted PDF operations and conversions with metered usage output.
version: 0.1.0
---

# PDF Agent

Summary
- Use `pdfagent` to perform PDF operations (merge, split, compress, convert, OCR, etc.) with detailed usage metering in the output.
Show all (40 lines)
- Best for local, self-hosted processing where inputs/outputs must stay on disk.
- This skill ships source code in `pdfagent/` and runs via `uv run` from `scripts/pdfagent_cli.py` (no PyPI publish required).

Requirements
- `uv` installed and on PATH.
- System tools as needed by specific commands: `qpdf`, `ghostscript`, `poppler` (`pdftoppm`), `libreoffice`, `chromium` (for HTML -> PDF), and `ocrmypdf`.

Core Usage
- Merge PDFs with usage metrics:
  `uv run {baseDir}/scripts/pdfagent_cli.py merge file1.pdf file2.pdf --out merged.pdf --json`
- Split a PDF by ranges:
  `uv run {baseDir}/scripts/pdfagent_cli.py split input.pdf --range "1-3,5" --out-dir out_dir --json`
- Compress a PDF with a preset:
  `uv run {baseDir}/scripts/pdfagent_cli.py compress input.pdf --preset ebook --out compressed.pdf --json`
- Convert images to PDF:
  `uv run {baseDir}/scripts/pdfagent_cli.py jpg-to-pdf image1.jpg image2.png --out output.pdf --json`
- OCR a scanned PDF:
  `uv run {baseDir}/scripts/pdfagent_cli.py ocr scan.pdf --lang eng --out scan_ocr.pdf --json`
- Agent mode for multi-step instructions:
  `uv run {baseDir}/scripts/pdfagent_cli.py agent "merge then rotate 90 degrees every other page" -i file1.pdf -i file2.pdf --out out.pdf --json`
- Dependency/binary check:
  `uv run {baseDir}/scripts/pdfagent_cli.py doctor --json`

Notes
- Use `--json` for machine-readable outputs (includes `usage` and `outputs`).
- For encrypted PDFs, pass `--password` or per-file `--passwords`.
- If a conversion tool is missing, `pdfagent` may use a fallback path and will note it in output or logs.
- Optional Python deps are still command-specific:
  `uv run --with pdf2docx --with camelot-py[cv] --with pdfplumber --with pyhanko {baseDir}/scripts/pdfagent_cli.py <command> ...`

Popular in Office

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.