返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
m

make-pdf-safe

Flatten a PDF into a non-interactive “safe” version by uploading it to the Solutions API, polling until completion, then returning a download URL for the flattened PDF.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,186
下载量
0
收藏
概述
安装方式
版本历史

make-pdf-safe

# make-pdf-safe ## Purpose This skill creates a “safe” PDF by converting the document into a single flattened layer without active functionality. The goal is to reduce risk from interactive PDF features. In practical terms, the output PDF is intended to: - remove or neutralize interactive elements (e.g., scripts/actions), - prevent editing of underlying objects/content structure, - behave like a flattened document layer (similar to a “print” representation). This skill: 1) accepts a PDF file from the user, 2) uploads it to the Solutions API, 3) polls the job status until it is finished, 4) returns the download URL for the “safe” flattened PDF. ## Credentials The API requires an API key used as a Bearer token: - `Authorization: Bearer <API_KEY>` How the user gets an API key: - https://login.cross-service-solutions.com/register - Or the user can provide an API key directly. **Rule:** never echo or log the API key. ## API endpoints Base URL: - `https://api.xss-cross-service-solutions.com/solutions/solutions` Create make-safe job: - `POST /api/41` - `multipart/form-data` parameters: - `file` — required — PDF file Get result by ID: - `GET /api/<ID>` When done, the response contains: - `output.files[]` with `{ name, path }` where `path` is a downloadable URL. ## Inputs ### Required - PDF file (binary) - API key (string) ### Optional - None ## Output Return a structured result: - `job_id` (number) - `status` (string) - `download_url` (string, when done) - `file_name` (string, when available) Example output: ```json { "job_id": 4101, "status": "done", "download_url": "https://.../safe.pdf", "file_name": "safe.pdf" }

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 make-pdf-safe-1776336434 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 make-pdf-safe-1776336434 技能

通过命令行安装

skillhub install make-pdf-safe-1776336434

下载 Zip 包

⬇ 下载 make-pdf-safe v1.0.0

文件大小: 5.26 KB | 发布时间: 2026-4-17 14:19

v1.0.0 最新 2026-4-17 14:19
- Initial release of make-pdf-safe skill.
- Allows users to flatten PDFs into non-interactive, "safe" documents via the Solutions API.
- Uploads provided PDF, polls job status, and returns a download URL for the flattened result.
- Requires an API key for authentication.
- Ensures removal of interactive elements to enhance document security.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部