Maverick

pypdf

办公效率v1.0.0
作者:Maverick更新于 2026-05-11@clawhub_maverick-ai-tech/pypdf
PDF 处理#PDF

据 AlphaMoat 统计,截至 2026-09,pypdf 累计下载 1,169 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 4,950 位,在「办公效率」分类(435 个)中排名第 417 位。

累计安装
128
累计下载
1,169
星标
1
全站排名
#4,950
全站前 98% · 「办公效率」前 96%
平台累计安装累计下载星标评论
ClawHub ↗271,005--
SkillHub ↗1281,1691—

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

这个技能是做什么的

该工具使用专用 CLI 读取 PDF 文本、元数据和页面,也支持拆分、合并、旋转或转换页面。运行前应确认输入文件路径和输出位置,只处理用户指定的文档;依赖应在隔离环境中从可信来源安装并固定版本。读取结果可能包含敏感文档内容,应妥善保护输出。

资料发布于 2026-10-29

可以用来做什么

  • 读取 PDF 元数据和页数
  • 提取整份或指定页面的文本
  • 拆分、合并、旋转或转换 PDF 页面

什么时候用

  • 需要以可重复的命令行方式处理 PDF 时
  • 输入文件与输出路径已由用户明确指定时
  • 可以隔离依赖并保护提取内容时

示例提示词

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

请读取我指定的 PDF 并提取第 2 页文字,先确认输入和输出路径;不要扫描其他文件,也不要把提取内容发送到外部服务。

月度数据趋势

累计下载1,169
3457881,2302026-03 · 累计下载 4062026-05 · 累计下载 6362026-06 · 累计下载 7682026-07 · 累计下载 9132026-08 · 累计下载 1,0062026-09 · 累计下载 1,16926-0326-09
星标1
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

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

月份累计下载环比星标
2026-091,169—1
2026-081,006+10.2%1
2026-07913+18.9%1
2026-06768+20.8%1
2026-05636—-
2026-03406—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

1.8 KB · ClawHub v1.0.0
---
name: pypdf
description: Extract text, metadata, and pages from PDF files using pypdf. Use for tasks such as reading PDF content, extracting specific pages, splitting or merging PDFs, reading document metadata, and rotating or transforming pages.
metadata:
  openclaw:
    requires:
      bins:
        - python3
---
展开全部(共 46 行)
# pypdf

Use `scripts/pypdf_cli.py` for deterministic PDF operations instead of ad-hoc pypdf snippets.

## Workflow

1. Confirm the PDF file path is accessible locally.
2. Run the desired command (inspect, extract-text, extract-pages, merge, split, rotate).
3. Inspect text output or the resulting PDF file.

## Command Guide

- Inspect metadata and page count:
  - `python scripts/pypdf_cli.py info --input <file.pdf>`
- Extract all text:
  - `python scripts/pypdf_cli.py extract-text --input <file.pdf>`
- Extract text from specific pages (0-indexed):
  - `python scripts/pypdf_cli.py extract-text --input <file.pdf> --pages 0 1 2`
- Split PDF into individual pages:
  - `python scripts/pypdf_cli.py split --input <file.pdf> --output-dir <dir/>`
- Extract a page range into a new PDF:
  - `python scripts/pypdf_cli.py extract-pages --input <file.pdf> --pages 0 1 2 --output <out.pdf>`
- Merge multiple PDFs:
  - `python scripts/pypdf_cli.py merge --inputs <a.pdf> <b.pdf> <c.pdf> --output <merged.pdf>`
- Rotate pages:
  - `python scripts/pypdf_cli.py rotate --input <file.pdf> --angle 90 --output <rotated.pdf>`
  - `--angle` must be 90, 180, or 270.
  - Optionally restrict to specific pages with `--pages 0 2`.

## Operational Rules

- Pages are always 0-indexed in all commands.
- For `extract-text`, output goes to stdout; redirect to a file when needed.
- Require explicit `--output` for commands that write a new PDF.
- Install dependency if missing: `pip install pypdf`.

「办公效率」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。