visualize
Installation
Copy the prompt below and send it to your AI assistant (e.g. Claude Code) — it will follow the instructions and install automatically.
Install the "visualize" skill by following the instructions at https://skill123.me/install/visualize.
Run in your terminal — downloads and installs to ~/.claude/skills/.
curl -fsSL https://skill123.me/install/visualize.sh | bash
Download the zip and extract it into your skills directory (e.g. ~/.claude/skills/), then restart your session.
⬇ Download v1.0.2a5a44b · 49.7 MBNot live-tested yet — this skill is rated on static analysis only.
About this skill
Build interactive, voice-guided visual explanations powered by a Deterministic 2-Engine Studio Kit + Unified Frameless Director Shell + 2 Parallel Fresh-Context Final Verifiers. Every topic is routed automatically to the right medium — Engine A (Three.js Orthographic Matte-Clay 3D CAD for EVERY physical object, machine, fluid/thermal/optical device, hardware, watch, battery, atomizer, or organ) or Engine C (2D Tactile Conceptual Studio with Braun/Rams switchboard strips, milled sliding rails, spring lift-arc motion, and single-active-thread Bézier arcs for algorithms, data structures, protocols, distributed systems, ML/transformers, math, finance, and circuits/logic) — wrapped in one cinema-minimal player with Kokoro voiceover, single-source-of-truth simModel telemetry, Dim & Illuminate, Progressive Reveal, hard max-2 collision-aware callouts, verified "Now You Try" micro-challenges, automated headless Chrome Visual QA, and mandatory dual fresh-context verification (Concept & Physics Auditor + Visual Design Director). Use whenever someone wants an object, physical phenomenon, machine, algorithm, data structure, protocol, distributed system, ML mechanism, or paper explained visually, animated, or step by step. Outputs a standalone offline HTML page.
Visualize Studio (`v3.2`) — Grounded 2-Engine Kit + Adversarial Fresh-Context Verifiers
Every /visualize topic is built by **1 focused Builder** grounded in real-world engineering references, routing to **2 Deterministic Studio Engines** wrapped inside **1 Unified Frameless Director Shell**, verified by headless Chrome, and signed off by **2 Parallel Read-Only Fresh-Context Adversarial Verifiers** (on a separate model family or stronger pro tier whenever available) before recording offline Kokoro voiceover.
Documentation
Build interactive, voice-guided visual explanations powered by a Deterministic 2-Engine Studio Kit + Unified Frameless Director Shell + 2 Parallel Fresh-Context Final Verifiers. Every topic is routed automatically to the right medium — Engine A (Three.js Orthographic Matte-Clay 3D CAD for EVERY physical object, machine, fluid/thermal/optical device, hardware, watch, battery, atomizer, or organ) or Engine C (2D Tactile Conceptual Studio with Braun/Rams switchboard strips, milled sliding rails, spring lift-arc motion, and single-active-thread Bézier arcs for algorithms, data structures, protocols, distributed systems, ML/transformers, math, finance, and circuits/logic) — wrapped in one cinema-minimal player with Kokoro voiceover, single-source-of-truth simModel telemetry, Dim & Illuminate, Progressive Reveal, hard max-2 collision-aware callouts, verified "Now You Try" micro-challenges, automated headless Chrome Visual QA, and mandatory dual fresh-context verification (Concept & Physics Auditor + Visual Design Director). Use whenever someone wants an object, physical phenomenon, machine, algorithm, data structure, protocol, distributed system, ML mechanism, or paper explained visually, animated, or step by step. Outputs a standalone offline HTML page.
Visualize Studio (`v3.2`) — Grounded 2-Engine Kit + Adversarial Fresh-Context Verifiers
Every /visualize topic is built by **1 focused Builder** grounded in real-world engineering references, routing to **2 Deterministic Studio Engines** wrapped inside **1 Unified Frameless Director Shell**, verified by headless Chrome, and signed off by **2 Parallel Read-Only Fresh-Context Adversarial Verifiers** (on a separate model family or stronger pro tier whenever available) before recording offline Kokoro voiceover.
The 6-Step Studio Pipeline (Claude Code, Codex, Antigravity)
<skill> is this repository folder. From ANY one-line user request, execute these steps in exact order:
### Step 1 — Route & Scaffold
Auto-select **Engine A** (3D Physical CAD) or **Engine C** (2D Tactile Conceptual). Pass --engine A|C explicitly if the topic is ambiguous or low-confidence:
node <skill>/scripts/new-studio.mjs <slug> --topic "<user prompt>" --dir <folder> [--engine A|C]
View full documentation
### Step 1.25 (MANDATORY for Real-World Objects & Machines) — Real-World Reference Grounding
Before writing a single line of model.mjs or scene.mjs for any named real-world machine, vehicle, hardware system, or biological organ, **verify its real physical layout and specs** (via web search or official engineering docs — never invent a symmetric textbook diagram from memory!):
1. Verify **exact component placement & asymmetry** (e.g., where pumps, turbines, actuators, rails, pins, valves, and mounts physically sit on the real hardware).
2. Verify **real flow / load / control paths** (including cross-bleeds, shock absorbers, return loops, and clearances).
3. Verify **3–5 canonical operating numbers** (pressures, masses, thrusts, speeds, dimensions) and record them in a concise VERIFIED_ARCHITECTURE header comment at the top of scene.mjs and model.mjs.
### Step 1.5 (MANDATORY) — Read Closest Flagship Scene Before Writing scene.mjs
Open and inspect the closest golden reference **before** authoring scene.mjs so geometry, camera framing, part registration, and removeMissing patterns match the verified baseline:
- **Engine A (3D Physical CAD):**
examples/turbofan-studio/scene.mjs(rotary / aerospace / mechanical) orexamples/venturi-atomizer/scene.mjs(vessels / fluids / pistons / sprays). - **Engine C (2D Tactile Conceptual):**
examples/lru-studio/scene.mjs(switchboards, sliding rails, lift-arc physics, active threads,stage.removeMissing).
### Step 2 — Single Focused Builder (model.mjs + model.test.mjs + scene.mjs + build.mjs)
Keep math, geometry, and storyboard tightly coupled in one builder:
- Write pure
simModel(params, variant, t?)(optionaltin seconds for cyclic machines) + unit tests (node --test <folder>/model.test.mjs). - Write compact
scene.mjs(60–140 lines) using only the locked primitives inreferences/studio-engines.md. - Write
build.mjswith **5–7 steps** viastudioPage(...)(references/studio-director.md). **Never override variant-controlled keys insidestep.sim** — let the active variant own its distinguishing parameters across steps!
node --test <folder>/model.test.mjs && node <folder>/build.mjs
### Step 3 — Automated Headless Chrome Content & Visual Gate
Verify offline loading, zero runtime/WebGL errors, valid telemetry, callout budget/bounds, variants, Light/Dark themes, and capture 4 fresh inspection PNGs:
node <skill>/scripts/check-studio.mjs dist/<slug>.html --shots <folder>/shots
### Step 4 — Mandatory 2 Parallel Read-Only Fresh-Context Adversarial Verifiers (NEVER Self-Review!)
Generate 2 ready-to-send adversarial verifier prompts + exact htmlSha256 / modelSha256 / shotSha256s:
node <skill>/scripts/studio-review.mjs brief dist/<slug>.html --shots <folder>/shots --model <folder>/model.mjs --out <folder>/review.json
Dispatch **both** disjoint read-only verifiers **in parallel** with zero prior build context — **preferring a separate model family or stronger reasoning tier** whenever supported to break single-model blind spots:
- **Claude Code:**
Agenttool (2 parallel read-only calls; use a stronger/distinct model when available) - **Codex:**
spawn_agentwithfork_turns="none"(2 parallel calls; distinct model if configured) - **Antigravity:**
invoke_subagentwithresearchandModel: "pro"(2 parallel calls; or a cross-family verifier when configured) - **Verifier 1 — End-to-End Concept & Physics Auditor (Facts-First Adversarial + Visual Fidelity):** inspects
model.mjs+STUDIO_CONFIG**AND**step0-light.png/mid-focus.pngto close the Geometry–Physics Crack. Must list 3–5 non-negotiable real-world facts *first*, then actively try to falsify the math, narration,tryOut, and **real-world 3D component layout** (flagging stylized/invented geometry as ablocker). - **Verifier 2 — Visual Design Director:** inspects **ONLY** the 4 fresh PNGs (
step0-light.png,step0-dark.png,mid-focus.png,final-step.png) — zero code bias — grading silhouette, grounded connections, proportions, callout clearance, and Light/Dark contrast. - **Fix Loop:** Any
blockers[]triggers fix → rebuild → re-shoot → re-verify (up tomax_rounds = 2). Non-blockingnits[]are logged without blocking.
### Step 5 — Seal & Verify Review Gate (Before Voiceover)
Merge both passing verdicts into <folder>/review.json ("reviewer": "independent") and pass the automated gate:
node <skill>/scripts/studio-review.mjs verify dist/<slug>.html --review <folder>/review.json --shots <folder>/shots
### Step 6 — Offline Kokoro Voiceover, Final Build & Fast Gate
Synthesize offline voiceover (studio-voice.mjs automatically normalizes O(1), 8:1, µm, kPa, × for natural speech; skip voice when --fast / --no-voice), run the final build, and pass the fast gate:
node <skill>/scripts/studio-voice.mjs --from-html dist/<slug>.html --out <folder>/voice.json
node <folder>/build.mjs && node <skill>/scripts/check-studio.mjs dist/<slug>.html --fast
Studio Manuals (Read Before Your First Build)
- **
references/studio-engines.md** — Strict 2-Engine routing table (AvsC), Color Lock, 3D CAD + Volumetric WebGL craft rules, and type-exact cheat-sheets forengine-a.ts(all 17 primitives includingairVolumeandjetPlume) andengine-c.ts(all 5 kinetic primitives +removeMissing). - **
references/studio-director.md** —studioPage()contract (hint, outer-margin calloutplace), storyboard schema,simModel(params, variant, t?), variant-key rule, Dim & Illuminate, Progressive Reveal,tryOutchallenges, andwindow.__studio+diagnostics(). - **
references/studio-qa.md** — End-to-end QA pipeline,studio-review.mjsv3.1 schema (conceptual/visualwithblockers[]&nits[],round,max_rounds = 2, SHA-256 locks), cross-harness verifier dispatch, and failure-recovery triage.
The Strict 2-Engine Split (`src/studio/router.mjs`)
| Engine | Kit Module | Route Here For | Flagship Examples |
|---|---|---|---|
| **Engine A — 3D Physical CAD Studio** | src/studio/engine-a.ts (Three.js Orthographic Matte-Clay + EdgesGeometry + RoomEnvironment + Volumetric WebGL GLSL Shaders + damped OrbitControls) | **EVERY physical object, machine, fluid/thermal/optical device, hardware, watch, battery, atomizer, or organ** — **NO flat 2D drawings for physical objects!** (cutawayCylinder, bladeRing, combustorRing, shaft, pipe, spring, gear, glassVessel, liquidVolume, pistonPlunger, mistCone, baseMount, flowRibbon, airVolume, jetPlume, boxPlate, gasVolume) | examples/turbofan-studio/ (dist/turbofan-studio.html), examples/venturi-atomizer/ (dist/venturi-atomizer.html) |
| **Engine C — 2D Tactile Conceptual Studio** | src/studio/engine-c.ts (Braun/Rams tactile instruments on warm drafting paper: switchboard strips, milled sliding rails with lift-arc spring reorder & drop-off eviction, single-active-thre
Score breakdown
Assessment methodology
Version history
— Imported from GitHub Aaryan1524/Visualize@2a5a44b