pptx-posters – Documents & Office skill for AI agents
Creates and audits editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Used when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.
Install the pptx-posters skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-posters-e98a6.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /pptx-posters – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-posters-e98a6.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $pptx-posters – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-posters-e98a6.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /pptx-posters – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-posters-e98a6.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /pptx-posters – then describe the task you want done.
SKILL.md content
PPTX posters
Scope
Use this skill only when the requested source/deliverable is an editable PowerPoint
poster. Do not route an unspecified poster request here merely because PowerPoint is
available.
The manifest 2.0 workflow generates a real one-slide .pptx from strict local JSON. It does not use
HTML conversion, external templates, schematic/image-generation services, API keys,
environment files, network requests, or mandatory figure styles.
Hard gates
Stop instead of guessing when any gate is unmet:
1. The author has not supplied exact poster content and source records.
2. Any claim, number, citation, author, affiliation, funding statement, figure,
license, or QR target is unresolved.
3. Current conference and printer requirements are not confirmed.
4. Author approval is not bound to the current manifest content hash.
5. An asset is remote, outside the manifest directory, unhashed, or unapproved.
6. An input is .pptm, contains macros/external relationships/OLE/embedded files,
or is an untrusted template.
7. The requested workflow needs PowerPoint to be opened or executed automatically.
8. A script reports a package, layout, DPI, contrast, or output-plan blocker.
Never fabricate missing material or leave a plausible placeholder. Drafts fail closed.
Install exact generation dependencies
In the poster project directory, create an environment outside this skill tree.
Activate it before running the tools (macOS/Linux shown):
uv venv
source .venv/bin/activate
uv pip install "python-pptx==1.0.2" "Pillow==12.3.0" "lxml==6.1.3"On Windows PowerShell, activate with .venv\Scripts\Activate.ps1. Then run the
CLI commands below from the skill directory with that environment still active.
Package installation needs network access unless the exact wheels are cached; the
poster tools themselves are local. Generation requires exactly:
python-pptx==1.0.2
Pillow==12.3.0
lxml==6.1.3All CLIs use lazy optional imports, so python -B scripts/<tool>.py --help works
without these packages. Use -B to avoid bytecode artifacts.
Establish requirements before layout
Record these separately:
- physical trim width/height and orientation;
- bleed on each edge;
- safe margin inside trim;
- PowerPoint canvas width/height;
- uniform physical-artboard/canvas print scale;
- conference maximum dimensions and delivery format;
- printer trim, bleed, margin, scaling, color-mode, and proof requirements;
- final-output font and raster-DPI thresholds, each labeled as a heuristic or tied to
an exact source.
- required font faces, workstation availability, embedding permission, and the
substitution/proof workflow.
There is no universal poster size. Microsoft currently limits each custom PowerPoint
dimension to 1–56 inches and uses one size for all slides. If the physical artboard
is larger, use a proportional canvas only when the printer confirms scaling.
Read references/poster_layout_design.md.
Build the manifest
Copy assets/poster_manifest_template.json into the project. The template is
deliberately invalid until every replacement token, false confirmation, and draft
approval is resolved.
Follow references/manifest_spec.md and references/poster_content_guide.md.
The manifest requires:
- exact source IDs for document metadata, every element, and every asset;
- document title, subject, and author names joined by
;each at most 255 characters
for the library core-properties API; no silent truncation;
author_verified: trueon every source;author_approved: trueon every element and asset;- local PNG/JPEG paths and lowercase SHA-256 hashes;
- exact provenance and license/permission for every optional image;
- approved alt text and, when needed, a source-bound native long description;
- explicit reading order and design rectangles;
- visible exact fallback URL/text for every local QR image;
- confirmed conference/printer rules;
- declared sRGB contrast pairs and redundant data encoding;
- approval bound to canonical manifest content.
To obtain the content hash after all non-approval fields pass:
python -B scripts/validate_manifest.py poster.json \
--print-content-hashGive that exact manifest and hash to the author. Then set approval.status to
approved, record approver and offset-aware timestamp, and copy the hash. Any
non-approval edit invalidates approval.
Validate the approved manifest and local assets:
python -B scripts/validate_manifest.py poster.jsonAudit assets and palette before generation
python -B scripts/inventory_images.py poster.json \
--output poster.assets.json
python -B scripts/check_palette.py poster.json \
--output poster.palette.json
python -B scripts/plan_export.py poster.json \
--output poster.export-plan.jsonEffective DPI is pixels divided by final placed inches, not image metadata DPI.
The inventory fully decodes bounded images and blocks EXIF/XMP/comments and embedded
text/application metadata;
strip those offline, then rehash and reapprove the asset.
Contrast uses WCAG 2.2 sRGB mathematics; applying those values to a physical poster is
a design target, not a standalone conformance claim. Keep color-redundant labels,
markers, shapes, patterns, or line styles.
If the printer requires CMYK, the plan blocks print-readiness until a
printer-approved conversion/profile and proof exist. Do not claim that a native
PowerPoint PDF is CMYK-compliant.
Read references/poster_design_principles.md.
Generate the PPTX
Use a new output path:
python -B scripts/generate_poster.py poster.json \
--output poster.pptx \
--report poster.generation.jsonGeneration:
- creates a new blank presentation; it never loads a user template;
- sets the approved canvas before adding content;
- uses one native title placeholder, native text boxes, and local pictures;
- preserves image aspect ratio with
containfitting; - disables text auto-shrink;
- adds elements in approved reading order;
- writes approved picture alt descriptions and explicit text language to PresentationML;
- converts offset-aware approval timestamps to UTC for document core properties;
- does not embed fonts, audio, video, OLE, ActiveX, links, or other media;
- removes default printer-settings binary data and normalizes package timestamps;
- inspects the package before and after the alt-text patch;
- refuses overlaps, out-of-bounds shapes, low final font size/DPI, unsafe packages,
and existing destinations.
It renders exact manifest text. It does not compose, summarize, research, or correct
scientific content.
Run final technical audits
python -B scripts/inspect_pptx.py poster.pptx \
--output poster.package.json
python -B scripts/check_layout.py poster.pptx \
--manifest poster.json \
--output poster.layout.jsonThe package inspector reads bounded ZIP metadata and selected XML only. It never
extracts members or opens/executes the presentation. It rejects:
- every non-
.pptxextension, including.pptm; - packages outside the bounded one-slide generator profile;
- macro/VBA, ActiveX, custom UI, OLE, embedded, executable, and binary parts;
- every external relationship, including remote linked images and hyperlinks;
- unsafe/duplicate ZIP paths, symlinks, encryption, oversized expansion, and
excessive compression ratios;
- malformed or entity-bearing inspected XML;
- missing internal relationship targets.
Read references/pptx_security.md.
Manual PowerPoint and accessibility gate
Automation cannot certify accessibility, text rendering, or scientific accuracy.
In a fully patched PowerPoint:
1. Open only the generated and technically clean file.
2. Run Review > Check Accessibility.
3. Inspect the Reading Order pane and object names.
4. Review every alt text and native long description.
5. Test keyboard and screen-reader navigation.
6. Confirm fonts are installed/licensed; check embedding choices, substitution, glyphs,
equations, overflow, contrast, and all edges.
7. Verify that color is never the only encoding.
8. Test every QR code and its visible fallback URL/text.
9. Obtain author sign-off on all content and citations.
Microsoft's 18 pt slide recommendation is not a universal poster minimum. Evaluate
font size at final physical output using the manifest's labeled basis and proofs.
Export and print
Use the approved export plan. When PDF is required, export from the reviewed
PowerPoint using Standard/high print quality rather than Minimum size.
Check the export route as well as its quality setting. On macOS, the option labeled
“Best for electronic distribution and accessibility (uses Microsoft online service)”
sends the document to Microsoft for conversion; it is not a local export. For a
local-only workflow, use a local exporter and report any resulting tag or hyperlink
limitations after inspecting the PDF. Record the exporter and settings in the handoff.
See [Microsoft’s access
… (full content is in the download package)
Related skills
- calc – Spreadsheet creation, format conversion (ODS/XLSX/CSV), formulas, data automation with…
- check-identity-pack – Run an AFP 100-point or AUSTRAC safe-harbour identity check over a set of documents, and…
- pdf – PDF files: create, read, merge, fill, OCR, edit text.
- rag-implementation – Build Retrieval-Augmented Generation (RAG) systems for LLM applications with vector…
- pptx-author – Build PowerPoint decks headless with python-pptx.
- compile-knowledge – Compile durable, non-obvious findings into an interlinked markdown knowledge store —…
- redteam-report-template – Client-facing red-team deliverable format — codifies the Subject / Observations /…
- contract-document-renewal – Contract register: counterparty, owner, start and end dates, auto-renewal flag, renewal…