← Back to Skills Marketplace
fly3094

PDF Merge

by fly3094 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
88
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install pdf-merge
Description
合并多个 PDF 文件,支持压缩和元数据编辑(本地处理,隐私安全)
README (SKILL.md)

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

Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill Name: pdf-merge Version: 1.0.1 The skill provides legitimate PDF merging, compression, and metadata editing functionality using the 'pdf-lib' library. Analysis of 'index.js' shows that all file operations are local, there are no network requests or external data exfiltration, and the code logic strictly follows the instructions provided in 'SKILL.md'.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pdf-merge
  3. After installation, invoke the skill by name or use /pdf-merge
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
添加 PDF 压缩和元数据编辑功能
v1.0.0
pdf-merge 1.0.0 - 首次发布,可将多个 PDF 文件合并为一个新文件 - 全程本地处理,确保隐私安全 - 支持批量合并,无文件数量限制 - 保持原始 PDF 文件质量 - 简单命令行使用,无需上传文件
Metadata
Slug pdf-merge
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is PDF Merge?

合并多个 PDF 文件,支持压缩和元数据编辑(本地处理,隐私安全). It is an AI Agent Skill for Claude Code / OpenClaw, with 88 downloads so far.

How do I install PDF Merge?

Run "/install pdf-merge" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is PDF Merge free?

Yes, PDF Merge is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does PDF Merge support?

PDF Merge is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created PDF Merge?

It is built and maintained by fly3094 (@fly3094); the current version is v1.0.1.

💬 Comments