Communitygithub.com

presentation-scenes

Build a whole talk as a 3D click-through deck (one offline web page) instead of PowerPoint - visual metaphors, animated beats, camera flights. Not for .pptx files.

What is presentation-scenes?

presentation-scenes is a Claude Code agent skill that build a whole talk as a 3D click-through deck (one offline web page) instead of PowerPoint - visual metaphors, animated beats, camera flights. Not for .pptx files.

Works with✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/lukedex/presentation-scenes/tree/HEAD/skills/presentation-scenes

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Presentation scenes

A deck is one offline web page that replaces PowerPoint for talks meant to wow. The deck is a run of scenes in one 3D world, and the camera flies from one to the next. Each scene makes one point in 1–5 clicks ("beats").

Files in this skill's folder (${CLAUDE_SKILL_DIR} in Claude Code). Read only what each step says.

  • planning.md: arcs, metaphor catalogue, numbers, captions, timing. Read before planning.
  • moves-api.md: every reusable animation, with options, returns and a camera that works. Read before building. Don't read moves.js (56 KB); grep it for a single function if you need a detail.
  • template.html: starter deck to copy. brand-template.js: brand kit. review.md: review checklist.
  • deck.js (engine), moves.js, vendor/three.min.js (three.js r128, MIT): loaded by the deck; no need to read.
  • build.py / build.ps1: pack a deck into one file. examples/moves-gallery.html: one scene per move (build it to view it, like any deck).
  • polished.md (Blender models, blender/bake_export.py) and showpiece.md (hero scenes, examples/hero-fog.html): read only at those levels.

Levels: how much craft goes in

LevelForWhat's in itNeedsTime to make
Quick (default)Team updates, a quick wowKit moves and text scenesNothingAbout 1 hour
PolishedImportant internal talksPlus Blender models with baked light (polished.md)BlenderHalf a day
ShowpieceExecs, big stagesPlus 1–2 hero scenes, shader-drawn or rendered (showpiece.md)Blender1–2 days, rounds of feedback

Rule of thumb: a routine talk is Quick; a talk that must win something is Polished; the one talk this quarter people will remember is Showpiece. Never upgrade every scene: the extra craft goes on the moments that carry the argument.

Rules

  • Made-up numbers by default. The footer always says "Illustrative numbers only.", even with a brand footer. Only pass realNumbers: true to Deck.start if the user says their data policy allows real figures. Never show customer or personal data. Round, plausible numbers that add up; write the sums in the notes.
  • Short. No filler in captions, notes or replies. UK English unless the user writes otherwise.
  • Screen recordings (Moves.video): only ones the user is allowed to show. Ask them to check every frame for names, emails, customer IDs, other browser tabs and notifications. The storyboard can't show video frames. If in doubt, use Moves.chatScreen (a made-up AI chat).
  • Don't put people's or company names in web searches.
  • Where to save: presentations/ in the current project (sources in presentations/src/), unless the user names a place. On claude.ai, write the files to the outputs folder and give the user the built deck file.

1. Ask (one go)

  • What the talk is for and who is in the room.
  • The ask: what they should believe or do afterwards.
  • Rough length. Plan about 1 scene per 1.5–2 minutes, so 20 minutes is 10–12 scenes.
  • The room: dark (theme 'dark', the most wow) or bright ('light'). Branding wanted?
  • Do they have a screen recording of the real tool they may show?
  • The level: Quick, Polished or Showpiece (the table above, in one line each). Suggest one from the purpose. For Polished or Showpiece, check Blender is installed (see polished.md).

1b. Branding (if wanted)

Ask: "Give me the colours, logo and font, or point me at your website and I'll pull them from there." Copy brand-template.js to presentations/brand/brand.js and put the files beside it.

  • They provide it: hex colours, a logo (SVG, or PNG with a transparent background; light and dark versions if they have them), a font file they're allowed to use, and a footer line. Brand guideline PDFs are fine too.

  • From their website: only the site they name; no searches. Read:

    • colours: theme-color, CSS variables, buttons, header;
    • logo: the header logo (SVG preferred), or the brand or press page;
    • font: font-family in the CSS. A free Google Font can be downloaded. For a paid or custom font, don't download it: pick the nearest free font and say so.

    Show what you found and ask before downloading any file. Logos are trademarks: use them only in the user's own organisation's decks, or with permission.

  • Check: choose base dark or light to suit the logo and the room. Fix any "Brand check" contrast warnings in the console. Use the logo version made for the background. Use the accent sparingly.

  • Wire it in: <script src="../brand/brand.js"></script> after moves.js, then Deck.start([...], { brand: BRAND }). A text beat with logo: true shows the logo large above the text.

2. Plan the talk, then get a yes

Read planning.md and write its plan table: each scene's type (text or 3D), metaphor and move, one line per beat, and minutes. Get a yes before building. Use about 1 text scene per 1–2 3D scenes, and open and close on text. At Polished or Showpiece, mark the scenes that get a model or a hero scene, and say why each one earns it.

3. Build

  1. Read moves-api.md (and polished.md / showpiece.md at those levels). Copy template.html to presentations/src/<name>.html, keeping its <script src> lines.
  2. Write the scenes and pass them to Deck.start([...], { title, theme, brand }):
    • Text scene: { title, beats:[{ big, small, note, count?, logo? }] }. big is centre text and can use <em> for accent colour. count:{ to, from?, dur?, delay?, fmt? } counts up into {n}.
    • 3D scene: { title, beats:[{ caption, note, cam, hold? }], build(group) { ...; return update } }. Add objects to group. cam is { p:[x,y,z], l:[x,y,z] } relative to the scene, or t => pose, which must clamp t.
    • update({ t, now, e, beat, setCounter }): drive everything from e[b] (seconds into beat b: -1 before, 1000 after). Use moves first: start from the camera poses in moves-api.md. Write new 3D code only for what no move covers, using hex(Theme.x) colours and glowMaterial() so both themes work. Use softBox() rather than plain boxes, and noGlow(mesh) on screens or cards with text (see moves-api.md, "Look").
    • hold: seconds the beat stays up in the backup video (default 8 for 3D, 5 for text). plate: true puts a dark backing behind the caption, for beats where it sits over a bright screen or busy scene.
    • The real tool: Moves.video({ src }) plays a recording in step with the beat. Keep the file next to the deck, or write src: '@inline:demo.mp4' to pack it in (under about 15 MB), so a double-clicked deck can play it. Moves.chatScreen fakes an AI chat with no real data.
  3. Build it into one offline file (about 600 KB). Try in order:
    • python "${CLAUDE_SKILL_DIR}/build.py" presentations/src/<name>.html presentations/<name>.html. If python is missing, try py. Exit code 9009 means the Microsoft Store stub, not real Python.
    • powershell -ExecutionPolicy Bypass -File "${CLAUDE_SKILL_DIR}/build.ps1" <source> <output>.
    • If neither runs, copy deck.js, moves.js and vendor/three.min.js next to the source page and use it unbuilt. Logos and fonts still load from their @inline: paths, but must stay beside it.

4. Check (one visual pass)

  • Serve the folder: python -m http.server 8000 --directory presentations, or ask the user to open the file.
  • Open http://localhost:8000/<name>.html?storyboard at 1280x720. Wait until window.storyboardDone is true, then read window.deckLint in one JavaScript call. It lists, per beat:
    • content touching the top edge;
    • captions or counters hard to read over the scene;
    • empty-looking frames;
    • console errors.
  • Take one or two screenshots of the storyboard page (it scrolls). Only open individual beats (Deck.go(n)) that are flagged, or whose thumbnail looks wrong. Fix the framing with cam: moving the look point left pushes the scene right, away from the caption.

4b. Independent review

Launch the deck-reviewer agent (from the plugin it may appear as presentation-scenes:deck-reviewer). Give it:

  • the source path and the storyboard URL;
  • the deckLint result;
  • the purpose, audience, ask and length;
  • the path to ${CLAUDE_SKILL_DIR}/review.md.

Don't give it your opinion of the deck. Fix its must fix items and rebuild. Show the user the should fix items with your recommendation. With no agents available, do a separate fresh pass yourself against review.md.

5. Hand over

  • Keys: click / → / PageDown next, ← back (shows the beat finished), O overview, N notes, F full screen, B black, Shift+R record backup, Shift+S storyboard, Esc stop or close. Add ?calm for gentler camera moves.
  • Backup video: Shift+R in full screen plays the deck by itself and saves an MP4. Keep the window visible. Accent colours in text come out white in the video.
  • The storyboard prints with Ctrl+P. Untick "speaker notes" before handing it to the audience.
  • Before the talk: run it once on the actual laptop and projector, with the backup video on the same laptop.
  • Showpiece: also hand over the lite backup copy and the speed-test steps from showpiece.md.

Related Skills