/vault-design:brand-pptxfrom vault-design
PowerPoint decks (.pptx) only. Brand-aware PowerPoint engine. Use to (1) EXTRACT a company's brand from a .pptx template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE a new on-brand .pptx from an IntermediateDocument. Trigger on "extract our brand", "use our deck template", "generate a branded deck from our profile", or when a ./brand-kit exists. For one-off slide edits with no saved brand profile, use the normal pptx skill instead. NOT for .docx (brand-docx), .xlsx (brand-xlsx), or PDFs. Not for Word or Excel files - use brand-docx or brand-xlsx.
Ships in vault-design. 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; scripts run unread.
Use this skill when the user wants reusable branded PowerPoint generation from
a company .pptx template and variable user-provided content.
This is an AI-agent skill for Codex and Claude Code. The user should describe
the deck they want; the agent converts that request into an IntermediateDocument,
uses the internal Python engine, verifies the output, and returns the generated
.pptx.
Every brand skill (brand-docx, brand-pptx, brand-xlsx) implements the same
contract. The deterministic core is extract / verify / generate; on top of it
sit the optional learning verbs comprehend / learn / propose-overrides /
refine, each fail-closed (the engine validates every proposal and authors every
value).
| Verb | Input | Output |
|---|---|---|
| extract | a company .pptx template | a reusable Brand Profile |
| comprehend (optional, model-driven) | a saved profile + a model-authored comprehension.json | the profile with a validated, cached comprehension block |
| verify | a saved Brand Profile | QA findings + a verdict |
| generate | content (an IntermediateDocument) + a profile | a new on-brand .pptx |
| learn (deterministic distillation) | the profile's cross-run generation history | recurring QA findings distilled into shell-frozen overrides, advisory until --accept |
| propose-overrides (model-driven) | the recurring remainder learn could not bind + a model-authored proposal | shell-backed corrections through the same fail-closed sink, advisory until --accept |
| refine | end-of-generation user feedback (text or a screenshot) as a refinement.json delta | the existing comprehension overlaid for FUTURE generations, advisory until --accept |
comprehend is optional: generate works on the deterministic profile alone.
See reference/comprehension.md for the full step.
python scripts/cli.py ... as an internal engine command, not the user-facing workflow.scripts/cli.py is a LAUNCHER that locates the engine root by itself: it works from this skill folder AND from the repo/plugin root (set BRAND_DOCS_ROOT to override). Never guess deeper paths like scripts/brandkit/....brand-kit/<name>/template/shell.pptx byte-for-byte.profile.json.profile.json.artifact_catalog before generation when the user asks to mimic a specific piece of the template.Before doing any work, run:
python scripts/cli.py doctor
Use its output to decide the run mode:
soffice plus pdftoppm or
optional PyMuPDF/fitz), the
core L0 workflow can still run, but a full visual audit cannot be claimed.
Tell the user what is missing, include the install/repair hint printed by
doctor, and either proceed with degraded QA or install the renderer first.tesseract) is missing, the visual audit can still run, but
rendered residual-text proof is incomplete. Report that limitation when
judging stale placeholders or field caches.--qa deep or --qa strict, prefer repairing/installing renderers before
generation. If the environment cannot run them, deep generates a degraded
manifest and strict fails with a visual proof blocker..pptx template.brand-kit/<name> exists, extract one.IntermediateDocument JSON..pptx with the internal engine.Before generation, inspect profile.json.artifact_catalog when the user asks
to mimic a specific template piece. It records OOXML parts, media parts, slide
layouts, masters, placeholder geometry, slide texts, and slide size.
The IDoc is where "correct deck" becomes "great deck". Author it role-first, against the profile, never layout-first:
brand-kit/<name>/PROFILE.md before writing a block. It lists the
role table and the brand palette tokens. Choose every block by MEANING from
that table; the engine maps it to the template's real masters and layouts.chart, table (merged cells included) and
diagram blocks are authored NATIVELY: never describe a chart in prose or
paste it as an image when a native block exists.primary, text, ...) or a theme slot (accent1), never a hex.component / section fragments (comprehension.fragments in
profile.json) with {{slot}} values over hand-building recurring slides.Ask for feedback only after you have returned the generated .pptx and its
QA summary - never before or during generation. Invite the user to reply with
text or a screenshot of the deck, and name the roles, palette colors, and
sections you actually used so the answer is concrete. A screenshot is your own
multimodal read; the engine only ever ingests the structured JSON delta you
distil from it.
Turn the answer into a small refinement delta of verbatim ids and merge it with
the refine verb (see reference/comprehension.md):
python scripts/cli.py refine --name <brand> --input refinement.json --accept
A refinement improves FUTURE generations of this brand only - it mutates the
saved profile, never the .pptx you just produced. To apply it, generate again.
When the SAME QA finding recurs across runs, you can also propose a shell-bound
correction with propose-overrides: the comprehend-input bundle surfaces the
recurring generation_history, and you NAME a shell-backed re-point (a stub role to
an existing healthy role, a number_format mask the shell uses, or a captured demo
value) that the engine binds fail-closed (see
reference/comprehension.md). It is advisory until
--accept, improves FUTURE generations only, and every live correction surfaces
as an INFO override_applied finding in QA.
python scripts/cli.py extract --name <brand> --template <template.pptx> --scope project
Read reference/comprehension.md for the full guidance, the six questions, and the anti-overfitting directive. In short:
python scripts/cli.py comprehend-input --name <brand> # prints {facts, excerpt} for the model
python scripts/cli.py comprehend --name <brand> --input comprehension.json # the ONLY writer
Skip this verb when comprehension.status is present and its
source_shell_sha256 equals the live provenance.shell.sha256. Never re-run it
at generate time.
pptx readiness. The PowerPoint extractor surfaces cover anchors, the agenda/section-list field inventory when present, and slide regions. A current comprehension can therefore steer cover fill, demo-slide clearing, and agenda/section-list regeneration. If a deck genuinely has no agenda/section field, do not force one; a ref into an empty inventory is fail-closed and will be rejected. Deeper native-object authoring remains a pptx enrichment milestone.
python scripts/cli.py verify --name <brand> --scope auto --qa auto
--qa selects the QA depth (see reference/visual-audit.md):
fast: deterministic L0 only.auto: L0 + L1 visual pixel proxies when renderers (soffice plus pdftoppm or optional PyMuPDF/fitz) are present; otherwise L0 plus a single INFO visual.unavailable.deep: L0 + L1 + a visual_manifest.json and per-page PNGs; if tesseract is installed the manifest also includes OCR text/hits. The orchestrator must then run the L2 step (see below).strict: deep visual audit plus gate errors when full render proof is unavailable or L1/OCR evidence is not clean.Verify has no output to render, so all modes behave as L0 at verify time; the visual stages run at generate time.
python scripts/cli.py generate --name <brand> --input <intermediate-document.json> --output <output.pptx> --scope auto --qa auto
See reference/comprehension.md and reference/visual-audit.md.
The engine renders the output and runs deterministic pixel proxies, but the qualitative visual judgement is yours (the orchestrator), never the engine's - the Python engine never calls a model. To run the full two-stage audit:
--qa deep. The engine renders each slide to a PNG, runs the L1
proxies, and writes visual_manifest.json next to the output in an
<output-file>.visual/ dir, such as deck.pptx.visual/ (a side artifact;
the .pptx bytes never change).visual manifest: <path>).pages[*].png. For every entry in checklist, judge
PASS/FAIL against the rendered pages, taking l1_findings and ocr.hits into
account.visual.ocr_residual_text hit is confirmed as stale visible
template text): repair the IntermediateDocument/content or the generated
composition, regenerate, then re-run the audit. Loop until the
checklist is clean, or until no further targeted repair can be justified
without user input.L1 findings are WARNING-only and never fail the gate by themselves; the real qualitative gate is your L2 judgement.
During repair, treat the template as a source of reusable layout affordances, not
a rule to preserve blindly. If inherited placeholders, section/agenda slides,
layout geometry, or other template structures create blank slides, overlaps,
stale entries, or visibly broken pagination, diagnose the structure as the cause
and make the smallest targeted composition change. It is acceptable to collapse,
move, or remove inherited scaffolding when preserving it damages the final deck.
After every repair, regenerate and rerun --qa deep or --qa strict.
M2 supports title/content deck generation from the saved shell. Long content is
split across multiple content slides with a conservative capacity guard. When a
current comprehension block is present, generation reconciles the deck by keeping
structural slides, filling cover placeholders in place, clearing corroborated
demo slides, and regenerating the agenda/section list from the new headings.
Table blocks are authored as native PowerPoint table objects (honoring
colspan/rowspan merges). Chart, SmartArt, KPI and image blocks are also authored
natively and on-brand (a real graphicFrame chart inheriting the deck theme,
chevron/box autoshapes for SmartArt, a brand-styled metric table for KPIs, a
placed picture for images). A divider has no native pptx form and degrades
loudly (a visible block_degraded warning, never a silent drop).
The two-stage visual audit closes the "L0-only" gap: L1 deterministic pixel
proxies catch rendered-layout defects L0 cannot see (blank/broken slides, content
bleeding past the slide edges), and the L2 manifest drives the orchestrator's
qualitative judgement and repair loop. See
reference/visual-audit.md. When soffice and both
PDF rasterizers (pdftoppm, optional PyMuPDF/fitz) are absent (e.g. CI), the
audit degrades cleanly to L0 plus a single INFO
visual.unavailable; exit codes are unchanged.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub yhyu13/agentskillsvault --plugin vault-design16 skills in this plugin
/anatomyBuild crafted, highly detailed, interactive isometric SVG figures that explain a technical idea as a real physical object (a test rig, a dial gauge, a cabinet of drawers, a plotter, a lock), with many small precise solid parts, four-tone shading, correct painter's order, a framed card with title, hint and live readout, and calm eased motion. Use this whenever someone wants an isometric illustration, an explanatory diagram or figure for docs, a blog post, a landing page or an article, a "Linear-style" or "premium" technical drawing, an interactive explainer, or an SVG that shows how a system, algorithm or component works, even if they never say "isometric". Works framework-free (TypeScript/JS that writes SVG and HTML) and in React/Next.js, and can add realistic WebGL shaders (fire, exhaust, water, caustics, lamp light) that live inside the drawing in the same isometric perspective. Also publishes a finished figure to the Anatomy community gallery when asked./brand-docxWord documents (.docx) only. Brand-aware Word engine. Use to (1) EXTRACT a company's brand from a Word template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE new on-brand .docx documents FROM a saved profile. Trigger on "extract our brand", "learn/match this template", "use our brand kit", "generate a branded report from our profile", or when a ./brand-kit exists. For one-off Word edits with NO saved brand profile, use the docx skill instead. NOT for .pptx (brand-pptx), .xlsx (brand-xlsx), or PDFs. Not for PowerPoint or Excel files - use brand-pptx or brand-xlsx./brand-xlsxExcel workbooks (.xlsx) only. Brand-aware Excel engine. Use to (1) EXTRACT a company's brand from a .xlsx template into a reusable "Brand Profile", (2) COMPREHEND the template with the model (optional), (3) VERIFY it, (4) GENERATE a new on-brand .xlsx from a GridDocument fill manifest. Trigger on "extract our brand", "use our workbook template", "generate a branded workbook from our profile", or when a ./brand-kit exists. For one-off spreadsheet edits with no saved brand profile, use the normal xlsx skill instead. NOT for .docx (brand-docx), .pptx (brand-pptx), or PDFs. Not for Word or PowerPoint files - use brand-docx or brand-pptx./cookRuns the Cook Loop for ambitious visual builds that must match reference images, screens or videos through long autonomous iteration. Use it for 3D worlds made in code (three.js, WebGL, shaders), code-rendered films, launch and motion videos, games and polished UI that must hold up next to references, especially runs of many hours or days while the user is away. Trigger when the user types /cook or $cook, says "cook", "go cook", "let it cook", "iterate until it matches", "match the references", "99%", "99.9%", "9/10 minimum" or "at least 8h", or attaches reference images and asks for a recreation in code. It runs one intake, then loops build, stills, zero-context critics and fixes against a numeric bar, and holds the final render until the user approves. Do not use it for a small edit, a one-screen tweak, a task with no references and no numeric bar, or any job the user capped under 2 hours./hands-on-deckModify an EXISTING .pptx. 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 across decks; and verifying decks visually. Trigger whenever the user mentions a deck, slides, a presentation, or a .pptx filename. Not for creating a new deck from scratch - use pptx./html-artifactsBuild a single self-contained, interactive HTML artifact and pop it open in the browser. Covers reports, slide decks, flowcharts/diagrams, design systems, component sheets, clickable prototypes, animation sandboxes, code-review / PR writeups, module maps, research explainers, status / incident reports, and throwaway editor UIs (triage board, feature-flag toggler, prompt tuner). Reach for this WHENEVER the user wants to SEE something instead of reading prose about it — phrases like "make an HTML page/artifact", "build me a deck / report / diagram / mockup / dashboard / prototype", "show me this as a webpage", "visualize this", "render this", "pop it open / 弹开看看", "做成一页 HTML", or any time the answer lands better as a spatial, interactive page than as markdown. Output is one self-contained .html saved to ~/.claude/artifacts/ and opened in the browser, styled with the Claude editorial design system and modeled on the bundled reference/*.html pattern library ("the unreasonable effectiveness of HTML"). NOT for shippable production UI / React components, and NOT a replacement for /talk-html when the user specifically wants a shareable gist recap link.