Compress PDF
/install compress-pdf
\r \r
compress-pdf\r
\r
Purpose\r
This skill compresses a PDF by:\r
- accepting a PDF file from the user,\r
- uploading it to the Cross-Service-Solutions compression API,\r
- polling the job status until it is finished,\r
- returning the compressed file download URL.\r \r
Credentials\r
The API requires an API key used as a Bearer token:\r
Authorization: Bearer \x3CAPI_KEY>\r \r How the user gets an API key:\r- They can sign up and get their key at:\r https://login.cross-service-solutions.com/register\r
- Or they can provide an API key directly to the bot.\r \r Rule: never echo or log the API key.\r \r
API endpoints\r
Base URL:\r
https://api.xss-cross-service-solutions.com/solutions/solutions\r \r Create compression job:\rPOST /api/29\rmultipart/form-dataparameters:\rfile(PDF Dokument) — required — PDF file\rimageQuality— required — number 0..100 (default 75)\rdpi— required — number 72..300 (default 144)\r \r Get result by ID:\r
GET /api/\x3CID>\r \r When done, the response contains:\routput.files[]with{ name, path }wherepathis a downloadable URL.\r \r
Inputs\r
Required\r
- A PDF file (binary)\r
- An API key (string)\r \r
Optional\r
imageQuality(0..100), default 75\rdpi(72..300), default 144\r \r
Output\r
Return a structured result:\r
job_id(number)\rstatus(string)\rdownload_url(string, when done)\rfile_name(string, when available)\rsettings(object)\r \r Example output:\r
{\r
"job_id": 123,\r
"status": "done",\r
"download_url": "https://.../compressed.pdf",\r
"file_name": "compressed.pdf",\r
"settings": { "imageQuality": 75, "dpi": 144 }\r
}\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install compress-pdf - After installation, invoke the skill by name or use
/compress-pdf - Provide required inputs per the skill's parameter spec and get structured output
What is Compress PDF?
Compress a user-provided PDF by uploading it to Cross-Service-Solutions, polling until completion, then returning a download URL for the compressed file. It is an AI Agent Skill for Claude Code / OpenClaw, with 1974 downloads so far.
How do I install Compress PDF?
Run "/install compress-pdf" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Compress PDF free?
Yes, Compress PDF is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Compress PDF support?
Compress PDF is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Compress PDF?
It is built and maintained by CrossServiceSolutions (@crossservicesolutions); the current version is v1.0.0.