cap-txt

PR's PDF Agent

辦公效率v0.1.0
作者:cap-txt更新於 2026-05-17pdfagent@clawhub_cap-txt/pdfagent
PDF 處理#PDF

據 AlphaMoat 統計,截至 2026-09,PR's PDF Agent 累計下載 1,081 次、獲 2 個星標,在全部 5,078 個 AI 技能中排名第 4,993 位,在「辦公效率」分類(435 個)中排名第 420 位。

累計安裝
130
累計下載
1081
星標
2
全站排名
#4,993
全站前 99% · 「辦公效率」前 97%
平台累計安裝累計下載星標評論
ClawHub ↗2910812-
SkillHub ↗13010552—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該工具面向輸入和輸出留在磁碟上的自託管處理,可返回機器可讀的 JSON 用量摘要。部分 HTML 轉 PDF 功能會訪問遠端 URL;翻譯或 agent 規劃可能把文件內容傳送給 LLM 命令或服務。機密檔案不要使用未經信任的提供方;避免將可複用密碼直接放在命令列。柵格化脫敏會產生中間檔案,應安全清理並在分發前檢查脫敏結果。

資料釋出於 2026-10-29

可以用來做什麼

  • 需要在本地處理 PDF 轉換、拆分、合併、壓縮、OCR 或脫敏的開發者與運維團隊。

什麼時候用

  • 優先使用本地檔案;遠端 URL 和 LLM 處理前確認網路和資料授權。不要在機密文件上使用未獲批准的翻譯服務,處理密碼和脫敏中間檔案時注意清理。

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

概述可在本地執行的 PDF 操作和敏感文件注意事項;不要開啟、轉換或上傳任何文件。

月度資料趨勢

累計下載1081
26870511412026-03 · 累計下載 3282026-05 · 累計下載 6992026-07 · 累計下載 9512026-08 · 累計下載 10132026-09 · 累計下載 108126-0326-09
星標2
1232026-03 · 星標 22026-05 · 星標 22026-07 · 星標 22026-08 · 星標 22026-09 · 星標 226-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-091081—2
2026-081013+6.5%2
2026-07951—2
2026-05699—2
2026-03328—2

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 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.
展開全部(共 40 行)
- 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> ...`

「辦公效率」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。