Skip to main content
skill CX Codex GP ChatGPT official · OpenAI

reports-pdfs-and-slide-automation — Codex skill: how to install

Generates structured PDF reports and slide decks for PowerPoint or Google Slides. Useful when converting raw data and diagrams into deliverable files.

Install into Codex · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openai/plugins --skill reports-pdfs-and-slide-automation -a codex
Open on GitHub

What reports-pdfs-and-slide-automation does

This skill treats deliverables as sequences of claims backed by durable visual assets instead of raw dashboard dumps. Every embedded chart or diagram requires an isolated asset pass with source notes and clear sizing. Screenshots are strictly a last resort.

For slide automation, the workflow targets PowerPoint via pptxgenjs or Google Slides through its API with explicit element geometry. PDF generation in Codex typically builds an HTML layout with SVG or PNG assets, then prints via Playwright or Puppeteer. Direct compilation through pdf-lib and PDFKit is also supported.

Agents must wait for layout concept approval before generating implementation code. The skill enforces a visual design contract covering figure slots, data layers, and fallback rules. SVG serves vector print needs, while PNG covers slides and Word docs where vector support varies.

What it helps with

  • generate PDF reports by printing HTML layouts via Playwright
  • assemble PowerPoint decks with programmatic charts using pptxgenjs
  • place C4, ERD, and architecture diagrams into technical documentation
  • build static key-frame fallbacks for animated or 3D visuals

Example prompts for the agent

  • Build an HTML financial report and export it to PDF using Playwright.
  • Create a PowerPoint deck from these survey metrics using pptxgenjs.
  • Insert these architecture diagrams into the documentation as vector SVG assets.

How to install reports-pdfs-and-slide-automation

1Skills CLI (Vercel)

npx skills add openai/plugins --skill reports-pdfs-and-slide-automation -a codex

2Manually: put the files in place

.agents/skills/reports-pdfs-and-slide-automation/SKILL.md

For all projects use ~/.agents/skills/

Step by step, with commands for each platform: Codex skills: how to install, where they live, how to call them

Questions about reports-pdfs-and-slide-automation

How to install reports-pdfs-and-slide-automation in Codex?

Run npx skills add openai/plugins --skill reports-pdfs-and-slide-automation.

What does reports-pdfs-and-slide-automation do?

It guides the programmatic creation of deliverables like PDFs, slide decks, and formatted documents. The skill structures visual assets, coordinates diagram exports, and establishes layout contracts before code generation begins.

How does the skill handle PDF generation in Codex?

The recommended pipeline renders charts as SVG or PNG, arranges them in an HTML and CSS template, and exports to PDF using headless Playwright or Puppeteer. Direct creation through pdf-lib or PDFKit is also supported.

Source text

SKILL.md · MIT
---
name: reports-pdfs-and-slide-automation
description: Lay out and export data-rich reports and documents. Use when the user needs report structure, figure packaging, PDFs, PowerPoint or Google Slides automation, or programmatic insertion of visualizations, UML-like diagrams, or architecture diagrams into documents.
---

# Reports, PDFs, and Slide Automation

## Overview

Use this skill when the output is a deliverable rather than a standalone chart. That includes reports, briefing decks, PDFs, slide exports, document embeds, and reusable figure assets that other systems can place into files.

Default assumption: build figures as durable assets first, then compose them into documents. Do not rely on screenshots unless the workflow truly has no better option.

For editorial reports and infographic packages, use `../../references/foundations/editorial-infographic-system.md` before layout. For visual stories that include animation, generated imagery, illustrated substrates, WebGL, particles, 3D, or scrollytelling, also use `../../references/foundations/art-directed-interactive-visual-stories.md`. When page, slide, or figure composition materially affects interpretation, use `../../references/foundations/meaning-preserving-visual-design-workflow.md` and `../../references/foundations/mobile-first-responsive-visualization.md` for concept generation, user approval, mobile variants, and semantic design contracts. The deliverable should read as a sequence of claims supported by figures, not as a dashboard export.

For reports, decks, PDFs, and documents with multiple meaningful figures, use `../../references/foundations/embedded-visualization-self-use.md` before page or slide composition. Each chart, map, table-graphic, inset, flow layer, static fallback, and export-only frame needs a specialist owner and mini-brief before it becomes a placed asset.

## Common Targets

- HTML reports
- PDF reports generated from HTML or direct PDF libraries
- PowerPoint decks
- Google Slides decks
- Word or Docs-style narrative documents
- Markdown and static-site reports
- Technical documentation with UML, ERD, C4, BPMN, flow, state machine, dependency, schema, or architecture diagram assets

## Figure Packaging Rules

1. Inventory every meaningful embedded figure or visual layer before layout, assign a primary specialist owner, and write a mini-brief covering job, data shape, encoding, interaction or static fallback, accessibility, QA, and fresh-pass status.
2. Use an authorized delegated specialist or explicit local specialist pass for substantial figures before composition. The report or deck owner integrates the results, keeps shared encodings consistent, and performs final editorial QA.
3. For advanced report, deck, or page compositions, create a visual design contract before implementation, but only after the user approves the generated layout concept set or requests a revised concept. Do not make project changes, finalize assets, or generate implementation code while approval is pending. If the user requests changes, revise or regenerate the concept set and repeat the concise bullet review until the user agrees on the design. The contract should map the approved concepts to figure slots, locked layout elements, flexible production details, data-bound layers, source/caveat placement, export frames, mobile/landscape or print adaptations, and approved deviations.
4. Export each figure in the format the medium needs:
   - SVG for vector and print
   - PNG for slides and office documents
   - PDF when downstream systems preserve vector PDF pages well
5. Keep chart dimensions intentional for page or slide slots.
6. Preserve consistent theming, typography, and color semantics across all assets.
7. Keep annotations readable at final output size.
8. Include source, caveat, and alternative text metadata with each exported figure.
9. For animated or interactive stories, export first frame, key frames, and final frame so the argument survives in PDF, slides, and reduced-motion contexts.
10. For WebGL or particle scenes, export a static fallback that preserves the data claim: final frame, key frames, arrows, path widths, selected focus state, or a panel sequence.
11. For generated imagery, keep image assets, data overlays, captions, and source notes as separate layers whenever the target medium permits.
12. For UML-like, ERD, C4, BPMN, flow, dependency, or architecture diagrams, use `../uml-and-software-architecture-visualization/SKILL.md` first and export both the diagram source and the rendered asset when the target workflow permits.

## Programmatic PDF Approaches

- Browser or HTML-first:
   - render semantic HTML and CSS
   - print with Playwright or Puppeteer
- JavaScript-first:
   - pdf-lib for PDF manipulation
   - PDFKit or jsPDF for direct generation

For Codex-driven workflows, the most reliable pattern is often: generate charts as SVG or PNG, compose an HTML report, then render to PDF with a browser engine.

## Slide Deck Approaches

- PowerPoint:
   - `pptxgenjs` in JavaScript or TypeScript
- Google Slides:
   - generate assets first
   - place them via the Google Slides API with explicit page geometry

## Document Embedding Patterns

- Word or DOCX: insert exported PNG or SVG where supported and keep captions separate from the image raster.
- Markdown or static docs: prefer SVG for crisp web rendering.
- PDFs: either compose from exported assets or print from HTML layouts.
- Spreadsheets and office docs: use fixed-aspect PNG exports when office rendering of SVG is inconsistent.

## Report Layout Principles

- Start with the question, not the chart inventory.
- Lead with the strongest claim and the view that supports it.
- Use supporting small multiples instead of giant dashboard mosaics.
- Integrate explanatory text near the figure it explains.
- Use insight titles, direct labels, and annotations in the figure asset itself so it survives being moved into slides, PDFs, or article embeds.
- When an interactive story has to become static, package it as a paced panel sequence instead of a single unexplained screenshot.
- Reserve appendix sections for dense tables and methodological detail.

## Output Expectations

- Name the target medium.
- Provide the embedded visualization inventory with specialist owners, mini-brief summaries, QA checks, and delegated or local fresh-pass status.
- For concepted report, deck, or page layouts, use the shared design workflow for required concept images, approval status, approved references, binding visual design contract, locked and flexible elements, data-bound layers, mobile/landscape or print continuation, approved deviations, and semantic fidelity QA.
- Define the export asset set.
- Make page or slide layout explicit.
- For art-directed visual stories, identify which key frames, generated assets, and data overlays should be exported.
- Preserve a clean path for regeneration when the data changes.

## References

- Shared theory:
  - `../../references/foundations/editorial-infographic-system.md`
  - `../../references/foundations/art-directed-interactive-visual-stories.md`
  - `../../references/foundations/meaning-preserving-visual-design-workflow.md`
  - `../../references/foundations/embedded-visualization-self-use.md`
  - `../../references/foundations/mobile-first-responsive-visualization.md`
  - `../../references/foundations/storytelling-annotation-and-critique.md`
- Skill references:
  - `./references/report-structure-and-figure-packaging.md`
  - `./references/pdf-generation-paths.md`
  - `./references/powerpoint-and-google-slides.md`
  - `./references/document-embedding-and-regeneration.md`
  - `../uml-and-software-architecture-visualization/SKILL.md`

## Representative Prompts

- "Turn this dashboard into an executive PDF report."
- "Generate a PowerPoint deck with chart assets and commentary."
- "Programmatically add these visualizations to a report."
- "Create an HTML report and render it to PDF with Playwright."
- "Automate Google Slides or PowerPoint creation from chart assets."
- "Package UML, ERD, C4, BPMN, flow, state machine, dependency, or architecture diagrams into a report, PDF, or deck."

© OpenAI · MIT · openai/plugins

Similar skills

All skills for Writing and docs →

From the same set360

The whole set →
notion-research-documentation Gathers information across Notion pages, extracts facts, and drafts structured briefs or comparative reports with source citations directly in your workspace. CX Codex GP ChatGPT 15installs notion-meeting-intelligence Prepares meeting docs with Notion context, picks structured agenda templates, and drafts pre-reads with timeboxes, owners, and supplemental research. CX Codex GP ChatGPT 15installs ncbi-pmc-skill Skill to search NCBI PMC Open Access for article availability metadata. Returns concise summaries by PMCID or DOI, saves raw XML on request. CX Codex GP ChatGPT 15installs threejs-data-visualization Guides the agent to pick a renderer and build 3D or GPU-heavy visuals when SVG and Canvas2D stop scaling. CX Codex GP ChatGPT 15installs vercel-cli This skill guides Codex and ChatGPT through Vercel CLI work, from deployments and project linking to logs, environment variables, and domains. CX Codex GP ChatGPT 14installs next-forge This skill guides Codex through next-forge projects, from navigating apps and shared packages to handling common development tasks. Use it when setting up a project or editing @repo/* packages. CX Codex GP ChatGPT 14installs marketplace Guides AI agents to discover and provision Vercel Marketplace integrations via CLI before scaffolding app code. Useful for commerce, payments, and monitoring. CX Codex GP ChatGPT 14installs agent-browser-verify Checks a dev server page in the browser for loading issues, console errors, and missing UI elements. Use it to verify a running project before moving on. CX Codex GP ChatGPT 14installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor