Token导航 LogoToken导航TokenDH.com
待分类敏感数据unknown未标认证来源可访问许可证需确认审计未展示

slide-generator幻灯片生成器

Agent Skill

slide-generator 用于补充待分类相关能力,适合在 Local Agent 中需要让 Agent 承接待分类相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

282

周安装

12

下载量

99
Local Agent

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:slide-generator(幻灯片生成器)
来源仓库:https://skills.volces.com
仓库路径:slide-generator
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

slide-generator 用于补充待分类相关能力。

  • 适合在 Local Agent 中承接待分类相关任务。
  • 可通过 npx skills add 命令从指定仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 建议结合原始 README 核验具体用法和功能边界。slide-generator 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

AI Slide Generator - AnyGen

Create professional slide presentations using AnyGen OpenAPI.

When to Use

  • User needs to create PPT/Slides/Presentations
  • User has files to upload as reference material for slide generation

Security & Permissions

What this skill does:

  • Sends task prompts and parameters to the AnyGen API at www.anygen.io
  • Uploads user-provided reference files to www.anygen.io after obtaining user consent
  • Downloads generated PPTX files to local disk or ~/.openclaw/workspace/
  • Spawns a background poll process (up to 20 min) to monitor progress and auto-download results
  • Reads/writes API key config at ~/.config/anygen/config.json

What this skill does NOT do:

  • Does not upload files without informing the user and obtaining consent
  • Does not send your API key to any endpoint other than www.anygen.io
  • Does not modify system configuration beyond ~/.config/anygen/config.json

Bundled scripts: scripts/anygen.py (Python — uses requests)

Review the bundled scripts before first use to verify behavior.

Prerequisites

  • Python3 and requests: pip3 install requests
  • AnyGen API Key (sk-xxx) — Get one → Setting → Integration
  • Configure once: python3 scripts/anygen.py config set api_key "sk-xxx"
All scripts/ paths below are relative to this skill's installation directory.

CRITICAL: Background Poll — NEVER Block the Conversation

After creating a task, you MUST start a background poll process to auto-download the result, then continue the conversation normally. NEVER call poll in the foreground — it blocks for 3-20 minutes.

Rules:

  1. Use create to start the task → get task_id and task_url.
  2. Give the user the task_url for immediate online preview.
  3. Launch poll as a background process to auto-download the file when ready (see Phase 4).
  4. Continue the conversation normally — do NOT wait.
  5. After the conversation naturally ends or the user asks about the result, check if the background poll has completed and deliver the file.

Communication Style

When interacting with the user, communicate naturally and professionally:

  1. You may refer to AnyGen as the service powering the slide generation when relevant.
  2. Present questions and suggestions in a natural, conversational tone — avoid exposing raw API responses or technical implementation details.
  3. Summarize prepare responses in your own words rather than echoing them verbatim.
  4. Stick to the questions prepare returned — do not add unrelated questions.

Examples

Less ideal (overly technical):

  • "The prepare API returned the following JSON response with status=collecting..."
  • "The system's internal tool asks: who is your target audience?"

Better (natural and professional):

  • "Who is the target audience for this presentation?"
  • "Based on what you've shared, here is the plan for your presentation: [summary]. Should I go ahead, or would you like to adjust anything?"

Slide Workflow (MUST Follow)

For slides, you MUST go through all 4 phases. A good presentation needs audience, purpose, scene type, desired outcome, and content details. Users rarely provide all of these upfront.

Phase 1: Understand Requirements

If the user provides files, you MUST handle them yourself before calling prepare:

  1. Read the file content yourself using your own file reading capabilities. Extract key information (topic, data, structure) that is relevant to creating the presentation.
  2. Check if the file was already uploaded in this conversation. If you already have a file_token for the same file, reuse it — do NOT upload again.
  3. Inform the user and get consent before uploading. Tell them the file will be uploaded to AnyGen's server for processing. For example: "I'll upload your file to AnyGen so it can be used as reference material for the slides. This may take a moment..."
  4. Upload the file to get a file_token for later use in task creation.
  5. Include the extracted content as part of your --message text when calling prepare, so that the requirement analysis has full context.

The prepare API does NOT read files internally. You are responsible for providing all relevant file content as text in the conversation.

# Step 1: Tell the user you are uploading, then upload the file
python3 scripts/anygen.py upload --file ./report.pdf
# Output: File Token: tk_abc123

# Step 2: Call prepare with extracted file content included in the message
python3 scripts/anygen.py prepare \
  --message "I need a slide deck for our Q4 board review. Here is the key content from the uploaded report: [your extracted summary/content here]" \
  --file-token tk_abc123 \
  --save ./conversation.json

The --file-token parameter in prepare attaches the file reference to the conversation, but it does NOT extract or read the file content. You must include the relevant content as text in --message.

Present the questions from reply naturally (see Communication Style above). Then continue the conversation with the user's answers:

python3 scripts/anygen.py prepare \
  --input ./conversation.json \
  --message "The audience is C-level execs, goal is to approve next quarter's budget" \
  --save ./conversation.json

Repeat until status="ready" with suggested_task_params.

Special cases:

  • If the user provides very complete requirements and status="ready" on the first call, proceed directly to Phase 2.
  • If the user says "just create it, don't ask questions", skip prepare and go to Phase 3 with create directly.
  • For template/style reference files (e.g., "use this as a template"), do NOT extract content. Just upload and pass the file_token.

Phase 2: Confirm with User (MANDATORY)

When status="ready", prepare returns suggested_task_params containing a detailed prompt. You MUST present this to the user for confirmation before creating the task.

How to present:

  1. Summarize the key aspects of the suggested plan in natural language (audience, structure, content highlights, style).
  2. Ask the user to confirm or modify. For example: "Here is what I plan to create: [summary]. Should I go ahead, or would you like to change anything?"
  3. NEVER auto-create the task without the user's explicit approval.

When the user requests adjustments:

  1. Call prepare again with the user's modification as a new message, loading the existing conversation history:
python3 scripts/anygen.py prepare \
  --input ./conversation.json \
  --message "<the user's modification request>" \
  --save ./conversation.json
  1. prepare will return an updated suggestion that incorporates the user's changes.
  2. Present the updated suggestion to the user again for confirmation (repeat from step 1 above).
  3. Repeat this confirm-adjust loop until the user explicitly approves. Do NOT skip confirmation after an adjustment.

Phase 3: Create Task

Once the user confirms:

python3 scripts/anygen.py create \
  --operation slide \
  --prompt "<prompt from suggested_task_params, with any user modifications>" \
  --file-token tk_abc123
# Output: Task ID: task_xxx, Task URL: https://...

Immediately tell the user:

  1. Slides are being generated (takes a few minutes).
  2. Give them the Task URL so they can preview progress online right now.
  3. Tell them you will deliver the downloaded file once it's ready.

Phase 4: Monitor and Deliver Result

Requires sessions_spawn. If sub-agent is not available, skip to the Fallback section below.

With Sub-Agent (preferred)

Spawn a sub-agent to monitor the task in the background. Use sessions_spawn with the following instructions.

Information to pass to the sub-agent (it has NO context from this conversation):

  • task_id — from Phase 3 output
  • task_url — the Task URL returned by create
  • script_path — absolute path to scripts/anygen.py

Sub-agent instructions (pass this as the task prompt):

You are a background monitor for an AnyGen slide generation task.

Task ID: {task_id}
Task URL: {task_url}
Script: {script_path}

Your job:
1. Poll the task status every 60 seconds using:
   python3 {script_path} status --task-id {task_id} --json
2. When status="completed", download the file to ~/.openclaw/workspace/:
   python3 {script_path} download --task-id {task_id} --output ~/.openclaw/workspace/ --media
3. The script will output a MEDIA: line (with non-ASCII filenames automatically handled). Deliver it to the user:
   a. Send a SHORT message containing ONLY the MEDIA: line exactly as output by the script.
      This message MUST be sent as a separate message by itself — do NOT combine it with other text.
      The MEDIA: protocol will deliver the actual file to the user in their IM client.
   b. Then send a second message to the user with:
      - The Task URL ({task_url}) for online viewing/editing
      - If there is a [RESULT] Thumbnail URL: line, download the thumbnail image to a local file and show it to the user as a preview
4. If status="failed", tell the user the generation failed and provide the Task URL for reference.
5. Timeout after 20 minutes — if still not completed, tell the user the task is taking longer than expected and provide the Task URL for them to check manually.

Then continue the conversation normally. Do NOT wait for the sub-agent.

Fallback (no sub-agent)

If sessions_spawn is not available, tell the user something like: "I've started the generation for you. Unfortunately I'm not able to track the progress automatically in this environment — please check the link above in a few minutes to view and download your slides."

Command Reference

create

python3 scripts/anygen.py create --operation slide --prompt "..." [options]
ParameterShortDescription
--operation-oMust be slide
--prompt-pContent description
--file-tokenFile token from upload (repeatable)
--language-lLanguage (zh-CN / en-US)
--slide-count-cNumber of slides
--template-tSlide template
--ratio-rSlide ratio (16:9 / 4:3)
--export-format-fExport format: pptx (default) / image
--style-sStyle preference

upload

python3 scripts/anygen.py upload --file ./document.pdf

Returns a file_token. Max file size: 50MB. Tokens are persistent and reusable.

prepare

python3 scripts/anygen.py prepare --message "..." [--file-token tk_xxx] [--input conv.json] [--save conv.json]
ParameterDescription
--message, -mUser message text
--fileFile path to auto-upload and attach (repeatable)
--file-tokenFile token from prior upload (repeatable)
--inputLoad conversation from JSON file
--saveSave conversation state to JSON file
--stdinRead message from stdin

poll

Blocks until task completes, auto-downloads the file, and prints [RESULT] lines.

python3 scripts/anygen.py poll --task-id task_xxx --output ./output/
ParameterDescription
--task-idTask ID from create
--outputOutput directory for auto-download (default: current directory)

download (manual, if needed)

python3 scripts/anygen.py download --task-id task_xxx --output ./output/

Error Handling

ErrorSolution
invalid API keyCheck API Key format (sk-xxx)
operation not allowedContact admin for permissions
prompt is requiredAdd --prompt parameter
file size exceeds 50MB limitReduce file size

Notes

  • Max task execution time: 20 minutes
  • Download link valid for 24 hours
  • Poll interval: 3 seconds

Files

slide-generator/
├── skill.md              # This document
└── scripts/
    └── anygen.py         # CLI client

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Local Agent

91.31%
按下载量换算90

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills