Skip to content

Guide · Agent skill

How to use the PPTX Slide Specification agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The PPTX Slide Specification skill teaches an AI agent to write a JSON blueprint for a PowerPoint deck in which every object has an exact position and size in inches. It is aimed at developers and automation builders who generate .pptx files from code and need predictable placement. After this guide you will know what the skill does, how to install it, how to phrase requests that trigger it, and what else you need to produce an actual deck.

PPTX Slide Specificationwshobson/agents · MIT

Quick start

  1. 1Download and unzip. Download the skill ZIP from this page and unzip it into ~/.claude/skills/ or a project's .claude/skills/ folder.
  2. 2Or upload in the Claude apps. Go to Settings → Capabilities → Skills and upload the skill there.
  3. 3Describe the deck. Ask for a coordinate-explicit JSON spec, naming slides, content and constraints such as margins or alt text.
  4. 4Review the layout tree. Check that every object has a bbox, z_index and classification, and that content sits inside the safe margin.
  5. 5Write or request a builder script. Provide a task-local Python builder using python-pptx that maps each bbox with Inches(...).
  6. 6Build and inspect the PPTX. Run your builder, then open the deck and confirm text is editable and nothing overlaps the footer.

What the skill makes the agent do

An agent skill is a folder of instructions that an AI agent loads when a task matches the skill's description. This one is triggered when you are authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck.

The agent writes a layout tree in which text, shapes, lines, tables and images each have a final bounding box in inches. Nothing is left for a renderer to decide: no automatic text shrinking and no layout inference after the audit.

  • Root JSON with a summary and a slides list
  • Each slide has a stable id, a message-led title, a reading order and a complete layout_tree
  • Each meaningful object has id, kind, role, classification, content, style, bbox and z_index
  • A summary layout_policy with safe margin, content bottom, footer top and minimum gap

Install the pptx-slide-specification skill

Download the ZIP for this skill from our page and unzip it into one of two locations. For a personal install, use ~/.claude/skills/. For a single project, use the .claude/skills/ folder inside that project.

If you use the Claude apps instead, upload the skill under Settings → Capabilities → Skills.

  • Personal: unzip into ~/.claude/skills/
  • Project only: unzip into .claude/skills/ in your project root
  • Claude apps: Settings → Capabilities → Skills, then upload the skill

Trigger the skill with natural requests

You do not need a special command. Describe the task in plain language that matches the skill's purpose: writing or fixing a coordinate-explicit JSON spec for an editable deck. The skill is most useful when you name the output format and the constraints you care about.

Good requests mention the deliverable, such as a JSON spec, layout tree or PPTX blueprint, and any rules such as margins, font sizes or alt text.

  • "Write a coordinate-explicit JSON spec for a 3-slide editable PPTX deck on our Q3 results, with alt text on every image."
  • "Repair this layout_tree so no object sits below the footer rail and all body text is at least 9 pt."
  • "Author the summary layout_policy for a deck and record source_ref for each sourced claim."

Know what the skill does not produce

The skill produces a specification, not a .pptx file. The skill's own text says a task-local builder starts from a blank slide layout and maps the bboxes with Inches(...). The files do not supply that builder, so you or the agent must write it.

The build contract also requires explicit wrapping, disabled auto-size, text insets, anchors, alignment, fonts, colours, line settings, image aspect ratio and hidden-slide state. The builder should reject zero or negative geometry before adding an object.

  • Python with python-pptx is needed; the skill implies it through the Inches(...) contract but does not name the library
  • Auto-fitting text and renderer-side adjustments are forbidden by design
  • The skill itself runs no scripts and uses no network access

Follow the layout rules

The authoring rules keep the output auditable. Normal content stays inside the safe margin and above the footer rail, and only background layout_design objects may be full bleed. Use native text, shape, line, table and image objects rather than flattened visuals.

Text rules are strict. Content text stays at 9 pt or greater, and you should shorten, resize or split dense content before reducing type. Meaningful images need alt text, and sourced claims need a source_ref.

  • Use stable, readable ids, absolute groups and positive inch dimensions
  • Keep content inside the safe margin and above the footer rail
  • Keep content text at 9 pt or greater
  • Give meaningful images alt text and record source_ref for sourced claims
  • Use shared grids, consistent gaps, explicit colour and font size, and intentional z-order

Check the reference example

The skill ships references/layout-contract.md with a compact schema. Its example uses a safe margin of 0.5 inches, content bottom at 6.7 inches, footer top at 6.85 inches and minimum gap of 0.12 inches, on a 13.333 by 7.5 inch slide. Ask the agent to follow that file when you need the exact shape of the JSON.

What people use it for

  • Generating many quarterly decks from structured content with a consistent grid
  • Repairing a spec where objects fall below the footer rail or text is under 9 pt
  • Adding alt text and source_ref records to a deck built from research notes
  • Producing predictable placement for a programmatic PowerPoint pipeline

Frequently asked questions

How do I install the pptx-slide-specification skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use or into .claude/skills/ inside a project. In the Claude apps, upload it under Settings → Capabilities → Skills.

Does this skill create a PowerPoint file?

No. It writes a JSON specification with exact inch positions. The skill notes that a separate task-local builder script is needed to turn that JSON into a .pptx, and the files do not include one.

What do I need installed to use it?

The skill implies Python with python-pptx through its Inches(...) build contract, though it does not name the library. You also need a builder script, which you or the agent must write.

Is the skill free and what licence does it use?

The source lists the licence as MIT. Check the repository for the full licence text before reuse.

Does the skill run scripts or use the internet?

According to the source, it runs no scripts and uses no network access. The builder script you write is a separate piece of code you control.

Can I use it if I just want a finished slide deck from a topic?

It is not the right tool for that. The skill is for developers and teams who generate decks programmatically; if you only want slides from a typed topic, pick a tool built for that.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use this skill if you generate PowerPoint files from code and need every object placed at an exact, auditable position with accessibility metadata. Skip it if you want a finished deck from a typed topic or cannot write or run a Python builder script, because the skill only produces the specification.

Download the skill