P

精简PDF处理工具包

Officev1.0.1
By user_05cc33a7Updated 2026-11-05pdf-fast-handler-skill@user_05cc33a7/pdf-fast-handler-skill
DocumentsPDF

According to AlphaMoat, as of 2026-10, 精简PDF处理工具包 has 27,716 downloads and 19 stars — ranked by downloads #1,016 among 10,914 AI skills in this ranking, and #128 of 909 in Office.

The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.

Downloads
27.7K
Stars
19
Overall download rank
#1,016
Top 10% overall · Top 15% in Office
PlatformDownloadsStarsComments
SkillHub ↗27.7K19—

Platforms count differently and update at different times.

What this skill does

Through the pdf_fast_handler_skill.py script it offers a broad set of subcommands: info and text extraction (info, extract); merge and split (merge, split); conversion — to Word (to-word), images (to-image), HTML, TXT, and Markdown, plus images-to-PDF and Word-to-PDF; page editing — rotate, delete pages, extract pages, insert, replace, and reverse order; security — encrypt/decrypt (encrypt/decrypt -p); watermark, headers/footers, and page numbers (watermark, add-header, add-footer, add-page-num); OCR for scanned documents, image and bookmark extraction; compression (compress) and repair of damaged PDFs (repair); and batch folder-level processing. Requires Python 3.8+ and pip packages (PyPDF2, pdf2docx, pdf2image, pytesseract, Pillow, docx2pdf); PDF-to-image and OCR also need the system-level poppler and tesseract (the script auto-detects and prompts for installation).

Profile published 2026-10-27

What you can do with it

  • Inspect PDF info and extract text
  • Convert between PDF and Word/images/HTML/TXT/Markdown
  • Merge, split, rotate, delete, and extract pages
  • Encrypt/decrypt, add watermarks, headers, footers, page numbers, and OCR scans

When to use it

  • When converting, merging, splitting, or compressing PDF files
  • When OCR-ing scans, batch processing, or repairing damaged PDFs

Example prompts

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

Convert this PDF to Word
Merge these two PDFs into one file
Run OCR on this batch of scanned documents

Monthly Trend

Downloads27.7K
015.0K29.9K2026-03 · Downloads 3042026-05 · Downloads 1.3K2026-06 · Downloads 2.5K2026-07 · Downloads 5.1K2026-08 · Downloads 7.1K2026-09 · Downloads 10.1K2026-10 · Downloads 27.7K26-0326-0926-10
Stars19
010212026-03 · Stars -2026-05 · Stars 22026-06 · Stars 32026-07 · Stars 102026-08 · Stars 142026-09 · Stars 162026-10 · Stars 1926-0326-0926-10

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-1027.7K—19
2026-0910.1K—16
2026-087.1K+38.7%14
2026-075.1K+102.5%10
2026-062.5K+100.6%3
2026-051.3K—2
2026-03304—-

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.

4.9 KB · SkillHub v1.0.1
---
name: pdf-fast-handler
description: PDF 终极全能处理工具 - 转换、编辑、OCR、加密解密、水印、页眉页脚、旋转、删页、提取页、图片互转、Word互转、压缩、修复、批量
homepage: https://github.com/QClaw/skills
metadata:
  {
    "clawdbot":
      {
        "emoji": "📄",
        "requires":
Show all (134 lines)
          {
            "bins": ["python3"],
            "packages": ["PyPDF2", "pdf2docx", "pdf2image", "pytesseract", "Pillow", "docx2pdf"]
          },
        "primaryEnv": "python3",
        "systemDeps":
          {
            "linux": ["poppler-utils", "tesseract-ocr"],
            "macos": ["poppler", "tesseract"],
            "windows": ["poppler", "tesseract"]
          },
        "autoInstall": true
      }
  }
---

# 📄 PDF 终极全能处理 Skill

> 一站式 PDF 解决方案:转换、编辑、OCR、加密解密、水印、页眉页脚、批量处理

---

## 🤖 Agent 执行指令

**执行本技能后,代理必须:**

### 1. 理解用户需求
- 识别 PDF 处理意图(转换/编辑/提取/加密/批量等)
- 解析关键参数(文件路径、输出路径、操作选项)

### 2. 执行命令示例

```bash
# 基础操作
python pdf_fast_handler_skill.py info input.pdf
python pdf_fast_handler_skill.py extract input.pdf
python pdf_fast_handler_skill.py merge file1.pdf file2.pdf -o merged.pdf

# 格式转换
python pdf_fast_handler_skill.py to-word input.pdf -o output.docx
python pdf_fast_handler_skill.py to-image input.pdf -o ./images
python pdf_fast_handler_skill.py to-txt input.pdf -o output.txt
python pdf_fast_handler_skill.py to-md input.pdf -o output.md

# 页面编辑
python pdf_fast_handler_skill.py rotate input.pdf 90 -o rotated.pdf
python pdf_fast_handler_skill.py delete-pages input.pdf 1,3,5 -o output.pdf
python pdf_fast_handler_skill.py extract-pages input.pdf 1,2,3 -o output.pdf

# 安全操作
python pdf_fast_handler_skill.py encrypt input.pdf -p 123456 -o encrypted.pdf
python pdf_fast_handler_skill.py decrypt input.pdf -p 123456 -o decrypted.pdf

# 图片/Word 互转
python pdf_fast_handler_skill.py images2pdf img1.jpg img2.jpg -o output.pdf
python pdf_fast_handler_skill.py word2pdf input.docx -o output.pdf

# 批量处理
python pdf_fast_handler_skill.py batch ./pdf_folder to-word
```

### 3. 依赖安装(脚本会自动检测并提示)
```bash
pip install PyPDF2 pdf2image pillow pytesseract pdf2docx docx2pdf
```

**注意**:Windows 下还需安装:
- [Poppler](https://github.com/oschwartz10612/poppler-windows/releases/) - 用于 PDF 转图片
- [Tesseract OCR](https://github.com/UB-Mannheim/tesseract/wiki) - 用于 OCR 识别

---

## 📋 支持的命令

| 命令 | 说明 | 示例 |
|------|------|------|
| `info` | PDF 信息(页数、大小、加密状态) | `info input.pdf` |
| `extract` | 提取文本 | `extract input.pdf` |
| `merge` | 合并多个 PDF | `merge f1.pdf f2.pdf -o out.pdf` |
| `split` | 拆分 PDF | `split input.pdf 3` |
| `watermark` | 添加文字水印 | `watermark input.pdf "机密" -o out.pdf` |
| `to-word` | 转 Word | `to-word input.pdf -o out.docx` |
| `to-image` | 转图片 | `to-image input.pdf -o ./folder` |
| `to-html` | 转 HTML | `to-html input.pdf -o out.html` |
| `to-txt` | 转 TXT | `to-txt input.pdf -o out.txt` |
| `to-md` | 转 Markdown | `to-md input.pdf -o out.md` |
| `ocr` | OCR 识别(扫描件转文字) | `ocr input.pdf -o text.txt` |
| `encrypt` | 加密 PDF | `encrypt input.pdf -p 123456` |
| `decrypt` | 解密 PDF | `decrypt input.pdf -p 123456` |
| `rotate` | 旋转页面 | `rotate input.pdf 90` |
| `delete-pages` | 删除页 | `delete-pages input.pdf 1,3,5` |
| `extract-pages` | 提取页 | `extract-pages input.pdf 1,2` |
| `insert-page` | 插入 PDF | `insert-page input.pdf 2 insert.pdf` |
| `replace-page` | 替换页 | `replace-page input.pdf 3 new.pdf` |
| `add-header` | 添加页眉 | `add-header input.pdf "公司名称"` |
| `add-footer` | 添加页脚 | `add-footer input.pdf "第几页"` |
| `add-page-num` | 添加页码 | `add-page-num input.pdf` |
| `extract-images` | 提取图片 | `extract-images input.pdf -o ./imgs` |
| `extract-bookmarks` | 提取书签 | `extract-bookmarks input.pdf` |
| `reverse-pages` | 反转页面顺序 | `reverse-pages input.pdf` |
| `compress` | 压缩 PDF | `compress input.pdf high` |
| `repair` | 修复损坏 PDF | `repair input.pdf` |
| `images2pdf` | 图片转 PDF | `images2pdf a.jpg b.jpg -o out.pdf` |
| `word2pdf` | Word 转 PDF | `word2pdf input.docx` |
| `batch` | 批量处理 | `batch ./folder to-word` |

---

## 🐛 故障排查

### 问题:poppler 或 tesseract 找不到
- **Windows**:下载安装后添加到 PATH,或指定完整路径
- **Linux**:`sudo apt install poppler-utils tesseract-ocr`
- **Mac**:`brew install poppler tesseract`

### 问题:pip 安装失败
- 确保 Python 3.8+
- 尝试:`pip install --upgrade pip`

---

## 📝 更新日志

- **v1.0.0**:初始版本,支持完整 PDF 处理功能

Popular in Office

腾讯文档 TENCENT DOCSOffice

A full manual for creating, editing, and managing Tencent Docs through MCP.

↓ 2.2M★ 327u_b0de8114
WPS Office 全家桶Office

WPS Office 全家桶 - 四引擎(WPS/MS Office/LibreOffice/纯Python)智能识别用户已安装软件,纯Python模式支持排序/筛选/图表/公式/统计,含文档模板(代码生成)、最佳实践案例、故障排除大章(20+避坑+15 FAQ+15错误ID 统一索引)、自动重试、硬件自适应、环境自检、Skill更新提醒;v5.1新增:kingdoc云端桥接(白名单探测+配置预检+subprocess上传+差异检查)、条件格式/数据验证跨引擎IO(JSON中间格式保真往返)、会议纪要三段式要素化(待办清单+决策记录+风险异议)+说话人标注(MFCC聚类);v5.2新增:公文一键排版(GB/T 9704 规则库约束+结构识别套版+红头预留位+联合行文)、批量水印与敏感信息打码(身份证/手机号/银行卡/邮箱双轨识别+黑色矩形覆盖+打码清单)、跨文档知识检索与问答(本地TF-IDF零依赖+跳转+可选zwjh记忆桥接);删除:与contract-review重复的轻量合同审查模块,改为文档互链引导;v5.2.5修复:MS Office引擎下Excel/PPT创建必然失败(错用Word COM对象),新增get_ms_excel/get_ms_ppt及三槽位统一释放release_ms,MS Office路径透传filepath参数;v5.3.5修复:SKILL.md frontmatter 修复 tags 块序列误混入联系方式行导致标准 YAML 解析失败;v5.4.0新增:留存型功能——定时任务与报告中心(schedule_register 升级为三平台统一调度层 schtasks/cron/launchd,错过策略 skip/run_once,注册表 JSON 可导出导入;新建 report_center.py 报告中心,templates/reports/*.json 参数化模板 + ECharts 单文件 HTML 输出(图表内联、无服务端、双击即开);report_generator 升级支持 --format html;wps.py CLI 统一埋点 SQLite,自动供 report_center 生成周度使用摘要附在报告末尾;watch.py 职责收窄为纯事件采集);v5.3.0新增:统一CLI入口 wps(registry.json注册表分发,office --app/--action 与 convert 子命令、--list 一屏列出全部命令,薄路由层不改脚本内部逻辑)、全命令 --json 机器可读输出(固定 ok/error_id/elapsed/data 四字段,对齐 E001-E015,wps_error.py 新增 emit_json 统一出口)、_worker 启动优化(wps_pure 改惰性加载,pywin32/python-docx/openpyxl 经核查已惰性导入,ENGINE_CACHE 进程级单例复用,COM 释放统一走 release_ms 三槽位)、转换三入口合并为 convert(format_converter/md_converter/wps_docx_to_ppt 内部按目标格式路由,旧脚本保留为兼容别名并提示新命令,v6.0.0 移除)

↓ 766.6K★ 159user_1a470ba8
ppt-generator-skillOffice

A skill that generates PPT decks from a topic and style.

↓ 592.7K★ 346user_3b34947d
秘书材料星公文写作-妙笔skillOffice

体制内资深办公室主任+管理学博士,自学编程开发的智能公文写作Skill,让所有办公室同仁少掉头发、少加无用的班,材料一稿过关,省下的时间留给自己、享受生活!————————我们能给你带来的核心价值:1、颠覆传统写作:逻辑建模38类公文全链条,特有模板化引导问答模式,分分钟省心生成高质量大稿。--------2、替你“向上管理”:独有审稿人画像机制,文稿一键结构性修改,精准匹配审稿人画像,过稿率提升至少10倍!----------3、‌杜绝AI编造:缺失的数字、文号、人名、日期一律用[待补]标注,绝不杜撰,守住公文底线。-----------4、‌算法格式托底:数十万全量智控知识库+6500行前沿核心控制代码,格式精准对齐GB/T 9704,出稿零失误。——————————————————本skill历史版本开放了5%知识库的免费试用版,下载即可使用,但需注意:知识库有著作权,仅用于个人使用,不可用于其他任何目的。有兴趣的可以试试。——————————————————————单次付费版skill已发布,2元一次使用全量知识库。具体在发布者“熵衍信息”主页skill里。

↓ 578.4K★ 46u_70fc650d
WPS Office 全家桶Office

WPS Office 全家桶 - 四引擎(WPS/MS Office/LibreOffice/纯Python)智能识别用户已安装软件,纯Python模式支持排序/筛选/图表/公式/统计,含文档模板(代码生成)、最佳实践案例、故障排除大章(20+避坑+15 FAQ+15错误ID 统一索引)、自动重试、硬件自适应、环境自检、Skill更新提醒;v5.0新增:定时任务注册管理(schtasks/crontab)、目录轮询监听(YAML规则+大文件分片)、使用统计与稳定性中心(SQLite埋点+引擎健康+引擎偏好)、COM三步自愈(regsvr32→修复安装→手动指引)、对话式数据查询(NL2SQL式意图解析+查询计划+连续追问)、multi-agent编排引擎桥接(白名单探测+流水线模板注册)

↓ 508.0K★ 4user_814dbe54
WPS全家桶·办公管家.SkillOffice

WPS/MS Office/LibreOffice/纯Python 四引擎智能办公全家桶:文档/表格/PPT/公文/会议纪要一体化。

↓ 429.5K★ 2user_185644ed
腾讯文档在线协作自动化Office

通过 Tencent Docs Open API 以 curl + jq 创建、读取、列出、搜索和管理腾讯文档的自动化工作流,覆盖在线文档、在线表格、幻灯片、思维导图、流程图、智能表格与收集表七种类型,支持读取元数据与单元格区域、上传图片、创建副本,并对重命名/移动/删除等写操作强制先经用户确认。Use when the user 提到腾讯文档 / Tencent Docs / docs.qq.com、粘贴 docs.qq.com 链接,或想在其腾讯文档空间中创建、读取、整理文档时使用。Triggers include 腾讯文档、在线文档、在线表格、思维导图、流程图、智能表格、收集表。如需文案写作完整工作流套件,淘宝搜索「AI灵匣」店铺获取完整版。

↓ 428.1K★ -u_1ea983ac
kdocs skillOffice

The official skill for working with Kdocs cloud documents through kdocs-cli.

↓ 424.1K★ 128user_5ea84866

Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.