← 返回 Skills 市场
rishabhdugar

Document to PDF

作者 Rishabh Dugar · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
131
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install document-to-pdf
功能描述
Convert office documents (DOCX, DOC, PPT, PPTX, XLS, XLSX, CSV, TXT, ODT, RTF) to PDF via the PDFAPIHub cloud API. Documents are uploaded to pdfapihub.com fo...
使用说明 (SKILL.md)

Document to PDF

What It Does

Converts office documents to PDF via the PDFAPIHub hosted API. Your document is uploaded to PDFAPIHub servers for processing and the converted PDF is returned. Supports a wide range of input formats including Word, PowerPoint, Excel, and text files.

When to Use

  • Convert DOCX/DOC files to PDF
  • Convert spreadsheets (XLS/XLSX/CSV) to PDF
  • Convert presentations (PPT/PPTX) to PDF
  • Convert plain text or RTF to PDF

Supported Input Formats

doc, docx, odt, rtf, txt, ppt, pptx, odp, xls, xlsx, ods, csv

Required Inputs

Provide one of:

  • url — public URL to the document
  • file — base64-encoded document (set input_format too)
  • Multipart upload with file field

Authentication

This skill calls the PDFAPIHub hosted API at https://pdfapihub.com/api. Your document is sent to PDFAPIHub servers for conversion.

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Privacy note: Documents you convert are uploaded to PDFAPIHub's cloud service. Do not send confidential documents unless you trust the service. Files are auto-deleted after 30 days.

Use Cases

  • Document Standardization — Convert uploaded DOCX/PPTX/XLSX files to PDF for consistent viewing
  • E-Signature Workflows — Convert Word contracts to PDF before sending for signature
  • Archival — Convert office documents to PDF/A for long-term storage
  • Email Attachments — Convert spreadsheets or presentations to PDF before emailing
  • Publishing Pipelines — Convert authored DOCX content to PDF for distribution
  • LMS Content — Convert course materials (PPTX, DOCX) to PDF for student downloads

Aliases

  • /v1/convert/document/pdf is an alias for this endpoint

Example Usage

curl -X POST https://pdfapihub.com/api/v1/convert/docx/pdf \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://pdfapihub.com/sample.docx",
    "output": "url"
  }'
安全使用建议
This skill appears to do what it claims: it uploads documents to PDFAPIHub and returns a PDF. Before installing or using it: (1) confirm how you will supply the CLIENT-API-KEY (the registry metadata did not declare an env var — the agent will need the key at runtime or stored by the platform); (2) do not send confidential or sensitive documents unless you trust pdfapihub.com's security and retention policy (SKILL.md says files are auto-deleted after 30 days); (3) store API keys securely and check how the platform persists keys/inputs; (4) if you must convert sensitive files, prefer an on-device or internal conversion tool instead of a third-party cloud API.
功能分析
Type: OpenClaw Skill Name: document-to-pdf Version: 1.0.1 The skill is a straightforward wrapper for the PDFAPIHub cloud service, designed to convert various document formats to PDF. It clearly documents its reliance on an external API (pdfapihub.com), explicitly warns users about data privacy risks associated with cloud uploads, and lacks any indicators of malicious intent, such as hidden data exfiltration, unauthorized command execution, or prompt injection.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
Name/description say: convert office docs to PDF via PDFAPIHub. SKILL.md and skill.json describe exactly that API (https://pdfapihub.com/api) and accepted input/output formats. There are no unrelated credentials, binaries, or install steps demanded by the skill.
Instruction Scope
Runtime instructions are narrowly scoped to uploading a document (URL, base64, or multipart) to PDFAPIHub and retrieving the converted PDF. The document upload and API endpoint are explicit; the skill does not instruct the agent to read local system files, other credentials, or send data to unexpected endpoints.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is downloaded or written to disk by the skill itself, which is the lowest-risk install model.
Credentials
SKILL.md and skill.json require an API key presented in the CLIENT-API-KEY header. However registry metadata lists no required environment variables or primary credential — this is an inconsistency: the skill needs an API key at runtime but does not declare a platform-level required env var. Apart from that, no other unrelated secrets or env access are requested.
Persistence & Privilege
always:false (default), user-invocable and agent-autonomous invocation allowed (platform default). The skill does not request persistent system-wide modifications or cross-skill configuration changes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install document-to-pdf
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /document-to-pdf 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Clarify hosted API (removed LibreOffice mention), add credential and privacy notice. Documents are uploaded to PDFAPIHub cloud for conversion.
v1.0.0
Convert office documents (DOCX, DOC, PPT, PPTX, XLS, XLSX, CSV, TXT, ODT, RTF) to PDF via LibreOffice. Supports URL input, base64, and multipart upload. Returns PDF as URL, base64, or raw file.
元数据
Slug document-to-pdf
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Document to PDF 是什么?

Convert office documents (DOCX, DOC, PPT, PPTX, XLS, XLSX, CSV, TXT, ODT, RTF) to PDF via the PDFAPIHub cloud API. Documents are uploaded to pdfapihub.com fo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。

如何安装 Document to PDF?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install document-to-pdf」即可一键安装,无需额外配置。

Document to PDF 是免费的吗?

是的,Document to PDF 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Document to PDF 支持哪些平台?

Document to PDF 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Document to PDF?

由 Rishabh Dugar(@rishabhdugar)开发并维护,当前版本 v1.0.1。

💬 留言讨论