- name
SKILL.md
技能文件保留在发布者的仓库中。
在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add blixvip/html-anime --skill html-anime-render -a cursor -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add blixvip/html-anime --skill html-anime-render -a claude-code -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add blixvip/html-anime --skill html-anime-render -a codex -y在终端中粘贴复制的命令。它会把这个 SKILL.md 安装到对应的智能体中。
npx skills add blixvip/html-anime --skill html-anime-render -a grok -y在 Grok Bot 聊天中发送复制的消息。Bot 会从 GitHub 获取这个 SKILL.md,并添加到你所有 Bot 共享的技能中。
Install this skill: https://github.com/blixvip/html-anime/tree/HEAD/skills/html-anime-render来自发布者
The film is one HTML file. HyperFrames seeks it. Same file, same frame.
films/<slug>/index.html
Root element:
<div
id="root"
data-composition-id="film"
data-start="0"
data-duration="8"
data-width="1920"
data-height="1080"
></div>
data-duration is the runtime on the sheet. Clips inside use data-start, data-duration, and data-track-index. Same-track clips do not overlap. data-track-index is not z-order. z-index is CSS.
A short under 30 seconds stays one file. Do not split shots into sub-compositions unless a shot is reused.
const tl = gsap.timeline({ paused: true });
window.__timelines = window.__timelines || {};
window.__timelines["film"] = tl;
async, setTimeout, or Promise.https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js.visibility or display.play() on media. No repeat: -1. A looping rain field uses a finite repeat that covers the runtime.Math.random(), Date.now(), or reading the clock. If you need variation, write the values out.tl.set is allowed at a clip's start time or later. Do not gsap.set a later shot's elements before that shot exists.Characters do not fade up. The cut is a color dip. This replaces the motion-graphics habit of fading every element in.
Straddle the cut by about a quarter second on each side. The outgoing shot is still fully drawn when the dip covers it. The incoming shot is already in its hero-frame CSS underneath.
tl.set("#dip", { opacity: 0 }, 0);
tl.to("#dip", { opacity: 1, duration: 0.25, ease: "power2.in" }, cut - 0.25);
tl.to("#dip", { opacity: 0, duration: 0.35, ease: "power2.out" }, cut + 0.05);
#dip is a full-frame element on a higher track, filled with accent or ink. Scene content does not animate out, except the button shot's last 8 frames to ink.
Drawing changes inside a shot are tl.set opacity swaps, on frame boundaries.
Prefer a font shipped as a .woff2 next to the file, with @font-face. A render must not depend on a stylesheet fetched at capture time. One family is enough for the line.
From the film directory:
npx hyperframes lint
npx hyperframes validate
Both pass. Then watch it (npx hyperframes preview) before you call the film finished. If a HyperFrames skill is also installed, it covers engine details this file does not. When it wants a fade-in on a character, this file wins.
Author an html-anime film as a deterministic HyperFrames HTML composition — timeline registration, a color-dip cut, drawing swaps, and the lint gate. Use when writing or fixing the HTML for a code-dra
---name: html-anime-renderdescription: Author an html-anime film as a deterministic HyperFrames HTML composition — timeline registration, a color-dip…---# skills/html-anime-render/SKILL.md概览
Author an html-anime film as a deterministic HyperFrames HTML composition — timeline registration, a color-dip cut, drawing swaps, and the lint gate. Use when writing or fixing the HTML for a code-drawn anime short.
常见问题
从发布者处下载 skills/html-anime-render/SKILL.md,或复制路径后打开仓库。PlugMCP 只收录该技能,不托管文件。
发布者将它存放在 https://github.com/blixvip/html-anime。
Claude、Cursor、Codex 和 Grok Build 可以读取你从发布者仓库添加的 SKILL.md。在聊天中发送技能的 GitHub 文件夹链接,Grok Bot 就会安装它。