Doc2Slides

v1.0.3

Convert documents or text into PDF slide presentations via the Ruyi Converter API at nyoi.io. Use this skill whenever the user wants to create slides, presen...

0· 161·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for lisiting01/doc-to-slides.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Doc2Slides" (lisiting01/doc-to-slides) from ClawHub.
Skill page: https://clawhub.ai/lisiting01/doc-to-slides
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install doc-to-slides

ClawHub CLI

Package manager switcher

npx clawhub@latest install doc-to-slides
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description match the runtime instructions: the skill uses the nyoi.io Ruyi Converter API to convert text/files to PDF slides. No unrelated binaries, config paths, or credentials are requested.
Instruction Scope
Instructions are focused on the conversion workflow (claim invite code, activate agent, POST execute, poll job, download artifact). Two items to note: (1) the SKILL.md tells the agent to reveal the freshly created API key to the user ('Tell the user the API key'), which exposes a secret into the chat; (2) SKILL.md claims 'Each API call resets the inactivity timer' but the API reference states that GET /api/agent/identity does NOT reset the timer — minor inconsistency. Otherwise instructions do not ask the agent to read unrelated files or environment data.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is written to disk or downloaded during install.
Credentials
No declared environment variables or platform credentials are required. The only credential is an API key created via the service's invite/activate endpoints, which is proportional to the described remote API usage. Be aware the skill instructs the agent to disclose that API key to the user.
Persistence & Privilege
Skill does not request 'always: true' or claim system-wide persistence. Autonomous invocation is allowed by default but not combined with broad access. The skill expects an API key to be available for subsequent calls, which implies the platform/agent may need to persist that key between interactions — this is normal but the SKILL.md does not explicitly state how to store it.
Assessment
This skill talks to a third‑party service (https://www.nyoi.io) and will create a temporary agent API key via an invite/activate flow. Consider these points before installing: 1) Privacy — any documents you send will be processed by nyoi.io; do not send highly sensitive data unless you trust that service. 2) API key exposure — the instructions tell the agent to show the API key in chat; if chat history is stored or shared, that key could be visible to others. 3) Artifact links are pre-signed and valid for ~2 hours — the agent will be expected to fetch or forward the PDF to you; ensure your messaging integration handles file attachments securely. 4) Minor inconsistency: SKILL.md and the included API reference differ on whether certain calls reset inactivity timers. If you need stronger guarantees about credential handling or retention, ask the skill author for details or avoid sending confidential files. Overall the skill appears coherent with its stated purpose but review nyoi.io's privacy/security practices before uploading sensitive documents.

Like a lobster shell, security has layers — review code before you run it.

latestvk97000ygtk1rk8vqf0dxrhee9s832hpr
161downloads
0stars
4versions
Updated 1mo ago
v1.0.3
MIT-0

Doc to Slides

Convert text content or document files into PDF slide presentations using the Ruyi Converter API.

Base URL: https://www.nyoi.io

Credential check

  1. If you have an API key (rk_ prefix) from a previous interaction: a. Check identity: GET https://www.nyoi.io/api/agent/identity (X-Api-Key header) b. If valid → proceed to "Core workflow" c. If 403 (expired) or 401 (invalid) → obtain a new credential (step 2)
  2. To obtain a new credential: a. GET https://www.nyoi.io/api/agent/invite-code → get an invite code b. POST https://www.nyoi.io/api/agent/activate Body: { "inviteCode": "<code>", "name": "<choose a name>" } → returns apiKey (rk_xxx, shown only once) c. If 409 (name taken), pick a different name d. If 404 (no invite codes), ask user to contact the administrator
  3. Tell the user the API key so they can note it if desired

The agent identity expires after a period of inactivity (configured by the server). Each API call resets the inactivity timer. If expired, the name is released and can be re-registered with a new invite code.


Core workflow

Input formats

Three ways to provide content:

Option 1: Plain text (most common)

{
  "text": "# Heading\n\n## Section 1\nContent...\n\n## Section 2\nContent...",
  "title": "My Presentation",
  "language": "en"
}

Option 2: File URLs

{
  "files": ["https://example.com/report.docx"],
  "title": "Project Report",
  "language": "en"
}

Option 3: Base64 encoded (< 10MB)

{
  "files": ["data:application/pdf;base64,AAAA..."],
  "title": "My Presentation"
}

Parameters

ParameterTypeRequiredDefaultDescription
textstringeither text or files-Text content
filesstring[]either text or files-File URLs or Base64 strings
titlestringno"Presentation"Slide deck title
languagestringno"en"Output language (ISO 639-1 code)

Submit job

curl -s -X POST https://www.nyoi.io/api/tools/doc-to-slides/execute \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <API_KEY>" \
  -d '<JSON body>'

Response:

{
  "success": true,
  "data": {
    "jobId": "job_xxx",
    "toolId": "doc-to-slides",
    "status": "pending"
  }
}

Poll job status

curl -s https://www.nyoi.io/api/jobs/<jobId>

No authentication required. Slide generation typically takes 8–16 minutes and may take up to 30 minutes for large documents. Poll every 30 seconds until status is completed or failed.

Status flow: pending -> queued -> assigned -> running -> completed / failed

Download result

On completion, artifacts[0].url contains a pre-signed download link (PDF), valid for 2 hours.

{
  "data": {
    "status": "completed",
    "artifacts": [{
      "type": "slides",
      "url": "https://cos.example.com/output/slides.pdf?sign=xxx",
      "expiresAt": "2026-03-17T20:00:00Z",
      "expiresIn": 7200
    }]
  }
}

Deliver the file to the user

IMPORTANT: Do NOT just output the URL as text. You must send the PDF file through your messaging platform.

  1. Check what tools you have for sending messages or files (e.g. a message / send / reply tool that accepts media, file, file_url, or similar parameters).
  2. Use that tool to send artifacts[0].url as a file or media attachment so the user receives the PDF directly in the chat.
  3. Only fall back to displaying the URL as text if you truly have no file-sending capability.

The link is valid for 2 hours. If it expires, re-request GET /api/jobs/<jobId> for a fresh URL.


Error handling

ScenarioStatusAction
No invite codes available404Ask user to join the Discord for help: https://discord.gg/uk6q2uPfpg
Invite code already used409Claim a new code and retry
Name already taken409Pick a different name
Agent identity expired403Activate with a new invite code
Invalid API Key401Activate with a new invite code
Daily quota exhausted (20/day)429Inform user to try again tomorrow
Tool not allowed for agent403Agent accounts can only use doc-to-slides
Job still running after 30 min-Ask user to check service status or join Discord: https://discord.gg/uk6q2uPfpg
Job failed-Read the error field from the job response

Supported languages

Use ISO 639-1 codes for the language parameter:

CodeLanguage
enEnglish
zh-CN中文(简体)
zh-TW中文(繁體)
ja日本語
ko한국어
esespañol
frfrançais
deDeutsch
ititaliano
ptportuguês
ruрусский
arالعربية

Support

If something isn't working or you need invite codes, join our Discord: https://discord.gg/uk6q2uPfpg


For full API reference with request/response examples, read {baseDir}/references/api-reference.md.

Comments

Loading comments...