Editor Types the Code — effect skill for code & terminal
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 how-to page 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 how-to page.
Syntax-highlighted code types into an editor window with a caret riding the frontier.
- Type: Effect · Code & terminal
- Slug:
editor-types-the-code - Status: live
- Publisher: HeyGen (community)
- License: Apache-2.0
- Source: https://github.com/heygen-com/hyperframes/tree/main/registry/blocks/code-typing
- Works in: Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- Requires: HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- Cost: Free — the take renders locally; generated footage, if any, bills by the model
What it does
Built on Code Typing by HeyGen (HyperFrames), Apache-2.0. The write-up and recipes below are varg's.
A real editor theme (VS Code dark), line numbers, the caret moving with human chunks rather than one char per frame.
When: Show how little code it takes: SDK usage, API calls, config.
Watch out: Do not type more than ~8–12 lines on screen; paste the boilerplate and type only the lines that matter.
Timing: 30–60 ms per char in bursts of 3–8 chars with 80–200 ms pauses; hold 1.5 s after the last line.
Also called: code typing, typed snippet, IDE typing
In HyperFrames
npx hyperframes add code-typing
Token-streamed: the visible frontier is derived from time, so scrubbing is exact.
In Remotion
// npm create video@latest -- --code-hike (Code Hike template)
const n = Math.floor(interpolate(frame,[0,90],[0,code.length],{extrapolateRight:'clamp'}));
<Pre code={highlighted} visibleChars={n}/>
In CapCut
Record the editor typing for real (or with a typing tool), speed up 2×, and zoom 150% on the active lines.
Ready-made components
- Code Typing (hyperframes): npx hyperframes add code-typing
- Code Snippet - Dark Modern (hyperframes): npx hyperframes add code-snippet-dark-modern
- Glass Code Block (remocn): npx shadcn@latest add @remocn/glass-code-block
Where this comes from
Use when
- Show how little code it takes: SDK usage, API calls, config.
Not for
- Do not type more than ~8–12 lines on screen; paste the boilerplate and type only the lines that matter.
Install
- Claude Code:
claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg - Codex:
npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y - Cursor:
npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y
Example output
https://static.heygen.ai/hyperframes-oss/docs/images/catalog/blocks/code-typing.mp4 — Preview of the Code Typing component that builds this take (credit: Code Typing · hyperframes, https://hyperframes.heygen.com/catalog/blocks/code-typing)
More code & terminal skills
- Red/Green Diff Collapse: Removed lines flash red and collapse away while added lines expand in green.
- Spotlight One Line of Code: A highlight band sweeps onto the one line that matters while the rest of the file dims.
- Code Morphs Between Versions: One snippet transforms into the next: shared tokens glide to new positions, removed ones fade, new ones fade in.
- Terminal Session Run: A terminal types a command, then streams real-looking log output with green checks.
- One-Line Install Card: A single install command types into a small terminal card, prints a success check, and holds.
- Camera Scrolls a Long File: The view scrolls through a long file and stops with the target line centered and lit.
Run the generation on varg
varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.
- Claude Code:
claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg(skill + hosted MCP) - Codex, Cursor, Gemini CLI, OpenClaw:
npx skills add vargHQ/skills --skill varg-ai -a <agent> -y - Grok and any agent that reads SKILL.md:
npx skills add vargHQ/skills --skill varg-ai, or point it at the skill's SKILL.md - Claude.ai, ChatGPT, any MCP client: connect
https://mcp.varg.ai/mcp - API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt