简介
基于 Cross-Service-Solutions API 的专业 PDF 合并工具,通过安全上传与轮询机制,快速整合多份文档并返回下载链接,适用于日常办公文档整合场景。
原始描述
Merge multiple user-provided PDF files by uploading them to Cross-Service-Solutions, polling until completion, then returning a download URL for the merged PDF.
中文使用说明 来自收录源
核心用法
merge-pdf 是一个纯 Markdown 文档型技能,专用于 PDF 文件合并。用户上传一个或多个 PDF 文件后,Skill 会自动调用 Cross-Service-Solutions (XSS) 的合并 API:首先通过 POST /api/30 提交文件创建任务,随后轮询 GET /api/<ID> 查询处理状态,最终在完成后返回下载链接。
使用流程
- 准备待合并的 PDF 文件(顺序即为合并后的页序)
- 提供 XSS API Key(Bearer Token 形式)
- 等待后台处理完成,获取合并后的 PDF 下载 URL
显著优点
- 极简集成:纯文档型设计,无需本地安装复杂依赖,开箱即用
- 云原生处理:利用 XSS 云端基础设施处理大文件,不占用本地资源
- 顺序可控:文件上传顺序直接决定合并后的页码排列
- 输出结构化:返回包含 job_id、status、download_url、file_name、input_files 的完整 JSON,便于后续自动化处理
- 顶级安全认证:通过 S+ 级安全扫描,98 分高分,无任何安全威胁发现
潜在缺点与局限性
- 外部服务依赖:完全依赖 Cross-Service-Solutions API 可用性,网络中断或服务宕机将导致功能失效
- API Key 管理成本:用户需自行注册获取并保管 API Key,存在密钥泄露风险
- 无本地处理能力:不支持离线使用,所有文件需上传至第三方服务器
- 无高级合并选项:暂不支持页面旋转、水印添加、加密保护等进阶功能
- 隐私顾虑:敏感文档需上传至外部云服务商,尽管 HTTPS 加密传输,仍可能存在合规性考量
适合人群
- 需要快速合并多份 PDF 的办公人员、行政助理
- 开发集成文档处理流程的自动化工程师
- 合同、发票、报告归档场景下的企业用户
- 希望避免本地安装 Adobe/PDFtk 等重型工具的个人用户
常规风险
- API 密钥泄露:若 Key 硬编码或误提交至版本控制,可能导致未授权使用
- 网络嗅探风险:虽采用 HTTPS,但公共 Wi-Fi 环境下仍需警惕中间人攻击
- 服务变更风险:XSS 未来可能调整 API 接口或计费策略,导致 Skill 需同步更新
- 数据滞留风险:用户无法完全掌控上传文件在服务器端的存储周期与删除策略
安全评估摘要
该 Skill 为 T-MD 类型(纯 Markdown 文档型),无任何可执行代码,依赖单一的 requests>=2.32.0 库。所有网络通信均通过 TLS 1.2+ 加密指向官方 XSS 域名,符合 GDPR/CCPA 隐私要求,无敏感数据静默收集行为。
技能正文
name: merge-pdf description: Merge multiple user-provided PDF files by uploading them to Cross-Service-Solutions, polling until completion, then returning a download URL for the merged PDF. license: MIT compatibility: agentskills: ">=0.1.0" metadata: category: document-processing tags: - pdf - merge - cross-service-solutions provider: Cross-Service-Solutions (XSS) allowed-tools:
- http
- files
merge-pdf-files
Purpose
This skill merges multiple PDFs by:
- accepting multiple PDF files from the user,
- uploading them to the Cross-Service-Solutions merge API,
- polling the job status until it is finished,
- returning the merged PDF download URL.
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 merge job:
POST /api/30multipart/form-dataparameters:files(PDF Dokument) — required — multiple PDF files (multiple_files)
Get result by ID:
GET /api/<ID>
When done, the response contains:
output.files[]with{ name, path }wherepathis a downloadable URL.
Inputs
Required
- One or more PDF files (binary)
- An API key (string)
Optional
- None (ordering is determined by the provided file list order)
Output
Return a structured result:
job_id(number)status(string)download_url(string, when done)file_name(string, when available)input_files(array of strings)
Example output:
{
"job_id": 456,
"status": "done",
"download_url": "https://.../merged.pdf",
"file_name": "merged.pdf",
"input_files": ["a.pdf", "b.pdf", "c.pdf"]
}
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。
其他来源收录
同一技能在不同目录的原始页面: