Auto-Generate Presentation Scripts: Write Slide-by-Slide Notes After Uploading PPT

Introduction

After creating a set of PPTs, one often has to write a set of spoken scripts to present alongside them and copy them into the notes of each page. Doing this manually often turns into “reading titles and bullet points,” and the transitions between pages feel disconnected. The following is an introduction to the community Skill on SkillHub: “Auto Generate PPT Speech Script” (located at @user_c3227de9/ppt-speech-skill). On Agents or platforms supporting this workflow, you can upload a .pptx file to generate page-by-page scripts based on the audience and style, write them back to the PowerPoint notes section, and output an editable full-text script.

What is This

“Auto Generate PPT Speech Script” is a community Skill under the SkillHub category office-efficiency, published by user_c3227de9. The current store page lists the version as 1.0.0, with the source marked as “community.” The SkillHub metadata indicates requires_api_key=false, meaning installing the Skill itself does not strictly require a separate API Key configuration (though actual generation still relies on the models and workflow runtime within the host environment).

It targets scenarios such as reports, roadshows, and training where a PPT already exists: it parses the title and body text of each page, uses an LLM to generate explanation scripts page-by-page (using a summary of the previous page as context), writes the scripts into the notes, and aggregates and optimizes the full-text script.

Core Functions

Based on the installed SKILL.md, skill.yaml, and workflow.yaml, the verifiable capabilities are as follows:

  1. Page-by-page Script Generation: Reads text within the shapes of each page and generates a spoken script based on the title and content. The prompt requires “explaining rather than reciting” and constrains the pace to approximately 30–50 seconds per page.
  2. Write to PPT Notes: Uses python-pptx to open the uploaded file, writes the script for each page into the corresponding notes_text_frame, and saves it as ppt_with_notes.pptx (the default path in the workflow is /tmp/ppt_with_notes.pptx).
  3. Cross-page Context: In the loop, for each page, it first generates the script based on prev_summary, then uses an LLM to extract a one-sentence summary for use on the next page, reducing the sense of “page-by-page stitching.”
  4. Style and Audience Parameters: External inputs include audience (audience type, default “Customer”), style (speech style, default “Sales-oriented”), and total_duration (total duration, default “10 minutes”). The differences between sales, reporting, and training styles described in the documentation are embedded in the generation prompt.
  5. Dual Output: The workflow outputs ppt_file (the PPTX with notes) and speech_text (the complete script text optimized by a global LLM).

The workflow node order is: Parse PPT → Initialize Context → Page-by-page LLM Generation & Summarization → Write Back to Notes → Merge Text → Full-text Optimization.

Installation and Activation

Via SkillHub CLI (Agents like Cursor)

First, check if the skillhub CLI is already available on your machine; if not, install it according to the official SkillHub installation instructions (full installation or CLI only). When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized.

The common skills directory for Cursor is ~/.cursor/skills/. The command to install this Skill is:

skillhub install @user_c3227de9/ppt-speech-skill --dir ~/.cursor/skills/

You can also provide the prompt to an AI to let it perform the equivalent installation following the SkillHub Installation Instructions.

OpenClaw / ArkClaw type Platforms

SKILL.md provides another path: package the skill directory into a zip file, import and enable it in the platform’s “Skill Management”; if the environment provides an OpenClaw CLI, the documentation example is:

zip -r ppt-speech-skill.zip ppt-speech-skill/
openclaw skill install ppt-speech-skill.zip
openclaw skill enable ppt_speech_generator_pro_v2

Specific platform names, menus, and the ID for enable depend on the host you are using; the id in the workflow definition is ppt_speech_generator_pro_v2, while the id in skill.yaml is ppt_speech_generator.

Runtime Dependencies

The Python nodes in the workflow depend on python-pptx:

pip install python-pptx

Write permissions are required for /tmp (or the output path configured in the workflow) when writing back files.

Typical Usage

In interfaces supporting this Skill workflow, the general process is:

  1. Open or enable “Auto Generate PPT Speech Script.”
  2. Upload a .pptx file (file is required in skill.yaml).
  3. Set audience, style, and adjust total_duration if necessary.
  4. Run the workflow and wait for parsing, page-by-page generation, note writing, and full-text optimization to complete.

Expected outputs:

  • PPT File: The default filename is ppt_with_notes.pptx; view the script for each page in PowerPoint via “View → Notes.”
  • Speech Text: The full text segmented by “Page N,” resulting from the coherence optimization performed by the optimize_text node.

If only SKILL.md is installed in an environment like Cursor without mounting the full workflow runtime, the Agent will understand the capability boundaries based on the documentation; truly automatic note writing requires the host to be able to execute the Python and LLM nodes in workflow.yaml.

Applicable Scenarios and Notes

Who is it for: People who need to quickly turn existing slides into presentable versions—business reports, product roadshows, internal training materials, etc. The documentation suggests that the PPT should have clear titles and distinct key points, and the number of pages should not exceed approximately 20 to reduce risks regarding quality and time consumption.

Capability Boundaries: The current parsing logic mainly traverses shapes with text on slide.shapes, treating the first appearing text as the title and the rest as content; complex charts, text inside images, SmartArt, etc., will not be visually parsed or OCR’d separately. If the information on a page is mainly contained within images, the generation quality may be insufficient.

Version and Package Files: The store page version is 1.0.0; the version field in the downloaded package’s skill.yaml is 1.1.0. Refer to your actual installed package. If changes do not take effect on the platform after an update, the documentation suggests modifying the version number, re-importing, and restarting the service.

Planned Capabilities: The Roadmap in SKILL.md lists items such as speech reading, presentation videos, Word export, and multi-language support. These are all unchecked and should not be considered as currently delivered features.

The SkillHub page shows a rating of 100,000, 16,337 downloads, and 147 installations for this Skill (data changes as the store updates).

Conclusion

“Auto Generate PPT Speech Script” consolidates “writing scripts + filling notes” into a configurable workflow: upload a PPT, select the audience and style, and receive a ppt_with_notes.pptx with notes and an editable full-text script. Official SkillHub page: https://www.skillhub.cn/skills/user_c3227de9/ppt-speech-skill; API resource URL: https://api.skillhub.cn/user_c3227de9/ppt-speech-skill.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye