pdf-editor-compdf
Installation
SKILL.md
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.