본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

make-pdf-safe

crossservicesolutions 제작

Git & GitHub
949clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Flatten a PDF into a non-interactive “safe” version by uploading it to the Solutions API, polling until completion.

설명

이 스킬이 하는 일

Flattens a PDF into a non-interactive version by removing scripts, form fields, and other active elements. Uploads the file to the Cross-Service Solutions API, polls for job completion, and returns a download URL for the sanitized document.

Automates a multi-step upload-poll-download cycle against a dedicated flattening API, eliminating manual use of print-to-PDF workarounds that don't reliably strip all interactive elements.

사용 시점

  • Sanitizing PDF attachments before forwarding to clients
  • Stripping form fields from contracts before archiving
  • Removing scripts from third-party PDFs before internal distribution
  • Preparing PDFs for read-only sharing where editing must be prevented
  • Converting interactive PDFs to static versions for compliance workflows

예시 워크플로

입력

User asks: flatten this contract.pdf and give me a safe version

에이전트
  1. 1

    Read the PDF file from the user

  2. 2

    Upload the file to POST /api/41 as multipart/form-data using the API key as a Bearer token

  3. 3

    Poll GET /api/<job_id> until the status indicates completion

  4. 4

    Extract the download URL from output.files[0].path

  5. 5

    Return the job ID, status, and download URL to the user

출력

{"job_id": 4101, "status": "done", "download_url": "https://.../safe.pdf", "file_name": "safe.pdf"}

요구 사항

  • Cross-Service Solutions API key from https://login.cross-service-solutions.com/register

설치

clawhub install crossservicesolutions/make-pdf-safe

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크