pptx-html-fidelity-audit

pptx-html-fidelity-audit is a skill for Claude Code, Codex from sanqiufong/slides-from-anything. It costs 185 tokens per session (3,488 once invoked), scanned A, a copy of pptx-html-fidelity-audit, Apache-2.0.

A review and correction workflow for checking a PowerPoint file made from an HTML slide deck. It compares the two versions to find layout and text differences.

In plain words
What is it for?
Use it when you have both the original HTML slides and the generated PPTX, and need to find or fix differences between them.
Why use it?
It helps catch problems that can appear during conversion, such as cropped content, overflowing footers, missing italics, lost styling, or uneven spacing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when you have both the original HTML slides and the generated PPTX, and need to find or fix differences between them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sanqiufong/slides-from-anything/pptx-html-fidelity-audit
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.

Any agent
npx skills add sanqiufong/slides-from-anything --skill pptx-html-fidelity-audit
Clone the repo
git clone --depth 1 https://github.com/sanqiufong/slides-from-anything

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pptx-html-fidelity-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/sanqiufong/slides-from-anything/pptx-html-fidelity-audit/github.svg)](https://agentmods.dev/skills/sanqiufong/slides-from-anything/pptx-html-fidelity-audit)
Your own site
<a href="https://agentmods.dev/skills/sanqiufong/slides-from-anything/pptx-html-fidelity-audit"><img src="https://agentmods.dev/badge/skills/sanqiufong/slides-from-anything/pptx-html-fidelity-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pptx-html-fidelity-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/sanqiufong/slides-from-anything/pptx-html-fidelity-audit"><img src="https://agentmods.dev/badge/skills/sanqiufong/slides-from-anything/pptx-html-fidelity-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,488 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00185 $0.03488
Opus 5 $0.00093 $0.01744
Sonnet 5 $0.00037 $0.00698
Haiku 4.5 $0.00018 $0.00349

Measured 13d ago against content hash 4d1fe39410f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pptx-html-fidelity-audit 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 13d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/extract_pptx.py, scripts/verify_layout.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

100% identical to pptx-html-fidelity-audit — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/pptx-html-fidelity-audit/SKILL.md · 255 lines

How it starts

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

PPTX ↔ HTML Fidelity Audit

A repeatable workflow for catching the ways a python-pptx export silently drifts from its HTML source — and fixing them with a layout discipline that prevents the same regressions on the next pass.

When this skill applies

The user has:

  • A source HTML slide deck (typically a single-file deck with <section class="slide"> blocks):

    <section class="slide light">
      <div class="chrome">2026 · Q2 review</div>
      <span class="kicker">Pillar 03</span>
      <h2 class="h-xl">Shipping <em>velocity</em> doubled</h2>
      <p class="lead">…</p>
      <div class="foot">page 5 / 14</div>
    </section>
    
  • A PPTX file generated from that deck via python-pptx (or similar).

  • A suspicion (or visible evidence) that the PPTX doesn't match the HTML — text bleeding into the footer, italic words gone flat, hero slides not centered, sections cropped, tag styling lost.

If the user only has one of those two artifacts, this skill doesn't apply yet — first generate the missing one, or ask the user to provide it.

Why this is hard (and why a skill helps)

PPTX is a fixed-canvas, absolute-positioned medium. HTML is a fluid, flow-based medium. A naive python-pptx export pins each block at hand-picked (top, left) coordinates, which works for the first slide it was tested on and silently fails for every other slide whose content has different intrinsic height. The result is the most common drift modes:

  1. Footer overflow — content's top + height crosses into the footer row.
  2. Off-canvas content — bottom of last block exceeds 7.5" (16:9 canvas).
  3. Italic loss<em> in HTML never gets run.font.italic = True.
  4. Hero slides not centered — vertical-stack slides use MARGIN_TOP instead of computing center.
  5. Box bounds intruding — the text fits, but the shape's bounding box is oversized and visually crosses the rail.
  6. Tag/styling loss — colored chrome rows, kicker uppercase tracking, mono-vs-serif assignments quietly fall back to defaults.

Read the full file on GitHub · 255 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 13d ago First seen · 255 lines · 185 tokens per session scan A 4d1fe39410f0

Subscribe to this mod's changes

pptx-html-fidelity-audit is a skill published in the GitHub repository sanqiufong/slides-from-anything (130 stars, last pushed yesterday), licensed Apache-2.0. It adds 185 tokens to every session and 3,488 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pptx-html-fidelity-audit, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

overleaf-sync

A two-way connection between a local paper folder and Overleaf, a web-based LaTeX editor for writing research papers. It lets you move changes between the local files and the shared Overleaf project.

wanshuiyin/Auto-claude-code-research-in-sleep · 97 tokens