← ClaudeAtlas

pdf-editor-compdflisted

Tool to edit and process PDF files using the compdf_cli command-line utility. Supports advanced page manipulation (split, merge, extract, insert, rotate, delete), document comparison, file compression, format conversion, and comprehensive watermark management (add/remove). Use when reorganizing PDF structures, optimizing file sizes, editing watermarks, or comparing and converting documents for LLM processing or text analysis.
ComPDFKit/compdf-skills · ★ 100 · Data & Documents · score 79
Install: claude install-skill ComPDFKit/compdf-skills
# 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 syntax | `cmd` + `REM` | `bash` + `#` | > `{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