Xpersona
P

pdf-tool

CLAWHUB · Unverified

Split, merge, watermark, and extract text from PDF files — PyPDF2 based. Skill: pdf-tool Owner: martin-sh-ni Summary: Split, merge, watermark, and extract text from PDF files — PyPDF2 based. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-12T01:08:37.573Z | user 首发 Archive index: Archive v1.0.0: 3 files, 2001 bytes Files: skill-card.md (1457b), SKILL.md (1268b), _meta.json (127b) File v1.0.0:SKILL.md --- name: PDF Tool description: Split, merge, watermark, and extract text from PDF f

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17981j1g3tbrrgtr0ft2qjwbh83sfzx:pdf-tool
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-martin-sh-ni-pdf-tool/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

2,910 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: PDF Tool
description: Split, merge, watermark, and extract text from PDF files — PyPDF2 based.
---

# PDF Tool(PDF批量处理工具)

> PDF拆分/合并/水印/文本提取 | PyPDF2驱动

## 功能 | Features

- ✅ **合并PDF** — 多个PDF合并为一个
- ✅ **拆分PDF** — 按页数范围拆分
- ✅ **添加水印** — 文字水印保护内容
- ✅ **提取文本** — 提取PDF中的纯文本内容

## 使用场景 | Use Cases

| 模式 | 说明 |
|---|---|
| merge | 多份合同合并为一本 |
| split | 按章节拆分成独立PDF |
| watermark | 添加"机密"水印 |
| extract_text | 提取合同正文内容 |

## 使用方式 | Usage

```
输入参数:
  mode        操作模式: split / merge / watermark / extract_text
  files       文件路径列表(merge/split用)
  output      输出文件路径
  watermark   水印文字(watermark模式用)

输出:
  success     是否成功
  text/msg    结果信息
```

## 示例 | Example

```python
# 合并
result = pdf_tool(mode="merge", files=["a.pdf", "b.pdf"], output="merged.pdf")

# 提取文本
result = pdf_tool(mode="extract_text", files=["contract.pdf"])
print(result["text"][:500])
```

## 依赖 | Dependencies

```
PyPDF2 >= 3.0.0
```

*版本 v1.0*

_meta.json

{
  "ownerId": "kn70dx6jhh943k9zcbsxct4grn83rnm4",
  "slug": "pdf-tool",
  "version": "1.0.0",
  "publishedAt": 1775956117573
}

skill-card.md

## Description:

Split, merge, watermark, and extract text from PDF files using PyPDF2.

This skill is ready for commercial/non-commercial use.

## Publisher:

[martin-sh-ni](https://clawhub.ai/user/martin-sh-ni)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and document-processing users can use this skill to merge, split, watermark, and extract text from local PDF files.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Local PDF processing may expose document contents or overwrite existing output files if used with sensitive documents or conflicting paths.

Mitigation: Use a trusted runtime environment for sensitive PDFs and choose non-conflicting output filenames.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/martin-sh-ni/skills/pdf-tool)

## Skill Output:

**Output Type(s):** [Files, Text, Code, Guidance]

**Output Format:** [JSON-like result objects and generated PDF or text output]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Returns success status with text or message fields depending on the selected PDF operation.]

## Skill Version(s):

1.0.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to pdf-tool and adjacent AI workflows.