Diagram explainer — how to make it with code and an AI agent
For AI agents: find the right skill in one call —
curl -s "https://skills.varg.ai/api/search?q=<what the person wants>"returns the matching use case and the best skills with install commands, as markdown (Russian works too). Full index: https://skills.varg.ai/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the use-case page.
How a system works: parts appear, arrows flow, the camera zooms where it matters.
Output: 16:9 · 30–120 s · Input: A description of the system
Ready templates
- Decision Tree — Animated flowchart with branching paths · install:
npx hyperframes init my-video --example decision-tree
Recipe, beat by beat
Each beat lists components that build it; install any with its command, then fill its slots.
Parts (Diagrams & flows, Icons & stickers)
- Avatar Cloud — Lettermark avatars populate a loose elliptical cloud while fine SVG links draw between the community and its central proof label. ·
npx hyperframes add avatar-cloud - Constellation Hub — Feature nodes brighten in narration order as real-length SVG connectors draw outward from a fixed central hub, then settle into one lockup. ·
npx hyperframes add constellation-hub - Decision Tree — Animated flowchart with branching paths ·
npx hyperframes init my-video --example decision-tree - Activity — Animated Lucide activity icon — the pulse line sweeps through like an EKG, popping at the peak. Loops by default. ·
npx shadcn@latest add @remocn/icon-activity - Alert Triangle — Animated Lucide triangle-alert icon — the outline draws on, the mark pops in, then the exclamation blinks to flag a risk or warning. ·
npx shadcn@latest add @remocn/icon-alert-triangle - Arrow Down — Animated Lucide arrow-down icon — the shaft and head draw on, then the arrow nudges down for cost/latency reduction beats or scroll cues. ·
npx shadcn@latest add @remocn/icon-arrow-down
Flow (Diagrams & flows, Steps & timelines, Cursors & clicks)
- Avatar Cloud — Lettermark avatars populate a loose elliptical cloud while fine SVG links draw between the community and its central proof label. ·
npx hyperframes add avatar-cloud - Constellation Hub — Feature nodes brighten in narration order as real-length SVG connectors draw outward from a fixed central hub, then settle into one lockup. ·
npx hyperframes add constellation-hub - Decision Tree — Animated flowchart with branching paths ·
npx hyperframes init my-video --example decision-tree - Card Catalog Explainer — A 56 s explainer: a wall of code-made videos, then one request travels through a card catalog to the finished MP4. Point config.json at any ·
git clone https://github.com/vargHQ/code2video-templates && cd code2video-templates/card-catalog-explainer && bash make.command - varg Previz — A three.js grey-box previz of every shot on the timeline — auto cameras from storyboard words, a posable mannequin — then one Seedance 2.5 v ·
git clone https://github.com/vargHQ/code2video-templates && python3 code2video-templates/varg-previz/scripts/new_previz.py my-previz - Agent Cursor — An AI agent operating a UI: a cursor with an accent name label that types out each step, clicks each target with a small ring, and ends on a ·
npx hyperframes add agent-cursor - Code Snippet - Apple Terminal Pro — Apple Terminal Pro profile: black background with grey text and lime green cursor, per-character typing animation of a shell session. ·
npx hyperframes add code-snippet-apple-terminal-pro - Annotate Cursor — A marker pen glides onto the frame and hand-draws a loose loop, an underline, or an arrow around a region, the ink laid exactly under its ni ·
npx hyperframes add cursor-annotate
Zoom (Camera moves, Callouts & annotations)
- varg Previz — A three.js grey-box previz of every shot on the timeline — auto cameras from storyboard words, a posable mannequin — then one Seedance 2.5 v ·
git clone https://github.com/vargHQ/code2video-templates && python3 code2video-templates/varg-previz/scripts/new_previz.py my-previz - Camcorder HUD — Responsive REC, battery, editable date placeholder, and timeline-driven counter overlay for creator-camera and camcorder treatments ·
npx hyperframes add camcorder-hud - Dolly Zoom (Vertigo Shot) — Camera tracks toward or away from the subject while the field of view changes the opposite way, so the subject holds its frame size while th ·
npx hyperframes add camera-dolly-zoom - AI Answer Rank — Is your brand in the AI answer? A question types into a chat card, the assistant answers with a ranked list of three picks, then re-ranks: t ·
npx hyperframes add ai-answer-rank - Animated Bar Chart — A compact data card with deterministic bar growth and value callouts. ·
npx hyperframes add animated-bar-chart - Arc Motion Path — A GSAP MotionPath primitive that flies a callout along a curved arc with autorotation. ·
npx hyperframes add arc-motion-path
Summary (Lists & rankings)
- AI Answer Rank — Is your brand in the AI answer? A question types into a chat card, the assistant answers with a ranked list of three picks, then re-ranks: t ·
npx hyperframes add ai-answer-rank - AI Chat Reveal — A question is typed on a rising keyboard, sent, and answered by an AI that streams its reply word by word on a measured token rhythm - think ·
npx hyperframes add ai-chat-reveal - Bar Chart Race — Ranked bars grow and overtake each other as a time series advances, with the axis rescaling as values climb and the accent handing over to w ·
npx hyperframes add bar-chart-race
Across the whole video: Captions & subtitles, Themes & brand kits
Generated footage, voice and music
Code renders the layout for free. Anything generated — AI shots, voiceover, music, lip-sync — runs on varg with one key: npx skills add vargHQ/skills --skill varg-ai, the Claude Code plugin claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg, or the MCP https://mcp.varg.ai/mcp.