PPT Page Recognition: Structuring Local PPT Pages into JSON

Introduction

Common approaches for feeding a .pptx file to a large model for rewriting, auditing, or secondary generation usually involve uploading the entire package or taking page-by-page screenshots. The former often loses hierarchy and layout semantics, while the latter is difficult to maintain and align with subsequent pipelines. If you need to output a structured result that can be consumed by programs while preserving as much information as possible about “what this page is talking about and how the text is layered,” a dedicated page recognition workflow is required.

Below is an introduction to the SkillHub community skill PPT Page Recognition: One-click convert all your PPT content to a JSON file (Coordinates @user_65333ed1/ppt-page-recognition, current version 1.0.10). Designed for local PowerPoint files, it organizes page content and structural semantics into JSON and reserves a visual completion step, facilitating integration into a complete task within an Agent.

What is This

PPT Page Recognition is maintained by the community publisher user_65333ed1 (labeled as author “A Dong” on the SkillHub page), categorized under office-efficiency, and sourced from the community. The official description states its purpose as: identifying the page content and structural semantics of local PPTs, preserving visible text, hierarchical relationships, and layout intent as completely as possible, and outputting structured JSON suitable for subsequent AI generation and auditing.

On SkillHub, the skill is tagged with requires_api_key=false (no separate API Key configuration required). According to the data displayed on the page: Rating 100000, Downloads 7843, Installs 256.

Core Functions

Based on the official brief and the SkillHub page description, the verifiable capabilities include:

  1. Local PPT Recognition: Reads .pptx files to restore page-level structure and semantics, outputting standard JSON rather than performing simple plain-text extraction.
  2. Structural Preservation: Emphasizes visible text, hierarchical relationships, and layout intent, making the results reusable for subsequent generation or compliance audit tasks.
  3. Visual Completion Pipeline: If vision_tasks are generated during the recognition process, the current Agent’s visual capabilities must be called to complete them, and the results merged into the final JSON; the recommended prompt explicitly requires completing the visual supplement.
  4. File Pairing Suggestions: The official file hint suggests “Please try to upload both the PPT and PDF files simultaneously” to improve the coverage of layout and visual information when necessary.

Installation and Activation

SkillHub provides a unified installation guide. Given that the skillhub CLI is installed, install the skill to the skills directory actually used by the current Agent (installing to the wrong directory will prevent the Agent from loading it; please confirm the path according to your environment).

Check CLI:

command -v skillhub && skillhub --version

If not installed, follow the SkillHub installation documentation to perform a full installation or CLI-only installation (see SkillHub Installation and Priority Source Configuration).

Install this skill:

The installation prompt provided on the official page is: According to the aforementioned installation documentation, install coordinates @user_65333ed1/ppt-page-recognition. The corresponding CLI command example is:

skillhub install user_65333ed1/ppt-page-recognition --dir <your Agent skills directory>

Common client skills directories (excerpted from SkillHub installation documentation, subject to your local machine):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

After installation, refresh or restart according to the conventions of your IDE or Agent to ensure the new skill is loaded.

Typical Usage

The officially recommended reproducible conversational method is as follows.

  1. Enable this Skill in the conversation and try to provide PPT and PDF simultaneously (if only PPT is available, recognition can still proceed via the skill workflow, but visual information may be incomplete and requires handling via subsequent vision_tasks).
  2. Send the recommended prompt to let the Agent run the complete workflow:
Please use this Skill to fully recognize the target PPT. If vision_tasks appear, please continue to complete the visual supplement and output the final result.
  1. First, execute the recognition workflow to obtain structured JSON; if vision_tasks appear in the output, do not stop there—continue to use the visual capabilities supported by the current environment to complete them, then merge them into the final result.

The skill is based on the general SKILL.md format; specific subcommands or scripts are subject to the documentation within the installation package. This article does not expand on configuration items not listed on the official page.

Applicable Scenarios and Notes

Who it is for

  • Office and content teams that need to convert presentations into machine-readable JSON for large model outline rewriting, point verification, or templated generation.
  • Those using it as an intermediate step in an Agent workflow for “Upload PPT → Structure → Downstream Generation,” who can accept the step of completing visual information page-by-page.

Usage Notes

  • Visual Capabilities: The workflow relies on the Agent continuing to call visual completion when vision_tasks appear; if the current model does not support vision, you should switch to a vision-capable model first, otherwise the merge cannot be completed as per the official instructions.
  • PPT and PDF: The official recommendation is to provide both files; when only PPT is available, recognition is still possible, but coverage of layout and image-based information may be insufficient.
  • Installation Path: skillhub install must use --dir to point to the current Agent’s skills directory to avoid installing to the default ./skills/ where it won’t be loaded.
  • Data and Version: Functional descriptions are based on the SkillHub page and v1.0.10; please verify against the page version number and SKILL package content after community skill updates.

Conclusion

PPT Page Recognition connects “Local .pptx → Structured JSON → Optional Visual Completion” into a recognition pipeline reusable within an Agent. It is suitable for scenarios requiring the preservation of hierarchy and layout semantics, while integrating with subsequent AI generation or auditing.

Official Skill Address: https://api.skillhub.cn/user_65333ed1/ppt-page-recognition
SkillHub Display Page: https://www.skillhub.cn/skills/user_65333ed1/ppt-page-recognition

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

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

Xiaoye