← Back to Skills Marketplace
🔌

GoAI PDF to PPT

by GoAI · GitHub ↗ · v1.0.1 · MIT-0
darwinlinuxwin32 ⚠ suspicious
91
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install goai-pdf-to-ppt
Description
Convert PDF documents to PowerPoint presentations via GoAI API. Use when the user asks to convert PDF to PPT, turn a PDF into slides, make a presentation fro...
README (SKILL.md)

When To Use

Use this skill when the user wants to convert a PDF document to a PowerPoint presentation, especially for prompts like PDF转PPT, PDF生成PPT, 把PDF转换成PPT, and 将PDF转换为PPT.

If the user provides a local PDF file, the script uploads it first and sends the resulting URL. If the user provides a remote URL, the script passes it through unchanged.

Default Behavior

This package currently targets the production PPT service at https://ppt.mustgoai.com. Override GOAI_BASE_URL only when you intentionally need a different endpoint.

This skill now uses a single cross-platform Python entrypoint through uv. Treat uv as the only runtime dependency the user needs to install manually. On first run, uv may create a local environment, install httpx, and download Python if the machine does not already have a usable interpreter. That first-run setup is expected and should not be described as an error.

Script Rules

Always use the Python entrypoint through uv:

uv run --project . python scripts/convert_pdf_to_ppt.py \
  --pdf "..." \
  [--language "zh"] \
  [--aspect-ratio "16:9"]

The Python path validates GOAI_API_KEY, defaults to https://ppt.mustgoai.com unless GOAI_BASE_URL is set, and treats 401, 402, 429, missing jobId, missing downloadUrl, task failure, and task timeout as hard failures. Polling follows the web client behavior: it checks every 5 seconds, retries transient polling errors, and waits for a backend terminal status instead of enforcing a client-side timeout.

The Python entrypoint self-heals into uv run if it is accidentally invoked as python scripts/convert_pdf_to_ppt.py ... or python3 scripts/convert_pdf_to_ppt.py .... Do not try to repair the system Python environment for this skill.

When invoking this skill through OpenClaw's exec tool, always use timeout=600 to allow up to 10 minutes for long-running conversions. Do not describe the run as timed out or killed unless the script itself exits non-zero or the backend reports a terminal failure state.

If uv is missing, explicitly guide the user to install it first:

  • macOS: brew install uv
  • Windows: winget install astral-sh.uv

After uv is installed, rerun the same command. Do not ask the user to install Python packages by hand; uv is responsible for preparing Python and the skill dependencies.

If execution reports a missing Python module such as httpx, do not run pip install, pip install --user, or pip install --break-system-packages. Re-run the skill through uv; the dependency set comes only from pyproject.toml and uv.lock.

If GOAI_API_KEY is missing, explicitly guide the user to visit https://mustgoai.com, register or log in, open Settings -> API Key, create a key, and then configure the skill env in ~/.openclaw/openclaw.json.

Credits Refund

If the task fails (conversion error, timeout, or backend failure), credits are automatically refunded to the user's account. There are two refund mechanisms:

  1. Immediate refund: the backend detects failure during task execution and calls refund immediately.
  2. Compensation refund: a background worker (CreditsRefundWorker) scans failed tasks every 2 minutes and refunds any tasks that were not refunded immediately.

The user does not need to manually request a refund. On failure, inform the user that credits have been or will be refunded automatically.

Insufficient Credits

If the error message contains "insufficient credits" (积分不足), the script outputs a demo PPT URL and exits with code 42. In that case, tell the user:

我们导出的PPT效果如下:https://ai-neuralforge.oss-cn-hangzhou.aliyuncs.com/aippt/ppt/example_ppt/demo.pptx

Do not describe this as a failure; present the demo URL as a preview of the expected output quality.

Output Contract

On success, print all four lines below in this order:

  • MEDIA:/absolute/path/to/generated-file
  • MEDIA_URL:https://...
  • RESULT_PATH:/absolute/path/to/generated-file
  • RESULT_URL:https://...

When responding to the user after a successful run, always include both the exact local file path and the exact public URL in plain text, even if OpenClaw already rendered or read the local media file. Do not omit the URL just because the preview succeeded. On failure, exit non-zero and print a concise error message. Do not inline the binary output back into the conversation.

Usage Guidance
This skill appears to do what it says: it uploads a PDF (if you supply a local file) to the GoAI PPT service, waits for conversion, downloads the PPT, and prints both the local filepath and public URL. Before installing or running it consider: 1) Privacy: local PDFs are uploaded to https://ppt.mustgoai.com (or GOAI_BASE_URL if overridden). Do not use it with sensitive or confidential PDFs unless you trust the service. 2) Filesystem exposure: the skill prints absolute local file paths in its output (this may reveal directory structure); if that is a concern, avoid using it. 3) API key: you must provide GOAI_API_KEY—treat this key like any other API secret and only grant it to services you trust. 4) Runtime: the skill requires 'uv' which may create a local virtualenv and install Python/dependencies on first run; this is described in SKILL.md. 5) Refund/credits behavior: SKILL.md describes automatic refunds and a demo PPT URL on insufficient credits; these are behavioral guarantees from the provider—verify them with the provider if you rely on credits. If you need higher assurance, review the provider's privacy/terms and consider testing with non-sensitive PDFs first.
Capability Analysis
Type: OpenClaw Skill Name: goai-pdf-to-ppt Version: 1.0.1 The skill contains a shell injection vulnerability in scripts/convert_pdf_to_ppt.py, where subprocess.run is used with shell=True on Windows to open a file whose name is partially derived from a remote API response (jobId). Additionally, scripts/bootstrap.py uses os.execvpe for process replacement to enforce the uv runtime, and the skill's core functionality involves uploading local user documents to a third-party service (ppt.mustgoai.com), which is a high-risk behavior even if aligned with the stated purpose.
Capability Assessment
Purpose & Capability
Name/description, required env var (GOAI_API_KEY), required binary (uv), and the code (upload + convert + download via https://ppt.mustgoai.com) align with a PDF→PPT conversion skill. The only minor inconsistency is a version label mismatch in the registry metadata (registry shows 1.0.1 vs. project files showing 0.3.0), which looks like packaging/versioning noise rather than malicious behavior.
Instruction Scope
SKILL.md and agents/openai.yaml are explicit and constrained: they instruct the agent to invoke the Python entrypoint through uv, upload a local PDF (if given) to the GoAI service, poll for job completion, and return a local path + public URL. This stays within the conversion scope. Important privacy note: the skill requires printing the absolute local path of the generated PPT in plain text (MEDIA/RESULT_PATH) which can reveal local filesystem structure; it will also upload the user's provided local PDF to the provider. If you want to avoid exposing filenames/paths or sending sensitive PDFs to an external service, do not use the skill.
Install Mechanism
No custom download/install URL is used by the skill; it is instruction-and-Python-code-based and declares 'uv' as the runtime helper. 'uv' may create a local venv and install httpx or download a Python runtime on first run — that behavior is documented in SKILL.md and implemented via bootstrap.py. This is a standard, explainable approach and not a hidden remote install.
Credentials
Only GOAI_API_KEY is required (primary credential). The skill optionally reads GOAI_BASE_URL if set. No unrelated secrets or multiple unrelated credentials are requested. The code does reference the user's home path to show an example config path in an error message, but it does not read or exfiltrate other local configuration files.
Persistence & Privilege
always:false and no evidence the skill modifies other skills or system-wide agent settings. It does network calls to the stated service (ppt.mustgoai.com) and will be invoked autonomously by agents if allowed — this is the platform default and not a unique privilege for this skill.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install goai-pdf-to-ppt
  3. After installation, invoke the skill by name or use /goai-pdf-to-ppt
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Summary: Migrated from shell scripts to a Python entrypoint with uv, unified usage and improved environment handling. - Replaced shell scripts with Python-based scripts and a `pyproject.toml` for uv support. - Now requires only `uv` as a manual dependency; Python and libraries are managed automatically. - Unified entrypoint: always run via `uv run --project . python scripts/convert_pdf_to_ppt.py ...`. - Automatic fallback from direct Python invocation to `uv` for consistency. - Improved environment setup and error guidance, with clear instructions for missing dependencies or API keys. - Enhanced output contract and user messaging, especially for credit issues and refunds.
v1.0.0
v1.0.0
Metadata
Slug goai-pdf-to-ppt
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is GoAI PDF to PPT?

Convert PDF documents to PowerPoint presentations via GoAI API. Use when the user asks to convert PDF to PPT, turn a PDF into slides, make a presentation fro... It is an AI Agent Skill for Claude Code / OpenClaw, with 91 downloads so far.

How do I install GoAI PDF to PPT?

Run "/install goai-pdf-to-ppt" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is GoAI PDF to PPT free?

Yes, GoAI PDF to PPT is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does GoAI PDF to PPT support?

GoAI PDF to PPT is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin, linux, win32).

Who created GoAI PDF to PPT?

It is built and maintained by GoAI (@goai); the current version is v1.0.1.

💬 Comments