animated-numbers
Skill9 starsChanged 13 days agoMITView on GitHub
Make every number in a video move, a big stat that counts up on its spoken word, a time that flips like a clock, a growth line that draws under a count, and a progress ring that fills, each timed to the word and held long enough to read. For results, case studies, quarterly numbers, pricing. Use when someone says "count up", "animate the number", "flip clock", "make the stat pop", "animated statistic" or "the numbers are static".
Files
Animated numbers
Use it for: results, case studies, quarterly numbers, pricing.
A number on screen should arrive the way you say it. Static figures get skipped.
Step 1: Ask for two things, then wait
- Each figure, exactly as it should read (
25,998,8:00,11x), with its source. A figure you only say on camera ("five minutes", "an hour") needs no other source, but the screen must match what you said. - The spoken word it lands on.
Pick the move
| Figure | Move |
| A big count (plays, followers, stars) | Counts up from 0 over 0.8s, ends exactly on its word, a label under it |
| A time | Flips like an airport board, each digit rolling, settles on the word |
| Growth | The count runs while a line draws under it from left to right |
| A share or a score | A ring fills to the value, the number in the middle |
| A before and after | The old number greys and lifts away as the new one slams in |
The rules
- Land on the word. The count finishes when the word starts (its
stime in words.js), not after. - Hold it 1.5s once it lands. If the next line moves on sooner, hold it until that line starts and no longer. A number never sits over words it does not belong to.
- Big: 120px or more for the hero number, label 34px or more.
- Ease the count, fast then slow (
easeOut), so the last digits are readable as they settle. - Use the real figure. Round down if unsure. Never invent one.
- Inside the safe zone. On split beats the number sits in the top panel (x 74-1006, y 170-880), clear of the face card. On full beats: nothing right of x 940 between y 1000 and 1700, nothing below y 1500. Instagram's buttons and caption sit there.
Step 2: Build brief (paste into Claude Code)
In beat [N] of video.js, count [FIGURE] up from 0, starting 0.8s before the word "[WORD]" in words.js and finishing exactly on it.
Value at time t = round(target * easeOut(prog(t, start, end))), formatted with thousands commas. 128px, weight 800, #0071e3, label "[LABEL]" 36px #1d1d1f under it.
Hold the final value 1.5s, or until the next spoken line starts if that comes first. Work it out from time alone.
Check stills at the start, halfway, on the word, and 1s after.For a flip clock, give each digit its own rolling column (translateY of a 0-9 strip). For a ring, use an SVG circle with stroke-dashoffset from time.
In this repository40 other files it gives its agents.
- apple-styleSkill
- behind-my-headSkill
- big-idea-videoSkill
- brand-setupSkill
- call-clipsSkill
- call-to-actionSkill
- clone-roomSkill
- cube-spinSkill
- depth-uiSkill
- every-formatSkill
- explainer-videoSkill
- frame-breakSkill
- grid-diveSkill
- head-pop-outSkill
- infinite-zoomSkill
- liquid-glassSkill
- magnifying-lensSkill
- news-reactionSkill
- opening-hookSkill
- phone-fanSkill
- portalSkill
- product-demoSkill
- pull-back-revealSkill
- ribbon-wrapSkill
- screen-in-screenSkill
- shatterSkill
- spotlightSkill
- stripe-styleSkill
- tier-listSkill
- tile-tunnelSkill
- title-orbitSkill
- toolkit-videoSkill
- vertigoSkill
- video-checkSkill
- video-effectsSkill
- video-intakeSkill
- video-soundSkill
- word-highlightSkill
- zoom-cutSkill
- zoom-throughSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

