PDF Merge

v1.0.1

合并多个 PDF 文件,支持压缩和元数据编辑(本地处理,隐私安全)

0· 92·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for fly3094/pdf-merge.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "PDF Merge" (fly3094/pdf-merge) from ClawHub.
Skill page: https://clawhub.ai/fly3094/pdf-merge
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: node
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install pdf-merge

ClawHub CLI

Package manager switcher

npx clawhub@latest install pdf-merge
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description claim merging, compression, and metadata editing. The included index.js implements exactly those operations using pdf-lib and filesystem I/O; requiring node is appropriate.
Instruction Scope
SKILL.md and the CLI only instruct running node index.js on local PDF files. The code reads/writes local files and does not perform network calls, read other config, or access environment secrets.
Install Mechanism
No registry-level install spec was provided, but SKILL.md lists npm: pdf-lib which matches the code's require('pdf-lib'). This is a minimal, typical dependency; there are no downloads from arbitrary URLs. Ensure pdf-lib is installed in your environment before running.
Credentials
The skill declares no required environment variables or credentials, and the code does not read any env vars or external credentials. The requested environment access is proportional.
Persistence & Privilege
The skill is not forced-always, does not modify other skills, and has no special persistence or privileged behavior. Autonomous invocation is allowed by platform default but the skill itself does not escalate privileges.
Assessment
This appears to be a straightforward local PDF merge tool. Before installing or running: ensure you have Node and the pdf-lib package installed in the runtime environment; confirm that your execution environment will not automatically upload files or forward logs to external services (the code itself performs only local file I/O); note the skill has no homepage/source URL and the author identity is minimal—if you require provenance, ask the publisher for the source or run the code in an isolated environment first.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📄 Clawdis
Binsnode
latestvk97am9cxxax4szt11pddbms8xn84v1cf
92downloads
0stars
2versions
Updated 1w ago
v1.0.1
MIT-0

PDF Merge Skill

合并多个 PDF 文件为一个,支持压缩和元数据编辑,完全本地处理,隐私安全。

使用方法

基本合并

node index.js merge file1.pdf file2.pdf file3.pdf -o merged.pdf

带压缩

node index.js merge file1.pdf file2.pdf -o compressed.pdf --compress

添加元数据

node index.js merge file1.pdf -o output.pdf --title "文档标题" --author "作者名"

功能特点

  • ✅ 本地处理,文件不上传
  • ✅ 支持合并多个 PDF
  • ✅ 支持 PDF 压缩
  • ✅ 支持元数据编辑
  • ✅ 保持原始质量
  • ✅ 隐私安全

示例

合并文档

# 合并两个 PDF
node index.js merge doc1.pdf doc2.pdf -o merged.pdf

# 合并多个 PDF
node index.js merge *.pdf -o all.pdf

压缩 PDF

# 压缩单个 PDF
node index.js merge large.pdf -o small.pdf --compress

# 合并并压缩
node index.js merge doc1.pdf doc2.pdf -o output.pdf --compress

添加元数据

# 添加标题和作者
node index.js merge doc.pdf -o output.pdf --title "项目报告" --author "张三"

# 添加完整元数据
node index.js merge doc.pdf -o output.pdf --title "标题" --author "作者" --subject "主题" --keywords "关键词"

许可证

MIT

作者

fly3094

Comments

Loading comments...