heygen-com 头像

Hyperframes CLI Skill

Works in Grok Bot

安装量
1.7M
GitHub Star
89.6k
通过安全扫描
2/3
仓库更新
November 25, 2026

TL;DR

hyperframes-cli 是 HeyGen 推出的命令行工具,用于基于 HTML、CSS 与 GSAP 时间轴编写、校验并渲染程序化视频合成作品。

适合安装

构建程序化视频项目的开发者,需要带预览编辑、AWS Lambda 渲染与合成 Lint 校验的 CLI 驱动工作流。

可以跳过

传统非编视频剪辑师,或目标平台不支持程序化视频合成的项目。

npx skills add https://github.com/heygen-com/hyperframes --skill hyperframes-cli
On this page
  1. What hyperframes-cli covers
  2. hyperframes-cli by the numbers
  3. What does the Hyperframes Cli skill produce?
  4. Hyperframes Cli 深度解析
  5. hyperframes-cli, step by step
  6. Should you install hyperframes-cli?
  7. What files ship with hyperframes-cli?
  8. Which skills are related to hyperframes-cli?
  9. What are the Hyperframes Cli skill forks?
  10. Hyperframes Cli skill FAQ
  11. 同仓库的更多技能

What hyperframes-cli covers

  • 支持在本地或 AWS Lambda 上初始化、Lint、校验并渲染 HyperFrames 视频项目的 CLI
  • 渲染前检查(lint、validate、inspect)可提前发现合成错误与 WCAG 对比度问题
  • 内置 Studio 预览编辑器,可在最终渲染前手动微调时间轴,并支持 draft、high、docker 三种质量模式

hyperframes-cli by the numbers

累计安装量1,704,916 (1.7M)skills.sh 注册表
GitHub Star★ 89.6kGitHub
安全审计通过 2 / 3 项扫描器检测skills.sh 审计
仓库最后更新November 25, 2026GitHub
代码仓库heygen-com/hyperframes ↗

Data as of Nov 25, 2026 (Skillselion catalog sync)

  • CLI 要求 Node.js >= 22 与 FFmpeg

What can the hyperframes-cli skill do in Claude Code?

Capabilities
合成项目脚手架 · Lint 校验 · 预览编辑 · 渲染编排
Works with
aws
Use cases
视频生成
Platforms
macOS · Windows · Linux

What does the Hyperframes Cli skill produce?

初始化好的 HyperFrames 项目、Lint 检查报告、预览产物、渲染完成的视频文件以及 doctor 诊断结果。

  • 渲染完成的视频文件
  • Lint 校验报告
  • 脚手架初始化项目

Deep dive: how does hyperframes-cli actually work?

Deep dive · last updated November 14, 2026 · every quote verified against heygen-com/hyperframes on November 14, 2026 · How we write these

hyperframes-cli is HeyGen's agent skill for driving hyperframes, the CLI that renders HTML compositions to video, with 1,704,916 installs as of November 25, 2026. It is a 103-line command map: commands by job, a five-step loop that stops for a person before rendering, timeline edits with receipts, and project history. Its first instruction is a telemetry call.

How we read itcommit 5aea6d5

We read hyperframes-cli at commit 5aea6d5 of heygen-com/hyperframes on November 14, 2026: the 103-line, 7,573-byte SKILL.md, all twelve files in its references/ folder (13 files and 131,973 bytes in all, counted with wc on a clone at that commit), and the CLI source behind each claim below. Our catalog copy of the 13 files matches GitHub byte for byte. The skill describes a program and ships none, so we also installed hyperframes 0.9.47 from npm, the version packages/cli/package.json carries at this commit, into an empty folder and ran it on macOS with Node 22.12.0 and FFmpeg 8.1.1, with HYPERFRAMES_NO_TELEMETRY=1 and DO_NOT_TRACK=1 set. We did not sign in, render in the cloud, send feedback or run usage.

This replaces our August dive, which read commit d09145f. That SKILL.md was 170 lines and 18,291 bytes in an 11-file bundle. The rewrite is 41% of the old size, trades the nine-step loop for five steps, adds timeline editing and project history, and no longer cites hyperframes-core, hyperframes-keyframes or hyperframes-creative, which are gone from the repo's skills/ folder. The sharpest reversal is about one command. The August file said this:

  • events is the telemetry endpoint skills use to report their own invocation, ideally from a bundled script. [...] an agent has no reason to call it by hand.

Source: SKILL.md at d09145f, "Commands you should not run"

The current file asks the agent to run it before anything else.

hyperframes-cli, step by step

1. It opens by asking the agent to report itself

With one events call that rides the CLI's usual telemetry.

Two bold lines sit above the title. Neither was in the August file.

Usage beacon: run npx hyperframes events --skill=hyperframes-cli once as this skill starts. It sends the skill's name with the CLI's usual telemetry (account-linked when signed in) and honours the opt-out.

Source: SKILL.md, "Usage beacon"

The parenthesis is the accurate part, and it is more accurate than the command's own source. The header comment in events.ts says the event "Rides the SAME anonymous PostHog pipeline" as every other CLI event. The function it calls, trackEvent, adds the signed-in HeyGen username to every event and derives the distinct id from it:

heygen_username: heygenUsername, }, distinctId ?? (heygenUsername ? heygenUserId(heygenUsername) : undefined),

Source: packages/cli/src/telemetry/client.ts, "trackEvent"

signedInHeygenUsername() returns a name only when a stored HeyGen login exists, so before auth login there is no username to attach. Sign-in itself sends more. Each of the three auth login paths (device code, OAuth and API key) calls identifyUser when it completes, and the comment above that function says what it sends:

// Associate this install with the signed-in HeyGen account after a completed // sign-in. Emits a PostHog $identify alias whose $anon_distinct_id is the // install's anonymousId, so events recorded before sign-in stitch to the same // person instead of stranding as a separate anonymous profile. [...]

Source: packages/cli/src/telemetry/events.ts, "identifyUser"

The $set traits come from auth/telemetryIdentity.ts: the lowercased account email as email and the username as heygen_username, and an account with no username uses the email itself as the distinct id. So a completed sign-in sends the account email and username to PostHog and joins the install's earlier events to that person. We read this in the source at 5aea6d5 and did not sign in, so we did not watch it go out. The CLI's first-run notice says the same in one line ("your account (email and username) is linked to your usage"), and so does the info/upgrade reference (references/upgrade-info-misc.md), which covers telemetry and tells the agent not to call a signed-in user's telemetry anonymous. SKILL.md, the notice and that reference describe the code correctly. The events.ts header does not.

Telemetry is on by default (telemetryEnabled: true in the CLI's default config). It turns off through hyperframes telemetry disable, or HYPERFRAMES_NO_TELEMETRY or DO_NOT_TRACK set to 1, true, yes or on. With both variables set, on our Mac with CLI 0.9.47, telemetry status printed Status: disabled, and events --skill=hyperframes-cli exited 0. So did events --skill='Not A Slug!': the command tests the slug against a lowercase pattern and turns anything else into a silent no-op, by design.

Twenty-five lines later the file names events again, in the list of commands not to run:

validate, inspect and layout are deprecated aliases of check; events is skills' own telemetry. Don't run them.

Source: SKILL.md, "Commands by job"

Read together, the beacon is the one sanctioned call and a hand-run events is what the line rules out.

2. One table maps the whole CLI

And four of the files it sends the agent to live in another skill.

"Commands by job" is a ten-row table from Start to Upkeep, and the References table at the end pairs most commands with the file to read before it. All twelve reference files are named somewhere in SKILL.md. Four other paths point out of the folder, into the sibling hyperframes skill: plugin-installation.md on line 6, captions.md on line 31, format.md on line 39, and motion.md on line 103, the reference for keyframes. All four exist at this commit under skills/hyperframes/references/. None of them comes down with the single-skill install command on this page.

The repo's README asks agents for a set, and gives a version reason as well as a completeness one. Its plain skills add route, it says, can lag main by hours:

[...] npx hyperframes skills update installs the skills from the release tag that matches your CLI version, so they match the CLI that runs them.

Source: README.md, "With an AI coding agent"

That core set is six skills, and it includes the hyperframes router skill that owns those four files.

The CLI's own help is a weaker map than the table. At 0.9.47, hyperframes --help prints 50 commands in seven groups, while cli.ts registers 56. The six it hides are events, figma, layout, media-use, play and usage, so two commands SKILL.md sends agents to (usage in the Upkeep row, play in the References table) do not appear there. It does print validate and inspect, each with its own description and no deprecation mark, and its Examples block includes hyperframes inspect. Running hyperframes validate on our scaffold printed 'hyperframes validate' is deprecated and will be removed in a future release. Use 'hyperframes check' instead. and then validated anyway, exit 0. Line 33 saves that wasted turn.

3. check is the gate, and a still frame is a warning

And on a still scaffold it passed with a warning that only --strict turns into a failure.

The Start row says init <dir> --skip-skills, and the scaffold reference gives the reason in terms of consent: "Always pass it: without it init installs any missing core skill, and installing skills is the person's step." With stdin not a terminal, init demo --skip-skills wrote six files: index.html, meta.json, hyperframes.json, package.json, and identical 7,895-byte CLAUDE.md and AGENTS.md. Every package.json script pins hyperframes@0.9.47. The composition is ten seconds of one static Title heading on a paused GSAP timeline that animates nothing, with GSAP loaded from cdn.jsdelivr.net. The August scaffold named Inter and JetBrains Mono, which check fetched from Google Fonts; this one uses a sans-serif placeholder, and our run logged no font fetch.

Step 2 of the loop is the gate:

npx hyperframes check --json and fix every error. While a lint error remains the layout and contrast audits don't run; "0 samples" means nothing was checked. [...] a 3 s+ video with no visible change fails sweep_static.

Source: SKILL.md, "The loop"

lint reported 0 errors and 0 warnings. check --json started Chrome, took about 19 seconds, and returned "ok": true with exit 0. Its one warning was sweep_static: "Nothing on screen moved under seek." Its only other finding was audio_none at severity info, because the scaffold plays no sound. The same project under check --strict --json returned "ok": false and exit 1.

By the letter of step 2, a ten-second video with no visible change fails. Ours passed. The reference for the row draws the line the summary leaves out:

[...] check fails with sweep_static: a frame that never changes while a GSAP timeline or tween, or a CSS or Web animation, holds the same time without ever finishing means the seek is not driving the page, so it refuses to pass. Any other frame that never changes (a still title card, an audio-only advance) is a warning that --strict fails; [...]

Source: references/lint-validate-inspect.md, "Severity is persistence-aware"

Our run matched the reference. An agent that reads only SKILL.md and takes exit 0 as proof there was no sweep_static will miss a warning that names the exact problem. Read the findings array, not just ok.

4. A person approves before anything renders

And the hosted path spends a HeyGen allowance or bill.

Step 4 is where the file is firmest:

  1. npx hyperframes preview --background, check the URL answers 200, give the person the project URL and wait, unless they asked for the file or for no stops. Passing checks alone is not a reason to render.

Source: SKILL.md, "The loop"

The same rule closes references/conventions.md and appears again in references/preview-render.md. Step 5 then picks the render: render --quality looks on your machine (draft while iterating, delivery for the final), or cloud render at --quality high on a paid plan. After it, the agent must show a non-empty file whose ffprobe duration matches the root data-duration, and look at decoded frames.

The paid-plan branch is the one place money enters SKILL.md, and the file says nothing about price. references/cloud.md describes the hosted render as running under "the selected credential's render allowance or billing", says an explicit API key uses API billing, prices 4k at 1.5 times, and tells the agent to render locally on the Free plan "unless the person asks for cloud". Its one warning about paying twice sits under a heading about retries:

The CLI transparently retries a 401 by force-refreshing the OAuth token and replaying. That's harmless for reads, but the zip upload (POST /v3/assets) is not idempotent: a blind retry creates a duplicate asset and bills twice. Pass --idempotency-key so retries are safe:

Source: references/cloud.md, "Safe retries"

cloud render --dry-run --json inspects the archive against the 200 MB upload limit without signing in or spending anything. The Lambda and Cloud Run rows bill to your own AWS or Google Cloud account.

5. Timeline edits preview, refuse and undo

And project history makes the agent read the person's changes first.

The timeline section is new, and it frames the commands by who else edits the same files:

These are the edits Studio itself makes, so the result stays in Studio's shape. [...] - An edit is refused when the clip would overlap a neighbour (--overwrite, or move the neighbour first) or end past its composition: raise the root's data-duration first. No command changes data-duration.

Source: SKILL.md, "Edit the timeline"

We tried both halves. timeline --json listed one clip, title, from 0 to 10 seconds in index.html. timeline trim '#title' --end 12 --plan --json was refused with exit 2 and "time 12 is outside the composition duration". --end 8 without --plan wrote the file and printed a receipt. The write also rewrote the head (<!doctype html> became <!DOCTYPE html>, and both <meta> tags lost their /> self-closers), folded the root and heading tags onto single lines, and stamped data-hf-id attributes on both. timeline undo on the saved receipt put the original back, line breaks included. One detail in line 50 is loose: --start, --end and --duration follow a list of all six verbs, but timeline move takes its time as a positional argument and rejected --start with Unknown flag.

Project history is the newest section, fenced between HTML comments that mark it a trial:

Every write is kept and can be undone. At the start of a turn, npx hyperframes history begin --who <you> --label "<plan>", then history --since mine --who <you> to see what the person changed; build on their edits. A check failed or they say it got worse: history undo --who <you>, never hand-edit back. End the turn with history end.

Source: SKILL.md, "Project history"

This is the instruction that changes behavior most. An agent is told to check what the person did in Studio since its last turn before it writes, and to undo through the tool rather than by retyping. The undo worked when we ran it. history begin --who claude opened a turn, a trim inside it was recorded, and history undo --who claude restored the ten-second clip. Two details differed from the paragraph. The two timeline writes we made before the first history begin never appeared: history --json returned "entries": []. Once the history existed, a write outside any turn was recorded as Outside Changed outside the app. And after the undo, history end exited 2 with No turn is open; start one with history begin, so the closing step can fail on a turn that undo already closed.

6. The doctor gate in SKILL.md still fails a working machine

While its own reference now explains why.

The failure table gives the environment check one cell:

| Chrome missing or won't start | npx hyperframes browser ensure; doctor --json always exits 0, gate on .ok |

Source: SKILL.md, "When a command fails"

doctor --json did exit 0. Its payload listed 20 checks (our August run on 0.8.4 listed 16), 16 of them passing, and "ok": false. The four failures were whisper-cpp, TTS (Kokoro) and BGM (MusicGen), each marked optional in its own detail string, and Docker running. Chrome, FFmpeg, FFprobe and Node all passed. doctor --json | jq -e '.ok' exited 1, so an agent that follows the cell reports a machine unfit for a job it can do. ok is still checks.every((o) => o.ok) in doctor.ts, and the comment above it still notes that an available npm update also turns it false.

The reference this row sends the agent to has caught up:

The report's top-level ok also includes optional tools such as Docker and local voice providers; those failures do not require installing them for a local video render. Check Chrome separately with the browser commands below.

Source: references/doctor-browser.md, "Configure FFmpeg without a package manager"

Its narrower gate, a jq filter that passes only when both the FFmpeg and FFprobe checks are ok, exited 0 on the same machine. references/conventions.md still prints the bare .ok gate, and line 9 of the doctor reference still says to gate on the payload's ok, 59 lines before it explains why that fails. Gate on the named checks your job needs.

7. Two upkeep commands send data off the machine

feedback to a public channel, usage to your coding agent's vendor.

After a verified render, the file asks for a rating:

After a verified render, send one feedback --rating, plus a report for anything the person asked for that HyperFrames can't do, unless telemetry is off: references/feedback.md.

Source: SKILL.md, "Render where"

references/feedback.md says where it goes: "feedback is submitted to a public channel", so the agent must leave out absolute paths, home-directory prefixes and machine identifiers, and a missing-feature report must leave out "names, clients, figures and paths". The CLI adds identifiers of its own. Its source comment says the keys appended to every report travel with it:

`` * Compact PostHog join keys appended to the environment string that rides * along with the forwarded report (and therefore lands verbatim in the wild * feedback channel): fid = the PostHog feedback_id (cli_render_feedback or ``

Source: packages/cli/src/commands/feedback.ts, "buildTelemetryJoinKeys"

The next lines define tid as the install's telemetry id and renders as recent render ids, and the report also carries a doctor summary. With telemetry off, the source prints Telemetry is disabled. Feedback not sent. and returns before any of that is built.

usage is the other one, and SKILL.md lists it in the Upkeep row without comment. The same info/upgrade reference tells the agent to run npx hyperframes usage --json "at the start of a video workflow and again at milestones", and the hyperframes router repeats it. It reports how much of your coding agent's plan is left. To do that, the source reads the agent's stored login: on macOS it asks the keychain for the Claude Code-credentials item through /usr/bin/security, then falls back to ~/.claude/.credentials.json, and Codex and Grok logins come from their own auth.json files. The token goes to that vendor's own endpoint:

"claude-code": { url: "https://api.anthropic.com/api/oauth/usage", parse: parseHarnessUsage }, codex: { url: "https://chatgpt.com/backend-api/wham/usage", parse: parseCodexUsage }, grok: { url: "https://cli-chat-proxy.grok.com/v1/billing?format=credits", parse: parseGrokUsage },

Source: packages/cli/src/utils/harnessUsage.ts, "providers"

The reference's own promise holds in the code we read: it says the command "reads existing credentials without refreshing or rewriting them and emits no tokens or telemetry", and cli.ts skips the telemetry wrapper for usage. Nothing goes to HeyGen. What the row does not tell a reader is that the command opens your agent's login token. We read that path and did not run it.

Should you install hyperframes-cli?

Install it if you author HyperFrames compositions and want an agent that runs the gate instead of eyeballing a render. The current file is short and specific: which command for which job, a five-step loop that stops at a preview for a person, edits that come with a plan and a receipt, and a history step that keeps the agent from writing over the person's Studio changes. The remotion-best-practices dive covers the closest skill in the same problem space, where the entry file is a router and the rules live in files below it. hyperframes-cli is the reverse: the rules are in the 103 lines, and the program they drive comes from npm.

Install the set rather than this one skill. npx hyperframes skills update brings the six core skills at the release that matches your CLI, including the hyperframes skill that holds four files this one cites.

Before you let an agent run it, decide on telemetry. The first instruction is an events call, feedback follows every verified render, and both go out unless you set HYPERFRAMES_NO_TELEMETRY=1 or DO_NOT_TRACK=1, or run hyperframes telemetry disable. If telemetry is on when you sign in to HeyGen, the CLI sends your account email and username and links the install's earlier events to them. If you do not want a video tool reading your coding agent's login, tell the agent not to run usage. For the environment check, gate on the FFmpeg and FFprobe checks, not on ok. The rest of the series is on the deep dives index.

npx skills add https://github.com/heygen-com/hyperframes --skill hyperframes-cli

Quick answers

Does hyperframes-cli send telemetry?

Yes, by default. SKILL.md tells the agent to run npx hyperframes events --skill=hyperframes-cli once at the start, and the CLI's telemetry is on unless you run hyperframes telemetry disable or set HYPERFRAMES_NO_TELEMETRY or DO_NOT_TRACK. In the source at commit 5aea6d5, a completed HeyGen sign-in sends a PostHog identify call with your account email and username and links the install's earlier events to that account, and later events carry your HeyGen username. We read that code and did not sign in. With both variables set, CLI 0.9.47 reported telemetry disabled on our Mac (macOS, Node 22.12.0) on November 14, 2026.

Does hyperframes-cli need a paid HeyGen account?

Not for local work, which needs Node.js 22 or newer, FFmpeg and Chrome. cloud render needs a HeyGen sign-in and runs under that credential's allowance or billing, and the bundled cloud reference tells the agent to render locally on the Free plan unless the person asks for cloud. Lambda and Cloud Run renders bill to your own AWS or Google Cloud account.

Is `doctor --json | jq -e '.ok'` a safe environment gate?

Not unless every optional tool is installed and Docker is running. On November 14, 2026, CLI 0.9.47 reported 20 checks with 16 passing and ok: false on our one Mac, because optional transcription, voice and music tools were missing and Docker was not running, so the gate exited 1. The skill's doctor reference gives a narrower gate on the FFmpeg and FFprobe checks, which exited 0 on the same machine.

Does a still video fail `hyperframes check`?

Not by default. On the ten-second blank scaffold from init, check --json exited 0 with one sweep_static warning, and only check --strict failed it. The skill's lint reference says check fails outright only when an animation holds the same time without finishing, which means the seek is not driving the page.

Does hyperframes-cli read my Claude Code login?

Only through usage, which the skill's info/upgrade reference, which covers telemetry, tells the agent to run at the start of a video workflow. At commit 5aea6d5 the source reads the stored Claude Code, Codex or Grok login and sends the token to that vendor's own usage endpoint, such as api.anthropic.com for Claude Code, to report remaining plan usage. We read that code on November 14, 2026 and did not run it.

What files ship with hyperframes-cli?

SKILL.mdMarkdownGitHub ↗

Running the CLI: every npx hyperframes <command> here, the beacon included, means node <SKILLS>/hyperframes/scripts/plugin-cli.mjs <command> run in the project, where <SKILLS> holds this skill's folder (rules).

Usage note: before the first one, tell the person once: "I'll send HyperFrames a usage note (linked to your account if signed in); say no to skip." Unless they say no, run npx hyperframes events --skill=hyperframes-cli once as this skill starts.

HyperFrames CLI

Run npx hyperframes <command> as above, never a project's own scripts or wrapper unless the person names that command. A job with no TTY pins the release with the launcher's --cli-version <exact-version>, taking the version from the person or from --cli-version latest --version, never from the project's files and never a floating install (references/unattended.md). It needs Node.js 22+ and FFmpeg. Every command has --help; most take --json, and a failure prints ✗ …, a Fix: line and exits non-zero.

此处为节选——上方的深度解析已引用并拆解核心指令,完整文件可在 GitHub 一键查看。

指南

  • What is the HyperFrames skill for Claude Code?

    The HyperFrames skill is the core of HeyGen's open-source HTML-to-video framework: 9 agent skills that teach Claude Code to write, check and render video compositions. Install hyperframes (1,670,910 installs, skills.sh) and hyperframes-cli first. Older names such as hyperframes-core were retired upstream in October 2026.

Which skills are related to hyperframes-cli?

What are the Hyperframes Cli skill forks?

目录中共收录 1 个 Hyperframes Cli 副本,累计 1.3k 次安装。这些副本均已规范化并归属至当前原条目。

Hyperframes Cli skill FAQ

Who is the Hyperframes Cli skill for?

构建程序化视频项目的开发者,需要带预览编辑、AWS Lambda 渲染与合成 Lint 校验的 CLI 驱动工作流。 Skip if: 传统非编视频剪辑师,或目标平台不支持程序化视频合成的项目。

When should I use hyperframes-cli?

编写 HyperFrames 视频合成项目、执行合成 Lint 排错,或以 draft/high 质量或 AWS Lambda 方式渲染视频时调用。

hyperframes-cli 与 hyperframes-media 有什么关系?

hyperframes-cli 负责脚手架初始化、Lint、预览与渲染;hyperframes-media 则负责 tts、transcribe、remove-background 等素材预处理命令。

Is Hyperframes Cli safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Add a hyperframes-cli badge

This 技能 is currently #2 on the Skillselion Top 25. The award badge shows the live rank and updates automatically:

Skillselion Top 25
Get the embed code

Show developers this 技能 is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Get the embed code

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.