Before → After Metric — effect skill for numbers & charts
For AI agents: find the right skill in one call —
curl -s "https://varg.ai/how-to/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://varg.ai/how-to/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.
The old number shows, gets crossed or rolls, and the new better number takes its place.
- Type: Effect · Numbers & charts
- Slug:
before-after-metric - Status: live
- Publisher: Kapish Dima · remocn (community)
- License: MIT
- Source: https://remocn.dev/r/value-swap.json
- 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 Value Swap by Kapish Dima (remocn), MIT. The write-up and recipes below are varg's.
"12 months" in grey slides up and out; "2 weeks" rolls in bold accent; an arrow or delta chip ("−83%") pops beside it.
When: Outcome claims: time saved, cost cut, conversion lifted.
Watch out: Do not show the delta before the viewer has read the old value; give it ~1 s.
Timing: Old hold 0.8–1.2 s, swap 0.4–0.6 s, delta chip pop 0.2 s, hold 1.5 s.
Also called: value swap, metric change, from-to number
In HyperFrames
npx hyperframes add slot-machine-roll
Or strikethrough-replace when the old value should be crossed out.
In Remotion
// npx shadcn@latest add @remocn/value-swap
<ValueSwap from="12 months" to="2 weeks" at={30}/>
In CapCut
Two Text layers; old one Animation Out "Slide up", new one In "Slide up" at the same frame; add a delta chip sticker.
Ready-made components
- Value Swap (remocn): npx shadcn@latest add @remocn/value-swap
- Slot Machine Roll (hyperframes): npx hyperframes add slot-machine-roll
- Strikethrough Replace (hyperframes): npx hyperframes add strikethrough-replace
Where this comes from
Use when
- Outcome claims: time saved, cost cut, conversion lifted.
Not for
- Do not show the delta before the viewer has read the old value; give it ~1 s.
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://s3.varg.ai/how-to/previews/4c97906d2cb8/take-before-after-metric.mp4 — The Slot Machine Roll component used as its header comment describes, with demo copy (credit: Rendered by varg · HyperFrames Slot Machine Roll, https://hyperframes.heygen.com/catalog/components/slot-machine-roll)
More numbers & charts skills
- Big Stat Count-Up: One huge number counts from zero to its value and lands, with a short label under it.
- Odometer Digit Roll: Each digit rolls on its own wheel to the target, places settling right to left like an odometer.
- Bars Grow with Value Labels: Bars rise from the baseline in a staggered cascade with values riding their tops.
- Line Draws with Riding Label: A line draws itself left to right while the current value rides the pen tip, ending on a dot and big label.
- Ranked Bar Race: Ranked bars grow and overtake each other over time while the axis rescales and a year/date ticks.
- Progress Ring Fills: A thin ring draws on to a percentage while the number in its center counts up in sync.
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