Pdf to ppt pack

From aipoch/medical-research-skills · View interactive version

Pdf to ppt pack is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Convert research paper PDFs into literature-report PPTX decks using a fully offline workflow (extract text/figures, map captions, summarize findings, and generate slides). Use when you need to turn a PDF into a presentation deck, especially for scientific articles with figures and tables.

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

When to Use

Key Features

Dependencies

Example Usage

cd "20260316/scientific-skills/Others/pdf-to-ppt-pack"
python -m py_compile scripts/validate_skill.py
python scripts/validate_skill.py --help

Example run plan:

  1. Confirm the user input, output path, and any required config values.
  2. Edit the in-file CONFIG block or documented parameters if the script uses fixed settings.
  3. Run python scripts/validate_skill.py with the validated inputs.
  4. Review the generated output and return the final artifact with any assumptions called out.

Implementation Details

Validation Shortcut

Run this minimal command first to verify the supported execution path:

python scripts/validate_skill.py --help

PDF To PPT Pack

1. When to Use

2. Key Features

3. Dependencies

4. Example Usage

Step 1 — Extract figures and text

This generates (in the output directory):

python "tools/extract_pdf_figures.py" --pdf "D:/path/paper.pdf" --outdir "D:/path/offline_dir"

Step 2 — Build the PPTX from the extracted directory

python "tools/build_cell_reports_ppt_offline.py" --base-dir "D:/path/offline_dir" --output "D:/path/output.pptx"

Step 3 — Validate and refine, then rerun if needed

5. Implementation Details

Pipeline structure

  1. Extraction phase (tools/extract_pdf_figures.py)
  1. Deck generation phase (tools/build_cell_reports_ppt_offline.py)

Expected slide structure

Repository resources

When Not to Use

Required Inputs

Recommended Workflow

  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

Validation and Safety Rules

Failure Handling

Quick Validation

Run this minimal verification path before full execution when possible:

No local script validation step is required for this skill.

Expected output format:

Result file: pdf_to_ppt_pack_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

Deterministic Output Rules

Completion Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.