ppt2fig-export for Openclaw

A precision tool for exporting specific presentation slides into high-quality, automatically cropped PDF figures for academic and professional use.

elliottzheng
v1.1.0
Apr 1, 2026
0
641
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install ppt2fig-export

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install ppt2fig-export using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is ppt2fig-export?

ppt2fig-export is a specialized utility designed to streamline the workflow of extracting slide content for use in formal documents and research papers. It enables users to transform PPT, PPTX, or ODP files into perfectly cropped PDF figures, ensuring that margins are minimized and the focus remains on the slide content. As a key component of Openclaw Skills, this tool handles the complexities of interfacing with various presentation backends to deliver consistent results across different environments.

The skill provides a robust bridge between common presentation software and professional typesetting requirements. By integrating with Openclaw Skills, developers and researchers can automate the figure generation process, moving away from manual screenshots or tedious manual PDF cropping. It is optimized for Windows environments but maintains flexibility through multi-backend support, prioritizing open standards like LibreOffice for cross-platform reliability.

ppt2fig-export Use Cases

  • Generating high-resolution figures for academic papers directly from PowerPoint slides.
  • Automating the extraction of specific slide ranges for technical documentation using Openclaw Skills.
  • Converting presentation assets into cropped PDFs for inclusion in LaTeX or Markdown documents.
  • Comparing export quality across different backends like LibreOffice, WPS, and Microsoft PowerPoint.

How ppt2fig-export Works

  1. The skill identifies the source presentation file path and validates the file format.
  2. The user or agent specifies a page selection string, supporting single pages or complex ranges.
  3. A conversion backend is selected, with a default priority of LibreOffice followed by WPS and PowerPoint.
  4. The tool executes the conversion and applies an automatic cropping algorithm to remove white margins.
  5. The resulting PDF is saved to the specified directory, ready for immediate use in publications.

ppt2fig-export Setup

To integrate this capability into your Openclaw Skills workflow, ensure the ppt2fig CLI is accessible on your system. On Windows, the binary is typically managed via the OpenClaw tools directory.

# Standard usage via the CLI
ppt2fig "/path/to/input.pptx" --pages 1,3,5-7 -o "/path/to/output.pdf"

# Using a specific backend for consistency
ppt2fig "input.pptx" --pages 2 --backend libreoffice

# Fallback execution via python wrapper
python run_ppt2fig.py "input.pptx" --pages 1

ppt2fig-export Data Schema & Taxonomy

The skill processes input files and configuration parameters to generate structured output. The following table describes the data requirements:

Parameter Type Description
Source Path String Absolute path to the input PPT, PPTX, or ODP file.
Page Range String 1-based index selection (e.g., '1-3, 5').
Backend Enum Conversion engine: auto, libreoffice, wps, or powerpoint.
Output Path String Destination path for the generated PDF.
Crop Flag Boolean Determines if automatic margin cropping is applied.

ppt2fig-export Advanced Features

  • Support for multiple backends allowing for fallback logic if a specific office suite is missing.
  • Print-intent high-quality export specifically for Microsoft PowerPoint backends.
  • Automatic backend discovery and validation within the Openclaw Skills environment.
  • Flexible page range syntax allowing for non-contiguous slide exports in a single command.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*