कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

compress-pdf

crossservicesolutions द्वारा

Coding Agents & IDEs
1.6kclawskills.sh द्वारा बताए गए डाउनलोड
1स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Compress a user-provided PDF by uploading it to Cross-Service-Solutions, polling until completion, then returning.

विवरण

यह स्किल क्या करती है

Compresses PDF files using the Cross-Service-Solutions API. Uploads the file, polls for job completion, and returns a download URL for the compressed result. Supports configurable image quality and DPI settings.

Handles the full upload-poll-download cycle automatically, so users get a ready-to-use download link without manual API interaction.

इसे कब इस्तेमाल करें

  • Shrinking large PDF reports before emailing
  • Reducing PDF size to meet upload limits on web forms
  • Compressing scanned documents for cloud storage
  • Preparing PDFs for faster sharing over slow connections
  • Batch-reducing file sizes before archiving

उदाहरण वर्कफ़्लो

इनपुट

User asks: 'Compress this PDF with image quality 60 and 96 DPI'

एजेंट
  1. 1

    Accepts the PDF file and API key from the user

  2. 2

    POSTs the file to /api/29 with imageQuality=60 and dpi=96 as multipart/form-data

  3. 3

    Polls GET /api/<job_id> until the job status indicates completion

  4. 4

    Extracts the download URL from output.files[]

आउटपुट

{"job_id": 456, "status": "done", "download_url": "https://.../compressed.pdf", "file_name": "compressed.pdf", "settings": {"imageQuality": 60, "dpi": 96}}

आवश्यकताएँ

  • Cross-Service-Solutions API key (sign up at https://login.cross-service-solutions.com/register)

इंस्टॉलेशन

clawhub install crossservicesolutions/compress-pdf

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक