Token导航 LogoToken导航

Agent Skill · 开发

pdf-editor-compdf(PDF editor compdf 开发)

pdf-editor-compdf 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

pdf-editor-compdf 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 5,501。

总安装 6,205周安装 256GitHub Stars 94下载 2,028核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pdf-editor-compdf(PDF editor compdf 开发)
来源仓库:https://github.com/compdf-youna/pdf-editor-compdf
安装命令:
openclaw skills install pdf-editor-compdf
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pdf-editor-compdf

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

pdf-editor-compdf 基于 ComPDF 技术开发,支持页面级 PDF 编辑操作。适用于文档重组、章节排序与版面优化任务。pdf-editor-compdf 属于开发类 Skill,可作为该场景下的辅助能力补充。可插入、删除、交换页面并导出为标准 PDF。

使用前需确认 ComPDF 服务可用性,部分高级功能可能受许可证限制。建议备份原文件,防止误操作导致内容丢失。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install pdf-editor-compdf;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pdf-editor-compdf 怎么安装?

在终端执行 openclaw skills install pdf-editor-compdf。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pdf-editor-compdf 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pdf-editor-compdf 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install pdf-editor-compdf 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

pdf-editor-compdf 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

pdf-editor-compdf 用的人多吗?

公开数据是累计安装 6,205 次,近一周安装 256 次,下载 2,028 次,GitHub 94 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pdf-editor-compdf 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
pdf-editor-compdf

PDF editor compdf 开发 · 本页

6,20594执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
pdf-editor-compdf
version
1.1.0
description
>
license
Proprietary. ComPDFKit SDK license obtained via online activation API.
homepage
https://www.compdf.com
compatibility
[Windows] Requires Windows (x64/x86) and .NET Framework runtime | [Mac] Requires macOS (arm64/x86_64) with ComPDFKit.framework
metadata
clawdbot
emoji
📑
os
requires
bins

PDF Editor — PDF Document Processing CLI Tool

Platform Detection (Agent must execute automatically)

Before running any CLI command, the Agent must automatically detect the platform (read env.platform: win32→Windows, darwin→Mac; or run uname -s). Do NOT ask the user about their platform.

Variable[Windows][Mac]
<CLI>{skill_root}/scripts/win/compdf_cli.exe{skill_root}/scripts/mac/compdf_cli
<LICENSE_PATH>{skill_root}/scripts/win/license_key_windows.xml{skill_root}/scripts/mac/license_key_mac.xml
<LICENSE_API_BODY>{"email":"<email>"}{"email":"<email>"}
<ICC_SRGB>{skill_root}/scripts/win/PDFA/sRGB2014.icc{skill_root}/scripts/mac/PDFA/sRGB2014.icc
<ICC_FOGRA>{skill_root}/scripts/win/PDFA/CoatedFOGRA39.icc{skill_root}/scripts/mac/PDFA/CoatedFOGRA39.icc
Shell syntaxcmd + REMbash + #
{skill_root} = the absolute path of the directory containing this SKILL.md.

CLI Download & Installation (Required on first use)

The CLI binary is not included in the Skill package. It is downloaded from the official ComPDFKit distribution server (download.compdf.com) operated by PDF Technologies, Inc. The Agent must complete the following steps before the first execution:

  1. Check whether <CLI> exists → skip if it does
  2. Inform the user that the CLI binary will be downloaded from download.compdf.com (official ComPDFKit CDN)
  3. Download the appropriate archive for the platform:

- [Windows]: https://download.compdf.com/skills/winCLI/win.zip - [Mac]: https://download.compdf.com/skills/macCLI/mac.zip

  1. Extract the archive to the {skill_root}/scripts/ directory (the zip already contains a win/ or mac/ prefix, so the correct directory structure is formed automatically after extraction)
  2. [Mac] After extraction, run: chmod +x {skill_root}/scripts/mac/compdf_cli
  3. Verify: run <CLI> --help to confirm the binary is executable
Download is performed once on first use only; no re-download is needed on subsequent runs.

License Activation (Required on first use)

  1. Check whether <LICENSE_PATH> exists → skip if it does
  2. Ask the user for their email address (explain: the email is sent to the official ComPDFKit license server to obtain a free trial license; no other data is transmitted)
  3. After the user confirms, send POST https://wms.compdf.com/api/license/skillsTrial, Body: <LICENSE_API_BODY>

- code=200: write the data.license XML to <LICENSE_PATH> - code=500: prompt the user to retry with a different email address

  1. Run <CLI> --help to verify activation

Common Options

The following options apply to all commands (they are not repeated in individual command references):

OptionDescriptionDefault
--output, -o <path>Output file path or directoryDirectory of the input file
--name <filename>Output filename{original_filename}_{command_name}.pdf
--overwriteAllow overwriting existing filesNo

Command Reference

split — Split PDF

<CLI> split <input.pdf> [options]

OptionDescriptionDefault
`--mode <all\range>`all=split into individual pages, range=split by rangeall
--range <range>Page range, e.g. "1-3" (range mode only)—

Output naming: all → {original_filename}_page_{page_number}.pdf; range → {original_filename}_pages_{start}-{end}.pdf

merge — Merge PDFs

<CLI> merge <file1.pdf> <file2.pdf> [file3.pdf ...] [options]

Encrypted PDFs are skipped automatically; if fewer than 2 unencrypted files remain, the command fails.

extract — Extract Pages

<CLI> extract <input.pdf> --range <range> [options]

OptionDescription
--range <range>Required, e.g. "2-5" or "3"

rotate — Rotate Pages

<CLI> rotate <input.pdf> --pages <range> --angle <90|180|270> [options]

OptionDescription
--pages <range>Required, page range
`--angle <90\180\270>`Required, rotation angle

delete — Delete Pages

<CLI> delete <input.pdf> --pages <range> [options]

OptionDescription
--pages <range>Required, page range to delete

insert — Insert Pages/Images

<CLI> insert <target.pdf> --source <source.pdf> --pages <range> --at <position> [options]
<CLI> insert <target.pdf> --image <imagePath> --at <position> --width <width> --height <height> [options]
OptionDescription
--source <source.pdf>Source PDF (mutually exclusive with --image)
--image <imagePath>Image path (mutually exclusive with --source)
--pages <range>Page range from the source PDF; --source mode only
--at <position>Required, insert before page N (1-based)
--width <width> / --height <height>Image page dimensions; --image mode only (A4: 595×842)

convert — Standard Format Conversion

<CLI> convert <input.pdf> --standard <format> [options]

OptionDescriptionDefault
--standardRequired: pdfa-1a pdfa-1b pdfa-2a pdfa-2b pdfa-2u pdfx-4 pdfe-1 pdfua-1—
--icc <path>ICC profile file<ICC_SRGB> or <ICC_FOGRA>
--title <title>PDF/UA title (pdfua-1 only)Input filename
--language <language>PDF/UA language (pdfua-1 only)Win: en-US / Mac: en

--language supported values: Win en-US/zh-CN/ja-JP/ko-KR/fr-FR/de-DE | Mac en/zh/ja/ko

Examples:

<CLI> convert "report.pdf" --standard pdfa-1a --overwrite
<CLI> convert "report.pdf" --standard pdfua-1 --title "My Document" --language zh-CN --overwrite

optimize — Document Optimization & Compression

<CLI> optimize <input.pdf> [options]

OptionDescriptionDefault
--compress-imagesEnable image compressionNo
--image-quality <0-100>Image quality50
--target-ppi <integer>Target image PPI150
--upper-ppi <integer>Compression upper-limit PPIWin 300 / Mac 225
--image-alg <algorithm>jpeg/jpeg2000/jbig2/ccitt3/ccitt4jpeg2000
--fast-web-viewFast Web View optimizationNo
--optimize-page-contentPage content optimizationNo
--remove-annotationsRemove annotationsNo
--remove-bookmarksRemove bookmarksNo
--remove-formRemove formsNo
--remove-metadataRemove metadataNo
--remove-doc-infoRemove document infoNo
--incrementalIncremental save modeNo

Default behavior: removes unused/empty objects and enables Flate compression. Image compression is only enabled when --compress-images or image-related parameters are explicitly passed.

Examples:

<CLI> optimize "report.pdf" --overwrite
<CLI> optimize "report.pdf" --compress-images --image-quality 55 --target-ppi 144 --overwrite

compare — Overlay Document Comparison

<CLI> compare <old.pdf> <new.pdf> [options]

OptionDescriptionDefault
--old-pages / --new-pagesPage rangeAll pages
--old-color / --new-colorStroke color R,G,B255,0,0 / 0,0,255
--old-stroke-alpha / --new-stroke-alphaStroke opacity 0-10.8
--old-fill-alpha / --new-fill-alphaFill opacity 0-10.2
--no-fillHide fillNo
--blend-modenormal/multiply/screen/overlay/darken/lighten/differenceoverlay

watermark-text — Add Text Watermark

<CLI> watermark-text <input.pdf> --text <content> [options]

watermark-image — Add Image Watermark

<CLI> watermark-image <input.pdf> --image <image_path> [options]

Shared Watermark Options

OptionDescription[Win] Default[Mac] Default
--text <content>Watermark text (watermark-text only)——
--image <path>Image path (watermark-image only)——
--pages <range>Page range to applyAllAll
--font <font>Font (text only)HelveticaHelvetica
--font-sizeFont size (text only)2448.0
--color <R,G,B>Text color (text only)192,192,1920,0,0
--opacityOpacity120 (0-255)0.5 (0-1)
--rotationRotation angle450.0
--scaleScale factor1.01.0
--h-align / --v-alignAlignment `left\center\right / top\center\bottom`centercenter
--x-offset / --y-offsetOffset00
--h-spacing / --v-spacingSpacing800.0
--front / --backForeground/backgroundForegroundForeground
--full-screen / --singleTiled/singleTiledMust be passed explicitly
⚠️ Mac: --full-screen is not enabled by default; tiled watermarks must be passed explicitly.

Examples — [Windows]:

<CLI> watermark-text "report.pdf" --text "CONFIDENTIAL" --overwrite
<CLI> watermark-image "report.pdf" --image "logo.png" --scale 0.5 --opacity 100 --overwrite

Examples — [Mac]:

<CLI> watermark-text "report.pdf" --text "CONFIDENTIAL" --full-screen --overwrite
<CLI> watermark-image "report.pdf" --image "logo.png" --scale 0.5 --opacity 0.3 --full-screen --overwrite

watermark-delete — Remove All Watermarks

<CLI> watermark-delete <input.pdf> [options]

[Win] DeleteWatermarks() removes all watermarks; [Mac] iterates and removes one by one. Selective removal is not supported.

Exit Codes

CodeMeaningAction
0Success—
1Parameter errorCheck required parameters
2File not foundCheck path; wrap paths with spaces in double quotes
3Runtime errorPDF processing failed or output directory is not writable
4License failureMissing → run activation; Expired → direct user to contact sales

Usage Patterns (Agent quick reference)

User saysCommand
"Split into single pages"<CLI> split "input.pdf" --mode all --overwrite
"Merge PDFs"<CLI> merge "a.pdf" "b.pdf" --output "merged.pdf" --overwrite
"Extract pages X to Y"<CLI> extract "input.pdf" --range X-Y --output "out.pdf" --overwrite
"Convert to PDF/A"<CLI> convert "input.pdf" --standard pdfa-1a --overwrite
"Compress PDF"<CLI> optimize "input.pdf" --compress-images --image-quality 50 --overwrite
"Compare two PDFs"<CLI> compare "old.pdf" "new.pdf" --overwrite
"Add text watermark"<CLI> watermark-text "input.pdf" --text "CONFIDENTIAL" --overwrite
"Add image watermark"<CLI> watermark-image "input.pdf" --image "logo.png" --overwrite
"Remove watermark"<CLI> watermark-delete "input.pdf" --overwrite
"Rotate pages"<CLI> rotate "input.pdf" --pages X-Y --angle 90 --overwrite
"Delete page X"<CLI> delete "input.pdf" --pages X --overwrite
"Insert pages"<CLI> insert "target.pdf" --source "src.pdf" --pages X --at N --overwrite
"Insert image"<CLI> insert "target.pdf" --image "img.png" --at N --width 595 --height 842 --overwrite
⚠️ Mac watermark commands require --full-screen to be passed explicitly (when tiling is desired).

Limitations

  1. Page ranges only support "N" or "N-M"; comma-separated values are not supported
  2. Except for merge (which skips encrypted files automatically), encrypted PDFs will cause an error and exit
  3. Wildcards, output path equal to input path, and multi-threaded parallel execution are not supported
  4. Results of standard format conversion and optimization depend on the content of the input PDF
  5. watermark-delete removes all watermarks; selective removal is not supported
  6. compare performs visual overlay comparison and does not output a structured diff list

Troubleshooting

IssueResolution
Exit 4 / License error<LICENSE_PATH> missing → run activation; exists but still errors → License expired, direct user to https://www.compdf.com/contact-sales
File not foundCheck path; wrap paths containing spaces in double quotes
Page number out of rangeFirst confirm the total page count of the PDF
Standard format conversion failedCheck font embedding and whether the ICC file matches the target standard
Optimize/compare/watermark failedConfirm the input PDF can be opened and is not encrypted; check parameter format and output path permissions

Security & Privacy

All PDF processing is performed locally. No file content is uploaded.

External EndpointPurposeData SentWhenUser Consent
https://download.compdf.com/skills/...Download CLI binaryNone (HTTP GET)First use only, if CLI not presentUser is informed before download
POST https://wms.compdf.com/api/license/skillsTrialSDK license activationEmail address onlyFirst use only, if license not presentUser provides email and confirms
  • Official Source: Both endpoints are operated by PDF Technologies, Inc. (a KDAN Company), the publisher of ComPDFKit SDK.
  • No Telemetry: The CLI does not collect usage statistics, crash reports, or any anonymous data.
  • No Network Dependency: After initial setup, all commands run fully offline without accessing any external services.
  • License File: The license_key_windows.xml / license_key_mac.xml generated after activation is stored only in the local scripts/ directory.

Copyright & License

This Skill is built on the ComPDFKit SDK. © 2014-2026 PDF Technologies, Inc., a KDAN Company. All Rights Reserved.

  • License file: License.txt | Terms of Service: https://www.compdf.com/terms-of-service
  • Privacy Policy: https://www.compdf.com/privacy-policy | Commercial Licensing: https://www.compdf.com/contact-sales

平台分布

OpenClaw

93.48%
按下载量换算1,896

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install pdf-editor-compdf 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills