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
累计下载
1,081
星标
2
全站排名
#4,993
全站前 99% · 「办公效率」前 97%
平台累计安装累计下载星标评论
ClawHub ↗291,0812-
SkillHub ↗1301,0552—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

该工具面向输入和输出留在磁盘上的自托管处理,可返回机器可读的 JSON 用量摘要。部分 HTML 转 PDF 功能会访问远程 URL;翻译或 agent 规划可能把文档内容发送给 LLM 命令或服务。机密文件不要使用未经信任的提供方;避免将可复用密码直接放在命令行。栅格化脱敏会产生中间文件,应安全清理并在分发前检查脱敏结果。

资料发布于 2026-10-29

可以用来做什么

  • 需要在本地处理 PDF 转换、拆分、合并、压缩、OCR 或脱敏的开发者与运维团队。

什么时候用

  • 优先使用本地文件;远程 URL 和 LLM 处理前确认网络和数据授权。不要在机密文档上使用未获批准的翻译服务,处理密码和脱敏中间文件时注意清理。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

概述可在本地执行的 PDF 操作和敏感文档注意事项;不要打开、转换或上传任何文档。

月度数据趋势

累计下载1,081
2687051,1412026-03 · 累计下载 3282026-05 · 累计下载 6992026-07 · 累计下载 9512026-08 · 累计下载 1,0132026-09 · 累计下载 1,08126-0326-09
星标2
1232026-03 · 星标 22026-05 · 星标 22026-07 · 星标 22026-08 · 星标 22026-09 · 星标 226-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-091,081—2
2026-081,013+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),按月更新。口径说明见数据方法。