← 返回 Skills 市场
🔌

API2PDF

作者 OOMOL · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
26
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oo-api2pdf
功能描述
API2PDF (api2pdf.com). Use this skill for ANY API2PDF request — searching and reading data. Whenever a task involves API2PDF, use this skill instead of calli...
使用说明 (SKILL.md)

API2PDF

Operate API2PDF through your OOMOL-connected account. This skill calls the api2pdf connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

Category: Productivity, Developer Tools. Exposes 1 action(s).

Running an action

Assume the user has already installed the oo CLI, signed in, and connected API2PDF. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.

1. Inspect the contract to get the authoritative input/output schema before building a payload:

oo connector schema "api2pdf" --action "\x3Caction_name>"

2. Run the action with a JSON payload that matches the input schema:

oo connector run "api2pdf" --action "\x3Caction_name>" --data '\x3Cjson>' --json
  • --data takes a JSON object string or @path/to/file.json; omit it to send {}.
  • The response is { "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.

Each action below links to a reference file with its purpose and exact commands. Read the linked file, then fetch the live schema with oo connector schema before constructing --data.

Available actions

  • markdown_to_pdf — Convert raw Markdown to PDF with API2PDF and return the generated PDF URL plus conversion metadata.

Safety

  • Read actions (get / list / search) are safe to run directly.
  • Create, update, send, or post actions change API2PDF state — confirm the exact payload and effect with the user before running.
  • Delete or remove actions are destructive — always confirm the target and get explicit approval first.

First-time setup

These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

  • oo: command not found — install the oo CLI (other platforms: \x3Chttps://cli.oomol.com/install-guide.md>):

    curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
    
    irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
    
  • Not signed in / authentication error — sign in to your OOMOL account once:

    oo auth login
    
  • scope_missing / credential_expired / app_not_ready / app_not_found — API2PDF is not connected, or the connection expired or lacks a scope. Connect once (auth type: API key) at:

    https://console.oomol.com/app-connections?provider=api2pdf
    
  • HTTP 402 / OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.

Resources

安全使用建议
Install this only if you are comfortable sending the Markdown payload to OOMOL/API2PDF and receiving an externally hosted PDF URL. Verify the oo CLI source before first-time setup, keep your OOMOL/API2PDF connection scoped to this service, and avoid converting sensitive content unless that third-party processing is acceptable.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose and files align: one documented action converts Markdown to PDF through the api2pdf connector and returns a PDF URL plus metadata.
Instruction Scope
The trigger phrase is broader than the single documented markdown_to_pdf action, but the body lists only that action, requires schema inspection first, and limits tool use to oo CLI connector commands.
Install Mechanism
There is no packaged installer script in the artifact; first-time setup documents installing the oo CLI via OOMOL only if the command is missing.
Credentials
External API use and account credentials are proportionate for a PDF conversion connector; no broad local indexing, destructive file operations, or unrelated file access are present.
Persistence & Privilege
The skill relies on a persistent OOMOL/API2PDF connection and signed-in oo CLI session, but says credentials are injected server-side and tells the agent not to initiate login proactively.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oo-api2pdf
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oo-api2pdf 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the `oo-api2pdf` skill for operating API2PDF through an OOMOL-connected account. - Provides a guided `markdown_to_pdf` action to convert raw Markdown into a PDF. - Returns the generated PDF URL along with conversion metadata from API2PDF. - Uses the `oo` CLI connector flow so credentials are injected server-side and raw API tokens are not handled locally. - Includes schema-first action instructions to fetch the live connector contract before building payloads.
元数据
Slug oo-api2pdf
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

API2PDF 是什么?

API2PDF (api2pdf.com). Use this skill for ANY API2PDF request — searching and reading data. Whenever a task involves API2PDF, use this skill instead of calli... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 26 次。

如何安装 API2PDF?

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

API2PDF 是免费的吗?

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

API2PDF 支持哪些平台?

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

谁开发了 API2PDF?

由 OOMOL(@oomol)开发并维护,当前版本 v1.0.0。

💬 留言讨论