import

A tool for converting an existing PowerPoint presentation into an editable JavaScript program that can generate the slides again. PowerPoint is Microsoft's presentation file format.

In plain words
What is it for?
Use it to import a .pptx file, inspect its slides, and continue editing or regenerating the presentation with PptxGenJS.
Why use it?
It helps recover editable slide structure when a presentation was created outside the normal editing workflow.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/michaelengland/deckwright/import
Any agent
npx skills add michaelengland/deckwright --skill import
Clone the repo
git clone --depth 1 https://github.com/michaelengland/deckwright

Made for: Claude Code, Codex.

Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,086 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00078 $0.01086
Opus 5 $0.00039 $0.00543
Sonnet 5 $0.00016 $0.00217
Haiku 4.5 $0.00008 $0.00109

Measured yesterday against content hash 30058355e24b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

import scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/import/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Import

Import an existing PowerPoint presentation by reverse-engineering it into an editable PptxGenJS generation script. This is the entry point for editing decks that weren't created through deckwright.

Prerequisites

  • User has a .pptx file they want to edit or improve

Process

1. Identify the Source File

Ask the user to provide or confirm the path to the .pptx they want to edit. If they've already mentioned it, confirm:

"I'll import [filename.pptx] for editing. Is that the right file?"

Do not proceed without a valid file path.

2. Read the Import Reference

Read ${CLAUDE_PLUGIN_ROOT}/references/pptx-import.md for the full import workflow, capabilities, and known limitations.

3. Run the Reverse-Engineering Script

Follow the "Running the Script" section in ${CLAUDE_PLUGIN_ROOT}/references/pptx-import.md — it covers installation, invocation, and the expected output folder structure. Check the exit code. If non-zero, read stderr and diagnose the issue using the Troubleshooting section in that reference.

4. Generate Thumbnails from the Original

Before running the generated script, convert the original .pptx to slide images as a visual baseline for comparison. Follow the PDF Export and Visual Validation workflow in ${CLAUDE_PLUGIN_ROOT}/references/pptx-generation.md, saving output to decks/<name>/original/slides/.

5. Validate and Fix (Loop)

Follow the same regenerate-compare-fix loop used in /deckwright:present: regenerate, compare slide-by-slide against the originals, fix differences, repeat.

  1. Install PptxGenJS if needed: npm install pptxgenjs
  2. Run the generated script from the deck folder: cd decks/<name> && node <name>.js
  3. Convert the regenerated .pptx to slide images and a thumbnail grid (same validation workflow, output to the deck folder's slides/ directory as usual)
  4. Compare slide-by-slide against the original thumbnails. For each slide, check:
    • Is the text content and positioning correct?
    • Are colors and fonts right?
    • Are images present and correctly placed?
    • Are shapes (backgrounds, dividers, accent bars) reproduced?
    • Is the overall layout and whitespace faithful?
  5. If fixable differences exist — edit the generation script to correct them and regenerate. Common fixes:
    • Adjust x/y/w/h values for positioning
    • Fix font sizes or colors
    • Add missing shapes or backgrounds
    • Correct text content or formatting
  6. Repeat until the regenerated slides match the original as closely as possible.

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 89 lines · 78 tokens per session scan A 30058355e24b

Subscribe to this mod's changes

import is a skill published in the GitHub repository michaelengland/deckwright (2 stars, last pushed 6mo ago), licensed MIT. It adds 78 tokens to every session and 1,086 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ppt-master

AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable Brand/Style/Layout/Deck workspaces, filling native PPTX templates, and enhancing finished PPTX files. Use when the user asks to create, generate, reconstruct, regenerate, beautify, redesign…

hugohe3/ppt-master · 108 tokens

codex-ppt

Generate visually unified image-based PPT/PPTX decks from articles, reports, papers, notes, or outlines.

ningzimu/codex-ppt-skill · 27 tokens

impress-presentations

Use when creating, opening, or editing LibreOffice Impress ODP presentations, or PPTX decks only when PowerPoint compatibility is explicitly required.

agent0ai/agent-zero · 33 tokens

hands-on-deck

Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes reading, analyzing, or extracting content from presentations; editing text, images, styles, or layout of existing decks; creating new slides, shapes, tables, or pictures; reordering, duplicating, or merging slides…

EveryInc/hands-on-deck · 102 tokens

pptx

Read, create, and convert Microsoft PowerPoint (.pptx) presentations — extract slide text to JSON/markdown, build decks from JSON/markdown outlines, and export to PDF.

zhixuli0406/DuDuClaw · 39 tokens

thesis-defense-pptx

Create, polish, and quality-check editable undergraduate or graduate thesis defense PowerPoint decks from a local thesis PDF/LaTeX project and an existing PPTX template. Use when the user asks for a formal defense PPT, thesis presentation, academic答辩PPT, template-matched PPTX, or local PowerPoint deck generation with…

zouchenzhen/thesis-defense-pptx-skill · 77 tokens