Convert one or multiple documents to PDF by uploading them to Cross-Service-Solutions, polling until completion, then returning download URL(s) for the converted PDF(s) (or a ZIP if multiple).
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install convert-to-pdf或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install convert-to-pdf⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/convert-to-pdf/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: convert-to-pdf description: Convert one or multiple documents to PDF by uploading them to Cross-Service-Solutions, polling until completion, then returning download URL(s) for the converted PDF(s) (or a ZIP if multiple). license: MIT compatibility: agentskills: ">=0.1.0" metadata: category: document-processing tags: - pdf - convert - doc-to-pdf - cross-service-solutions provider: Cross-Service-Solutions (Solutions API) allowed-tools: - http - files ---
This skill converts one or multiple documents to PDF by: 1) accepting one or multiple input files from the user, 2) uploading them to the Solutions API convert endpoint, 3) polling the job status until it is finished, 4) returning download URL(s) for the resulting file(s). If multiple files are converted, the output may contain multiple PDFs and/or a ZIP for download.
The API requires an API key used as a Bearer token:
Authorization: Bearer
How the user gets an API key:
Rule: never echo or log the API key.
Base URL:
https://api.xss-cross-service-solutions.com/solutions/solutions
Create convert job:
POST /api/31
multipart/form-data parameters:
- files (Dokument) — required — multiple files (multiple_files)
- You can convert multiple files and different types into multiple PDFs.
- Multiple files can be downloadable as a zip-file.
Get result by ID:
GET /api/
When done, the response contains:
output.files[] with { name, path } where path is a downloadable URL (PDFs and/or ZIP).
Return a structured result:
job_id (number)
status (string)
outputs (array) containing { name, path } for each output file
- download_url (string) if exactly one output exists
- download_urls (array of strings) for all outputs
input_files (array of strings)
Example output:
{
"job_id": 789,
"status": "done",
"outputs": [
{ "name": "file1.pdf", "path": "https://.../file1.pdf" },
{ "name": "file2.pdf", "path": "https://.../file2.pdf" },
{ "name": "converted.zip", "path": "https://.../converted.zip" }
],
"download_urls": [
"https://.../file1.pdf",
"https://.../file2.pdf",
"https://.../converted.zip"
],
"input_files": ["file1.docx", "file2.pptx"]
}安装 Convert to PDF 后,可以对 AI 说这些话来触发它
Help me get started with Convert to PDF
Explains what Convert to PDF does, walks through the setup, and runs a quick demo based on your current project
Use Convert to PDF to convert one or multiple documents to PDF by uploading them to Cross...
Invokes Convert to PDF with the right parameters and returns the result directly in the conversation
What can I do with Convert to PDF in my documents & notes workflow?
Lists the top use cases for Convert to PDF, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/convert-to-pdf/ 目录(个人级,所有项目可用),或 .claude/skills/convert-to-pdf/(项目级)。重启 AI 客户端后,用 /convert-to-pdf 主动调用,或让 AI 根据上下文自动发现并使用。
Convert to PDF 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Convert to PDF 可免费安装使用。请查阅仓库了解许可证信息。
Convert one or multiple documents to PDF by uploading them to Cross-Service-Solutions, polling until completion, then returning download URL(s) for the converted PDF(s) (or a ZIP if multiple).
Convert to PDF 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Convert to PDF
Identifies repetitive steps in your workflow and sets up Convert to PDF to handle them automatically