/paper-office:pptxfrom paper-office
Edits and inspects PowerPoint .pptx files using paper-pptx (extends python-pptx with guarded edits, composition, diffs, and package-preserving saves).
Ships in paper-office. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
paper-pptx is an upgraded distribution of python-pptx. It keeps the familiar import and ordinary API:
from pptx import Presentation
presentation = Presentation(source_path)
Use your existing knowledge of python-pptx for normal slides, shapes, text, tables, charts, images, layouts, and formatting. The fork adds public APIs for the places where ordinary python-pptx is thin: effective-value inspection, stable targeting, notes and footer handling, slide lifecycle, relationship-aware clone/import/composition, owned chart and media graphs, semantic diffs, and package-preserving saves.
paper-pptx provides the pptx import.
The Paper API companion maps Paper-specific capabilities to their public symbols. The generated API reference covers the complete public API, including the surface inherited from python-pptx, with one page per module. It is large; search by symbol and read only the relevant section.
Check for paper-pptx with python -m pip show paper-pptx. If missing, use an activated virtual environment and follow the package README install commands:
python -m pip uninstall -y python-pptx paper-pptx
python -m pip install paper-pptx
python -m paper_pptx_doctor
Use the same python for checks, installation, and scripts; activate the venv in the agent's shell.
python-pptx and paper-pptx both provide the pptx import. Do not install them together.
Run python -m paper_pptx_doctor again if imports fail or the environment changes.
Paper operations refuse ambiguous targets rather than selecting the first matching layout, placeholder, section, shape, or text block. A presentation.batch() block validates once at exit and discards every edit in the block if validation fails.
A PaperRefusal means paper-pptx cannot guarantee the attempted operation through its guarded API. The concrete subclass and message identify the condition that caused the refusal. In rare cases an ordinary python-pptx mutation or direct package editing may be appropriate when unguarded serialization is intentionally acceptable and its effects on the deck's relationship and ownership graph are understood. Verify the resulting deck carefully.
Opening a deck can also refuse. paper-pptx validates every member of the package on intake and rejects an archive with more than one reading or one that is unsafe to expand, so a hand-rezipped or tool-mangled file may raise PackageLimitError where upstream python-pptx opened it. Report the refusal and its message rather than working around it; each such refusal matches what PowerPoint itself does with that file.
Precise ZIP/OOXML work is still available when it is genuinely narrower than object-model mutation, the exact members and relationships are understood, and the candidate can be checked independently. Never copy a slide, chart, image, notes part, or shape XML without accounting for its complete relationship and ownership graph.
presentation.save(output) uses normalized serialization and can rewrite semantically unchanged package members. patch_save(source, presentation, output) preserves unrelated original XML bytes and returns a diff.
Saving is refused while a batch() block is open, so close the block before writing.
references/api/action.md (opens in a new tab)references/api/api.md (opens in a new tab)references/api/chart.axis.md (opens in a new tab)references/api/chart.category.md (opens in a new tab)references/api/chart.chart.md (opens in a new tab)references/api/chart.data.md (opens in a new tab)references/api/chart.datalabel.md (opens in a new tab)references/api/chart.legend.md (opens in a new tab)references/api/chart.marker.md (opens in a new tab)references/api/chart.plot.md (opens in a new tab)references/api/chart.point.md (opens in a new tab)references/api/chart.series.md (opens in a new tab)references/api/chart.xlsx.md (opens in a new tab)references/api/chart.xmlwriter.md (opens in a new tab)references/api/compose.md (opens in a new tab)references/api/diff.md (opens in a new tab)references/api/dml.chtfmt.md (opens in a new tab)references/api/dml.color.md (opens in a new tab)references/api/dml.effect.md (opens in a new tab)references/api/dml.fill.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub paper-instruments/skills --plugin paper-office3 skills in this plugin
/docxWork with Microsoft Word `.docx` files using the installed `paper-docx` distribution, which imports as `docx` and extends `python-docx` with inspection, guarded edits, review structures, composition, diffs, and byte-preserving saves./xlsxWork with Excel `.xlsx` and `.xlsm` files using the installed `paper-xlsx` distribution, which imports as `openpyxl` and extends it with preservation-aware saves, guarded structural edits, recalculation helpers, diffs, and richer inspection.Other plugins' skills for the same job