/line-world:hyperframes-explainerfrom line-world
Creates minimal, synchronized explanatory videos with HyperFrames, selecting specialist skills and editable assets for each explanatory moment. Use for educational animations and interactive previews where one event changes a recognizable mechanism and related measurements together, with sparse labels, colorset1 by default and justified colorset2. Use when linked visual motion should explain the subject.
Ships in line-world. 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.
Explain by showing what changes, why it changes, and what remains consistent. Build one canonical state and one seekable clock for the whole composition.
Before authoring scene geometry, read asset-direction.md.
For new data or concepts, use the plugin's composition transfer guide to choose the spatial relationship and event order. Bind the moving object, fixed reference and arrival to the actual entities and events in the local brief. A shared parent transform keeps a moving group and its labels together. Preserve a common origin or axis when a measured comparison depends on it. Use the decoded intermediate state to check that the interaction still reads after the assets are composed.
Inspect the available installed skill descriptions, select by the relationship
being explained, and read the selected skill's actual SKILL.md. Follow its
generation and validation workflow. Do not assume a skill is installed or invoke
every possible specialist. Record each asset's purpose, producer, event IDs,
state hooks, ports, bounds and provenance in a project-owned asset plan.
Use original SVG illustration for recognizable objects, procedural systems for
transport or fields, D3/ECharts for quantitative geometry, notation renderers for
typed relationships, and 3D when depth or camera perspective carries meaning.
The routing table explains the tradeoffs and a standalone fallback for each.
These companion skills are optional; never require sibling paths or their
fixtures. In an isolated skill workspace, author subject-specific vector assets
using the construction recipe in that reference.
For a matching controlled inlet or moving vehicle, read
calibrated-mechanisms.md and use its bundled
composer. It creates recognizable editable SVG, calibrated rulers, transport or
rolling hooks, two fixed-domain histories and the asset plan from the actual
numerical model. Preserve requested facts and exact paths; use custom assets for
other mechanisms. This route replaces the blank scaffold and never invents a
companion-skill invocation.
For a nonnegative rate and its accumulated quantity, initialize the model first
with the init command in scene-contract.md.
It writes valid project-owned JSON, numerical bindings and an adaptive layout;
then compose a supported mechanism or scaffold custom assets. Do not scaffold
against a brief that has not been created. The initializer supplies no
mechanism illustration; choose the actual subject deliberately.
For hand-authored SVGs, first create the view-sized blank scaffold described in
asset-contract.md; then draw and bind the actual
subject. This prevents canvas/view coordinate confusion and wrong source paths.
The scaffold can preserve a matching existing plan. Inspect its report before
reading a newly requested file; do not probe paths whose creation was refused.
Use structured JSON serialization for nested expressions and parsed edits.
For travelling objects, bind a named group's relative offset to preserve its
authored pose and keep every part together. Budget the full silhouette at control
extremes. Use explicit UTF-8 writes and repair any text-encoding findings.
Minimalism removes redundant words and decoration, not the features that make a mechanism understandable. Reject an asset if its silhouette, moving part, contact point or visual encoding cannot communicate its assigned question at playback size. Build and inspect a composed still before animating it. Correct the asset, scale or composition when that still resembles generic boxes or a dashboard.
Read scene-contract.md. Write a project-owned JSON
brief using brief.json as a small starting shape.
Use the initializer for a rate/integral instead of hand-balancing nested JSON.
For other models, replace the template's illustrative mechanism with the actual subject. The source variables,
derived expressions, timed input events and visual bindings define the explanation.
For iterative edits, use the bundled patch command described in the scene
contract. It selects marks by ID and validates the candidate before replacing the
brief. Do not substring-replace repeated geometry keys or normalized JSON.
Treat the bundled primitive builder as an assembly and synchronization layer,
not the default art direction. Import flattened editable specialist SVGs with
import_assets.py; see asset-contract.md for the
supported subset, placement, ID bindings and the exact command. It expands assets
into audited marks, preserving numeric state bindings and producer/file hashes.
Keep the copied skill read-only and all outputs outside it. Substitute the actual
bundle path for <skill-root>:
uv run --script <skill-root>/scripts/explainer.py preflight --brief brief.json --report preflight.json
uv run --script <skill-root>/scripts/explainer.py build --brief brief.json --project project --report build.json
Expected authoring findings exit zero; inspect ok. Repair the brief before build.
Run one gate per tool call and inspect its report before the next gate. Do not
chain import and build: a refused import intentionally exits zero without an
assembled output. After changing an SVG, reimport from the original brief. After
changing an owned generated project, rebuild with --refresh; do not reuse a
stale assembled brief or omit that flag on a second build.
The builder never installs packages or reads sibling skills. To repair a generated
scene, edit the project-owned brief and rebuild with --refresh; this intentionally
regenerates the HTML and kernel. Preserve custom project edits before refreshing,
or update those custom bindings directly and validate them again. The index embeds
the brief, so editing JSON alone does not update the filmed stage.
For a mechanism beyond
the primitive vocabulary, adapt the generated project while retaining its pure
state function, public seek/input API, exact palette, event identities and tests.
Read hyperframes-runtime.md for that extension
and the pinned, verified rendering contract. Keep selected specialist assets local;
the bundled path remains usable without them.
Read validation.md and arrow-visibility.md for actual projected arrow paint and endpoint checks. Setup requires Node.js 24+, Chrome or Chromium and FFmpeg. Run the following from the workspace root using the actual project and artifact paths. The scripts locate their project from their own file:
npm install --prefix <project> --cache <project>/.cache/npm --no-audit --no-fund
node <project>/scripts/audit.ts --report <audit.json> --screenshot <preview.png>
node <project>/scripts/hf.ts check
node <project>/scripts/hf.ts render --output <exact-video.mp4> --fps <requested-fps> --quality delivery --workers 2 --no-best-effort
uv run --script <skill-root>/scripts/explainer.py verify-media --video <exact-video.mp4> --brief <project>/brief.json --report <media.json> --contact-sheet <contact-sheet.jpg>
Inspect the browser audit's ok and repair findings before running the native
check. Relative artifact paths resolve against the command's working directory.
Use the supplied audit instead of adding ad hoc servers or probing uninstalled
browser packages. Read its small JSON report once; parse fields rather than guessing
pagination offsets. The builder normalizes JSON whitespace;
compare parsed quantities/units, never raw brief bytes.
Do the rendered-video work when the user requested a video; a request to create it already authorizes local rendering. Do not introduce another approval pause. For preview-only work, deliver the requested preview and omit encoding.
Verify actual input changes and backward/forward seeks. A source event must update its derived values and every dependent mark at the same sampled time; independent quantities must stay unchanged. Inspect stable states, event midpoints, causally important arrivals and full-resolution frames. Repair detached labels, incorrect directions, hidden marks, clipping, excessive prose and unreadable supporting views. Keep controls and verification reports outside the filmed stage.
Deliver the requested artifact plus its editable brief/project and concise evidence. Report actual limits: a passing structural audit cannot prove that the mechanism is scientifically correct or that the viewer understood it. Keep source-backed claims and illustrative models distinct.
agents/openai.yaml (opens in a new tab)assets/examples/conserved-exchange.json (opens in a new tab)assets/fonts/OFL.txt (opens in a new tab)assets/fonts/space-grotesk.ttf (opens in a new tab)assets/palettes/colorsets.json (opens in a new tab)assets/templates/arrow-quality.js (opens in a new tab)assets/templates/audit.ts (opens in a new tab)assets/templates/brief.json (opens in a new tab)assets/templates/hf.ts (opens in a new tab)assets/templates/index.html (opens in a new tab)assets/templates/kernel.js (opens in a new tab)assets/templates/local-runtime.ts (opens in a new tab)assets/templates/preview.html (opens in a new tab)assets/vendor/GSAP-LICENSE.txt (opens in a new tab)assets/vendor/gsap.min.js (opens in a new tab)references/arrow-visibility.md (opens in a new tab)references/asset-contract.md (opens in a new tab)references/asset-direction.md (opens in a new tab)references/calibrated-mechanisms.md (opens in a new tab)references/explanation-design.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
20 skills in this plugin
/animated-svg-to-gifConverts animated SVG files into high-quality GIFs by rendering browser-accurate frames and encoding them with an optimized ffmpeg palette. Use when Codex needs to turn CSS, SMIL, Mermaid, D3, ECharts, Slidev, or other animated SVG assets into shareable GIF files, batch-convert SVG folders, tune GIF dimensions, frame rate, duration, loop behavior, or verify conversion quality./asciinema-real-command-videoRecords authentic persistent, one-shot, command-key, or sequential multi-tool TUI executions and direct-argv runs of installed terminal programs as isolated per-video Asciinema artifact bundles with H.264 MP4 derivatives and executable, action, process, single-attempt, and media provenance. Use when one or several demos must visibly interact with real CLIs, including GitHub Copilot, pickers, or several TUIs in one continuous video, instead of showing a simulated terminal./colorsetsApply the user's original colorset1 or colorset2 palette and Open Sans typography to HyperFrames videos through its native frame.md design specification. Use colorset1 by default and colorset2 when explicitly selected.npx claudepluginhub gvillarroel/plugins --plugin line-world