Agent skill

Stacked Data Cards Animation

by Unclecheng-li in Unclecheng-li/AI_Animation

Generates a single-file HTML animation in which white argument cards pop up in turn, older ones stack to the left and data widgets animate in, timed to a voiceover.

MITAuto-check passedMedia & Creative

SKILL.md written in Chinese; this summary is our English description.

Install Stacked Data Cards Animation

skills CLI
$ npx skills add Unclecheng-li/AI_Animation --skill stacked-data-cards -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Unclecheng-li/AI_Animation stacked-data-cards --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Unclecheng-li/AI_Animation.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/stacked-data-cards .claude/skills/stacked-data-cards && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
stacked-data-cards
GitHub stars
1.5k
Token cost
~1.1k tokens
SKILL.md length
305 words
Files
9 (incl. references, assets)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Generates a single-file HTML animation in which white argument cards pop up in turn, older ones stack to the left and data widgets animate in, timed to a voiceover.

  • Works in 4 steps: 确认参数 → 规划卡片与时间线 → 生成标准 → …
  • Presenting data arguments or research conclusions in a video
  • SKILL.md covers 你是什么, 支持的卡片内容类型, 核心工作流 and 参考示例
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

This skill produces a self-playing HTML animation for data-driven arguments in videos. Cards enter from the bottom of a dark stage, each new card pushes earlier ones into a shrinking, tilted stack on the left, and each card holds data components that appear on a millisecond timeline: line charts that draw themselves, counting numbers, ring gauges, comparison bars, tables and icon card groups. The total length is set to match the narration, so a screen recording becomes the finished clip.

The agent first confirms the topic, number of points and time budget, asking for the card count (two to five, with three suggested), narration seconds, accent color and whether the stack should slide out at the end, and it generates straight away when enough is given. Timeline rules reserve at least 1.5 seconds of still reading time per card and suggest roughly six to fifteen seconds each. A template, two example scenes and component and prompt references are included. The skill text is in Chinese.

When your agent uses it

  • Presenting data arguments or research conclusions in a video
  • Revealing a counterintuitive point with animated charts
  • Timing an animation to match narration seconds

Example prompts

  • “Make a three-card stacked animation about scaling laws, with a blue theme and a line chart on the first card.”
  • “Build a stacked data cards page from my narration script, assigning each card's duration from its sentences.”
  • “Add a ring gauge and a comparison bar to the second card of the animation.”

Requirements

  • A browser and a screen recorder to capture the animation

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 确认参数
  2. 规划卡片与时间线
  3. 生成标准
  4. 检查点

What it can do on your machine

Read from SKILL.md and the folder at commit d9c521f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and css).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Stacked Data Cards Animation loads about 1.1k tokens when it runs, and up to ~2.6k if it reads all its reference files. Until then it costs about 43 tokens; SKILL.md has 305 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Unclecheng-li/AI_Animation at commit d9c521f, republished under its MIT licence (© Unclecheng-li). 305 words, ~1,140 tokens.

Download SKILL.mdSave it as .claude/skills/stacked-data-cards/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
stacked-data-cards
description
生成「叠放式数据论点卡」自动播放动画的单文件 HTML:白色论点卡从底部依次弹入居中,旧卡向左叠成牌堆,卡内数据组件(折线描边、数字滚动、环形仪表、对比条、数据表格、图标卡组)按毫秒级时间线级联入场,整段时长对齐口播/旁白秒数,录屏即成片。适合视频中的数据论证、研究结论展示、观点陈列、反直觉点揭示等场景。
version
0.1.0
triggers
叠放卡片, 卡片叠放, 数据卡片, 论点卡片, 数据论证动画, 自动播放卡片, 论点展示, 数据观点, stacked cards, stacked data cards, card deck animation, auto-playing cards

Stacked Data Cards Skill

你是什么

你是一个专门生成叠放式数据论点卡自动播放动画的专家。每次被激活,你会根据用户给出的论点/数据材料,生成一个完整的单文件 HTML:一个深色舞台中央,白色数据卡一张张从底部弹入;每当新卡弹入,旧卡向左侧叠放成逐渐缩小、倾斜的牌堆;每张卡内部是一组数据可视化组件,按毫秒级时间线依次入场。

核心视觉特征:

  • 深色舞台 — #0b0f19 背景 + 主题色径向光晕,衬托白色大卡
  • 三态卡片 — upcoming(底部屏外待命)→ active(弹入居中)→ stacked(左叠成牌堆,缩小 + 旋转 + 降透明)
  • 序号徽章 — 卡面左上角超大半透明数字(01 / 02 / 03)
  • 时间线自动播放 — 每张卡有固定驻留时长,对齐口播秒数,无需任何交互
  • 数据组件级联入场 — 折线描边、数字滚动、环形仪表、对比条、表格行、图标卡按 stagger 延迟依次出现

与其他 Skill 的区别:

  • ppt-animation → 手动翻页的 PPT,无时间线、无牌堆层叠
  • card-theater → 手动交互的 3D 卡片轮播 + 侧边栏解说,重探索而非自动叙事
  • video-shot-demos → 整辑分镜 + 播放器底盘的重量级方案;本 Skill 是其中一个"数据论证镜头"的轻量独立形态
  • stacked-data-cards → 单场景、自动播放、时长精确对齐口播,卡片即论点,数据即证据

支持的卡片内容类型

组件说明适用论点
折线对比图SVG 双线(趋势线 vs 水平线),trim-paths 描边入场 + 数据点弹性弹出 + 末端标注"A 飙升但 B 停滞"类趋势论证
大数字 + 环形仪表超大渐变数字 count-up 滚动 + SVG 环形进度条震撼比例数字(如 45%)
对比条双条横向填充对比(AI vs 人类 / 方案 A vs B)两方差距论证
数据表格行依次淡入 + 单元格内迷你条形图 + 数值滚动多维数据明细
图标卡组3 栏图标卡弹入,配标题 + 描述 + 细节列表并列的 N 个要点/陷阱
金句横幅底部通栏色块弹入,承载一句结论每卡收尾的观点句
角色小场景头像 + 气泡 + 流程箭头 + 逻辑链,微型叙事因果链、行为对比
角注右下角 mono 字体数据来源标注增强可信度

核心工作流

Step 1 — 确认参数

从用户输入中识别:主题、论点数量、时间预算。如不明确,询问:

  • "这组内容有几个论点/卡片?(推荐 2~5 张,3 张最佳)"
  • "整段对应口播多少秒?每张卡大约驻留几秒?"
  • "主题色偏好?(默认橙红警示色 #ff5f3c,可选蓝 #3b82f6 / 绿 #10b981 / 紫 #8b5cf6)"
  • "结尾需要整副牌堆滑出退场吗?(用于衔接下一镜头)"

如果信息充足,直接生成。 用户给了口播稿时,按口播句读自动分配每卡时长。

Step 2 — 规划卡片与时间线

为每张卡规划内容结构:

yaml
卡片:
  序号: "01"
  标题: "一句话论点(不超过 18 字)"
  副标题: "补充说明(可选)"
  主组件: "折线对比图 / 大数字+仪表 / 图标卡组 ..."
  辅助组件: "数据表格 / 对比条 / 金句横幅 ..."
  角注: "来源 · 样本量"
  驻留时长: 7000ms

时间线规划铁律:

  • 卡片在 T=0 弹入,卡内组件在 T+300ms 起开始级联入场
  • 卡内最后一个动画必须在驻留时长内完成,至少预留 1.5s 静止阅读时间
  • 卡间切换间隔 = 当前卡驻留时长;建议 6~15s/卡
  • 可选结尾:整副牌堆 translateX(-120vw) 滑出 + 淡出(1s)
Step 3 — 生成标准

视觉规范:

  • 舞台:#0b0f19 深色底 + radial-gradient 主题色光晕(透明度 ≤0.12)
  • 卡片:rgba(255,255,255,0.97) 白底、圆角 clamp(18px, 2.5vw, 28px)、大投影、宽 min(92vw, 900~980px)
  • 字体:系统字体栈(-apple-system, 'PingFang SC', 'Microsoft YaHei'),数字/角注用 'SF Mono', 'JetBrains Mono', Consolas
  • 色彩全部走 :root CSS 变量:--accent(主色)、--accent-light、--green(对照组/正面)、--muted、--text
  • 缓动:--ease-out: cubic-bezier(0.16, 1, 0.3, 1)(入场)、--ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1)(弹性弹出)

三态切换(必须精确实现):

css
.card          { transform: translate(-50%, 60vh) scale(0.82); opacity: 0; }   /* upcoming */
.card.active   { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 10; }
.card.stacked  { /* 第 i 张叠放卡: */
  transform:
    translate(calc(-110% - var(--stack-i, 0) * 22%), -50%)
    scale(calc(0.76 - var(--stack-i, 0) * 0.07))
    rotate(calc(-4deg - var(--stack-i, 0) * 5deg));
  opacity: 0.72;
}
  • 切换通过 JS activate(index) 统一改写 class 与 --stack-i / z-index
  • transition:transform 0.8s var(--ease-out), opacity 0.55s ease

卡内动画规范(必须包含至少 3 种):

  • 数字滚动 count-up:ease-out cubic,支持 data-target / data-prefix / data-suffix / data-decimals / data-delay / data-duration
  • 折线描边:getTotalLength() 初始化 stroke-dasharray/offset,卡片激活后过渡到 0(1.2~1.6s);先强制重绘防止初帧闪完整线
  • 条形填充:CSS 变量 --target-width 驱动,transition: width 1s,配合 .delay-1/2/3 级联
  • 表格行 / 图标卡:nth-child transition-delay 级联淡入(间隔 100~200ms)
  • 弹性元素(徽章、气泡、数据点):scale(0)→scale(1) + var(--ease-elastic)

音效(可选):

  • WebAudio 合成低音 thud(sine 80Hz→40Hz,0.35s 衰减),用于关键揭示时刻
  • 必须 try/catch 静默失败(浏览器自动播放策略)
  • 零音频文件

代码规范:

  • 单文件 HTML,内联 CSS/JS,零外部依赖(无 CDN、无外部图片,除非用户明确提供)
  • 代码量 400~900 行
  • 时间线常量集中在 TIMING 对象,单位毫秒,注释标注对应口播时间点
  • 响应式断点:760px(网格降单列、叠卡位移收紧)、520px(字号/间距收紧)
  • 图标全部内联 SVG
Step 4 — 检查点

生成完成后逐项自检并向用户报告:

  1. 每张卡最后一个动画的结束时刻 < 该卡切换时刻 - 1.5s(留足阅读时间)
  2. 叠放卡的 --stack-i 从 0 开始递增(越新的叠卡越靠前)
  3. 所有 count-up 元素初始文本为目标格式下的 0 值(防闪烁)
  4. 时间线总时长 = 各卡驻留时长之和(+ 可选退场 1s),与口播对齐
  5. 输出:文件路径、卡片数、时间线总时长、主题色

参考示例

  • 起步骨架:assets/template.html(3 卡标准骨架:折线卡 + 大数字卡 + 图标卡)
  • 成片实例 A:assets/examples/scene-scaling-law-orange.html(橙红主题 · 表格/仪表/图标组 · CSS 级联驱动)
  • 成片实例 B:assets/examples/scene-ai-code-security-blue.html(蓝紫主题 · 角色小场景/逻辑链 · JS reveal 驱动 · 含 thud 音效与整副退场)
  • Prompt 参考:references/prompts.md
  • 组件规格:references/components.md

© Unclecheng-li, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 8 other files (references, assets) in skills/stacked-data-cards of Unclecheng-li/AI_Animation.

  • SKILL.md
  • README.md
  • assets/examples/png/muzimi.jpg
  • assets/examples/png/muzimi2.jpg
  • assets/examples/scene-ai-code-security-blue.html
  • assets/examples/scene-scaling-law-orange.html
  • assets/template.html
  • references/components.md
  • references/prompts.md

Open the folder on GitHubat commit d9c521f

Compare with similar skills

Stacked Data Cards Animation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Stacked Data Cards Animation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Stacked Data Cards Animation this skillUnclecheng-li/AI_Animation1.5k—~1.1kAutomated safety check: PassMIT
HyperFrames Animationheygen-com/hyperframes59k3 repos~2.1kAutomated safety check: PassApache-2.0
Anidoodlealexgreensh/anidoodle865—~2.7kAutomated safety check: PassApache-2.0
HyperFrames Keyframesheygen-com/hyperframes59k1 repos~4.1kAutomated safety check: PassApache-2.0
AnalyzeKumarSashank/motiscope122—~3.1kAutomated safety check: NotesMIT
Awwwards Motion DesignYu-369/VibeCurb979—~13kAutomated safety check: PassMIT

Similar skills

  • HyperFrames Animation

    heygen-com/hyperframes

    Collects motion rules, scene blueprints, transitions and runtime adapters for HyperFrames video compositions, with GSAP as the default animation runtime.

    59k GitHub starsUsed in 3 repos~2.1k tokens
    Media & CreativeAuto-check passed
  • Anidoodle

    alexgreensh/anidoodle

    Code-drawn stills, drawing timelapses, films, explainers and interactive web animations in 31 styles, with composed scores.

    865 GitHub stars~2.7k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed
  • HyperFrames Keyframes

    heygen-com/hyperframes

    Writes seek-safe 2D and 3D keyframes for HyperFrames video compositions, covering punch-ins, zooms, reframes and camera moves without touching clip assembly.

    59k GitHub starsUsed in 1 repo~4.1k tokens
    Media & CreativeAuto-check passed
  • Analyze

    KumarSashank/motiscope

    Analyze a screen recording of an animation to characterize its motion — timing, easing, transforms, and sequencing — so it can be recreated as web code.

    122 GitHub stars~3.1k tokensUpdated 2 mo ago
    Media & CreativeAuto-check: notes
  • Awwwards Motion Design

    Yu-369/VibeCurb

    Motion design pipeline for building Awwwards/Apple-tier animations, micro-interactions, scroll sequences, page transitions, and kinetic typography.

    979 GitHub stars~13k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Yuv Viral Video

    hoodini/ai-agents-skills

    Edit any selfie or screen-share footage into a viral short-form video in YUV.AI's signature style — Apple-style liquid-glass cards (real CSS backdrop-filter), dark-mode polish, MrBeast-paced cuts…

    282 GitHub stars~7.5k tokensUpdated 3 mo ago
    Media & CreativeAuto-check: notes

More from Unclecheng-li/AI_Animation

All 12 skills in this repo
  • Archify Diagram Builder

    Unclecheng-li/AI_Animation

    Builds validated architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone interactive HTML from a small JSON spec, with optional motion and image export.

    1.5k GitHub starsUsed in 2 repos~4.1k tokens
    Auto-check passed
  • Video Shot Demo Pages

    Unclecheng-li/AI_Animation

    Produces one self-contained HTML animation page per video shot, sharing a cinematic player base but giving each page its own visual style, sound cues and characters.

    1.5k GitHub stars~617 tokensUpdated 4 days ago
    Auto-check passed
  • Card Theater

    Unclecheng-li/AI_Animation

    Generates a single-file HTML presentation that pairs a narrated sidebar with a 3D card carousel, for walking through protocols, product features or step-by-step processes.

    1.5k GitHub stars~877 tokensUpdated 4 days ago
    Auto-check passed
  • Phone UI Demo Animations

    Unclecheng-li/AI_Animation

    Turns a product, lesson or script into a cinematic web animation staged inside a realistic phone interface, with lock screens, chats, settings and a virtual-clock player.

    1.5k GitHub stars~703 tokensUpdated 4 days ago
    Auto-check passed
  • Plotbeat Data Videos

    Unclecheng-li/AI_Animation

    Turns a local CSV or JSON file, or data fetched from an approved source, into an editable data-visualization video by adapting HyperFrames templates.

    1.5k GitHub stars~2.6k tokensUpdated 4 days ago
    Auto-check passed
  • Swiss Shot Demos

    Unclecheng-li/AI_Animation

    制作"瑞士国际主义风格(Swiss Style)+ 图表驱动"的视频分镜演示动画——纸灰底/炭黑墨/发丝线/唯一强调橙的编辑部级排版,每页用匹配内容的可视化图表(时间线/循环环/流程链/对照表/点阵计数/热力矩阵…)代替文字堆砌,一镜一 HTML,电影化播放器全屏录屏即成片。只要用户提到:瑞士风格演示页、Swiss Style…

    1.5k GitHub stars~793 tokensUpdated 4 days ago
    Auto-check passed

Questions about Stacked Data Cards Animation

What does Stacked Data Cards Animation do?

Generates a single-file HTML animation in which white argument cards pop up in turn, older ones stack to the left and data widgets animate in, timed to a voiceover. This skill produces a self-playing HTML animation for data-driven arguments in videos. Cards enter from the bottom of a dark stage, each new card pushes earlier ones into a shrinking, tilted stack on the left, and each card holds data components that appear on a millisecond timeline: line charts that draw themselves, counting numbers, ring gauges, comparison bars, tables and icon card groups.

When should I use Stacked Data Cards Animation?

Stacked Data Cards Animation fits situations like: presenting data arguments or research conclusions in a video; revealing a counterintuitive point with animated charts; timing an animation to match narration seconds.

How do I install Stacked Data Cards Animation in Claude Code?

Run `npx skills add Unclecheng-li/AI_Animation --skill stacked-data-cards -a claude-code`. Or copy the skill folder (skills/stacked-data-cards in Unclecheng-li/AI_Animation) into .claude/skills/stacked-data-cards in your project. Claude Code loads it when a task matches its description.

How do I install Stacked Data Cards Animation in Codex?

Run `npx skills add Unclecheng-li/AI_Animation --skill stacked-data-cards -a codex`. Or copy the skill folder (skills/stacked-data-cards in Unclecheng-li/AI_Animation) into .agents/skills/stacked-data-cards in your project. Codex loads it when a task matches its description.

Can I use Stacked Data Cards Animation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Unclecheng-li/AI_Animation --skill stacked-data-cards -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/stacked-data-cards, .gemini/skills/stacked-data-cards, .github/skills/stacked-data-cards and .opencode/skills/stacked-data-cards in your project.

What does Stacked Data Cards Animation need to run?

SKILL.md names no scripts, command-line tools or credentials: Stacked Data Cards Animation is instructions for the agent only. Our summary lists: A browser and a screen recorder to capture the animation.

Does Stacked Data Cards Animation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Stacked Data Cards Animation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Stacked Data Cards Animation use?

Stacked Data Cards Animation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Stacked Data Cards Animation use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Stacked Data Cards Animation?

Skills that share tags, products or a category with Stacked Data Cards Animation: HyperFrames Animation (heygen-com/hyperframes, 59k stars), Anidoodle (alexgreensh/anidoodle, 865 stars), HyperFrames Keyframes (heygen-com/hyperframes, 59k stars) and Analyze (KumarSashank/motiscope, 122 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Stacked Data Cards Animation?

Unclecheng-li (a GitHub user) maintains it in Unclecheng-li/AI_Animation, which has 1,469 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 5, 2026.

Source: Unclecheng-li/AI_Animation on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.