og-image-live
Skill4 starsChanged 28 days agoMITView on GitHub
Make a ~5 second share video (MP4 + GIF) of any project's Open Graph card where the real product comes alive inside the app window — new items arrive and push older ones, statuses change, counters and charts step, grids fill in — while the title and app stay in place. Built as a CSS-animated render route in the project's own stack from its real screens and data shapes, then recorded frame by frame. Use when asked for a live/in-app animated OG image, product-in-motion share video, animated social preview of the app, or a looping product GIF for launch posts.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- ImBIOS/skillstheir own version, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ImBIOS/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- article-imageSkill
- bento-featuresSkill
- deslopify-uiSkill
- landing-pageSkill
- low-res-mockupSkill
- narrated-feature-videoSkill
- og-image-animatedSkill
- og-imageSkill
- product-demoSkill
- pulse-repo-statsSkill
- saas-dashboardSkill
- saas-logoSkill
- website-screenshot-reelSkill
- website-scrollSkill
- write-changelogSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Read the primary screen and choose the matching patterns (combine 1 main + 1–2 secondary):
- Distinctive: line 92
Write the story in 3–5 lines before coding (time → what happens → what reacts), e.g.:
- Very specific: line 105
Add a mode to the existing card component, e.g.
- Very specific: line 107
Add a route, e.g. /og/<page>-live (noindex): it renders <Card animation="live" /> and replays every ~6.5s by remounting with a new key.
- Distinctive: line 108
Make sure the static card is unchanged: capture it again and compare visually.
- Distinctive: line 123
If the page forces reduced motion (global CSS often does), the recorder finds no animations and fails.
- Very specific: line 124
Verify the port serves this app.
- Distinctive: line 134
Look at the sheet (and watch the MP4):
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OG image, live
Every file this skill uses ships in its own folder, next to this SKILL.md, and paths here are relative to that folder. It needs nothing from other skills or other folders, so don't go looking for them. Unless the user names another place, save everything it makes in out/og-image-live/ under the current project.
Output: a 5-second 2400×1260 MP4 and a looping GIF of the project's share card. The title and the app window are on screen from the first frame, and the product itself moves in a meaningful way: the core loop of the app plays out in 2–4 beats, the way a user would see it on a good day.
Example (Pulse, a project activity feed): references/pulse-live.gif, references/pulse-live-frames.png.
- 0.7s: a commit lands at the top of the feed, and its row opens and pushes the older rows down.
- 2.0s: the task shown earlier as "is working on PLS-42" arrives as "shipped PLS-42 · Done".
- 3.3s: a teammate's update about that fix arrives.
- Meanwhile the activity grid fills week by week, and today's cell deepens as each event lands.
Rules
- Real product, real behavior. Animate only what the app actually does (items that really stream in, statuses that really change, charts that really update). Build the screen from the real layout, components, tokens and copy, same as a static OG card (see
references/static-card.md). No invented features, fake metrics, or effects the UI never shows. - Motion tells one story. Pick the product's core loop and make the beats connect: the same people, ids and objects as the resting state, progressing ("in progress" → "done", "draft" → "published", "3 open" → "2 open"). Secondary visuals (grid, counter, chart, badge) react to the same beats.
- Calm and legible. 2–4 beats, ~1.2–1.4s apart, first beat at ~0.6–0.8s. Every beat ends in a readable state. Only animate
opacity,transform,grid-template-rows(height push),stroke-dashoffsetand background tint. One ease-out curve (cubic-bezier(0.16, 1, 0.3, 1)). No bounce, blur, zoom punches, typewriter text, confetti or camera moves. - Title and chrome never move. The brand mark, title, window frame, sidebar and header stay static. Motion lives in the content area, and the most important beat happens where the eye already is (top of a list, center of a board).
- CSS animations only (
@keyframes+animation: … both), all mounted at once with delays. No JS timers, state machines orrequestAnimationFrameinside the card. The recorder pauses and seeks CSS animations via the Web Animations API, which makes the video deterministic. - Exactly ~5s. Timeline ends ≤ 4.9s; the recorder adds a short hold.
Pick the moments
Read the primary screen and choose the matching patterns (combine 1 main + 1–2 secondary):
| Product surface | Main beat | Secondary beats |
| Feed / inbox / notifications / log | New items arrive at the top and push older ones down | unread badge counts up, activity grid/sparkline fills |
| Kanban / pipeline | A card moves to the next column (lifts, slides, drops; the gap closes, the destination opens) | column counts step, progress bar grows |
| Chat / comments | Messages arrive one by one, typing indicator before each | reaction chip pops in, unread count steps |
| Table / list with statuses | A row's status chip crossfades to the next state, the row briefly tints | summary counter steps, filter count updates |
| Dashboard / analytics | Stat numbers step (odometer), bars grow, a line draws | delta badge appears, tooltip on the newest point |
| Calendar / scheduling | Events drop into slots | free-time bar shrinks, attendee avatars appear |
| Checklist / onboarding / CI run | Steps check off in order, spinner → check | progress ring fills, "3/5" counter steps |
| Editor / docs | A block or comment appears, a suggestion gets accepted (strike → replace) | collaborator cursor moves along a path, save state flips to "Saved" |
CSS building blocks
/* Push: wrap an arriving item; older siblings slide down as it opens. */
@keyframes lv-grow { from { grid-template-rows: 0fr; } to { grid-template-rows: 1fr; } } /* wrapper: display:grid; child: min-height:0; overflow:hidden */
@keyframes lv-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes lv-flash { from { background-color: color-mix(in oklab, var(--accent) 9%, transparent); } to { background-color: transparent; } }
/* Collapse: an item leaving (card moved away, notification dismissed). */
@keyframes lv-shrink { from { grid-template-rows: 1fr; opacity: 1; } to { grid-template-rows: 0fr; opacity: 0; } }
/* Crossfade a status chip / value: stack old + new in one grid cell. */
@keyframes lv-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes lv-new { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* Fill a cell / pop a badge. */
@keyframes lv-fill { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
/* Grow a bar (transform-origin: bottom) or a progress bar (origin: left). */
@keyframes lv-bar { from { transform: scaleY(0); } to { transform: none; } }
/* Draw a line: path with pathLength="1", stroke-dasharray: 1. */
@keyframes lv-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* Counter step (odometer): a column of numbers in an overflow-hidden 1em box, moved with
steps() or one keyframe stop per beat, e.g. 12 → 13 → 14. */
@keyframes lv-count { 0%, 30% { transform: translateY(0); } 40%, 70% { transform: translateY(-1em); } 80%, 100% { transform: translateY(-2em); } }
/* Move a card between columns: animate an absolutely positioned copy along translate(x, y)
while the source slot shrinks (lv-shrink) and the destination slot grows (lv-grow). */Timing recipes:
- Arriving item: grow 700ms at
t, in 600ms att+120, flash 1400ms att+120. - Grid filling left to right: per cell
delay = 150 + col·240 + row·30, 380ms each. Only cells with a value get a colored overlay; empty cells stay the base color. - Reacting visual: step it at
t+250after the beat it belongs to, but never before its own reveal. If a progressive fill hasn't reached that element yet (e.g. today's cell in the last column), show it when the fill arrives at the level of the beats that already happened, then step it for later beats. A lone lit cell in an empty column looks broken. - Dividers: with height-push lists, put
border-bottomon every item (notborder-topon "not first"), so collapsed items never leave double borders.
Steps
1. Discover
- The static OG card: component, render route, PNG. If there isn't one, build it first by following
references/static-card.md; the live video must end on a state consistent with it. - The primary screen's real components, and how the product updates in real life: sockets or polling that prepend items, status transitions and their labels/colors, counters, charts, today markers.
- Data shapes and vocabulary for the arriving items (ids, statuses, verbs, timestamps like "just now").
2. Script the beats
Write the story in 3–5 lines before coding (time → what happens → what reacts), e.g.:
0.7s Igor pushes a checkout fix → today's cell +1
2.0s Anastasiya ships PLS-42 (was "in progress") → today's cell +1
3.3s Dmitry posts an update about the fix → today's cell +1
0.15–3.5s activity grid fills week by weekContinuity check: every arriving item references something already visible or plausible from the static card.
3. Build the live mode
- Add a mode to the existing card component, e.g.
animation?: 'entrance' | 'live', instead of copying the card. With no animation, the component renders the unchanged static card. - In live mode, render every future item in the DOM from the start with its animation delay (collapsed/hidden until its beat). Keep keyframes in a
<style>tag inside the card, or in plain CSS (Tailwind v4 only emits@themekeyframes when an--animate-*token uses them). - Add a route, e.g.
/og/<page>-live(noindex): it renders<Card animation="live" />and replays every ~6.5s by remounting with a newkey.?loop=0plays once. Normalize the search param to a string first, because routers like TanStack parse?loop=0as the number0. - Make sure the static card is unchanged: capture it again and compare visually.
4. Record
node <this skill folder>/scripts/record.mjs \
--url "http://localhost:<port>/og/<page>-live?loop=0" \
--out out/og-image-live/og-<page>-live \
--lead 0 --hold 200 --formats mp4,gifThe script prints the timeline length; set --hold so timeline + hold ≈ 5000. Output: <out>.mp4 (2400×1260, H.264, 30fps) and <out>.gif (1200px, palette-optimized, loops). Needs ffmpeg. Playwright installs into this skill's scripts/ folder on the first run, with its Chromium if none is found.
Gotchas:
- If the page forces reduced motion (global CSS often does), the recorder finds no animations and fails. Don't emulate reduced motion here.
- Verify the port serves this app. Another local server can answer on
localhost. - A dev server started from an agent session dies with it; detach it (
nohup … & disown) if the user keeps previewing.
5. Review
ffmpeg -y -loglevel error -i <out>.mp4 \
-vf "select='eq(n\,0)+eq(n\,40)+eq(n\,75)+eq(n\,149)',scale=1000:-1,tile=2x2" -frames:v 1 sheet.pngLook at the sheet (and watch the MP4):
- Frame 0: calm resting state, title readable, nothing half-rendered.
- Each beat: the new state is readable for ≥ 0.8s before the next beat starts.
- Pushes are smooth (no jump when an item opens), and nothing overlaps or clips mid-transition.
- Secondary visuals react to beats, not randomly, and nothing appears ahead of its own reveal (check frames from the middle of the fill, not just the four sheet frames).
- Last frame: a coherent "after" state (and close to the static card if that's the brand image).
- GIF under ~3MB. Otherwise lower
--fpsto 24 or trim the timeline.
Output
Tell the user:
- the files (MP4, GIF) and the looping preview URL
- the beat script (what happens when)
- the regenerate command
- anything shown that isn't from real data (sample names, projects)
- that
og:imagestays the static PNG (platforms don't play animated OG images); use the video for posts, launch pages, README, orog:videowhere supported
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.

