hyperframes-cli
Skill này làm gì
Skill này là hướng dẫn về công cụ dòng lệnh HyperFrames. Nó dành cho người làm video với HyperFrames và muốn chạy đúng lệnh cho từng bước.
Khi nào nên dùng
- ✓Khi bạn muốn bắt đầu một dự án HyperFrames mới hoặc kiểm tra một dự án có sẵn.
- ✓Khi một lần build hoặc render HyperFrames thất bại và bạn cần khắc phục lỗi.
- ✓Khi bạn muốn xem trước, render hoặc xuất bản video từ dòng lệnh.
Liên kết skill
https://github.com/heygen-com/hyperframes/blob/main/skills/hyperframes-cli/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Lệnh render HyperFrames của tôi bị lỗi. Hãy cho tôi biết nên chạy lệnh nào và cách sửa.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn lệnh phù hợp với công việc, như bắt đầu dự án, kiểm tra, xem trước hoặc render. Nó cũng đọc kết quả và gợi ý cách sửa khi có gì đó thất bại.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Plugin installs: Before setup or freshness commands, follow plugin execution rules when this skill is inside a HyperFrames plugin.
HyperFrames CLI
Run npx hyperframes <command> unless the project gives a wrapper; then use the wrapper. 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.
Commands by job
| Job | Commands |
|---|---|
| Start | init <dir> (blank; --example <name> only when asked), capture <url> |
| Read a project | info, compositions, timeline --json, docs <topic> |
| Check it | lint while writing; check --json as the gate (lint, runtime, layout, contrast) |
| Look at it | snapshot (--at <t,…>, --range START,END, --composition <id>, --zoom, --angle, --against <video>), keyframes, compare, audio |
| Edit the timeline | timeline with move, trim, split, set, duplicate, delete, apply, undo, ids |
| Reuse | catalog, add (/hyperframes-registry) |
| Media and sound | media-treatment, grade-compare, remove-background, tts, transcribe, beats, normalize-audio (/media-use) |
| Show and ship | preview, present (/slideshow), render, publish, cloud, lambda, cloudrun |
| Desktop app | open, catch-up |
| Upkeep | doctor, browser, upgrade, skills, usage, clean, feedback |
validate, inspect and layout are deprecated aliases of check; events is telemetry for skills' own scripts. Don't run them.
The loop
- Write, then
npx hyperframes lintafter the first pass and after structural changes. npx hyperframes check --jsonand fix every error. While a lint error remains the layout and contrast audits don't run; "0 samples" means nothing was checked. Contrast failures carry asuggestedColor. A finding at a single sample (an entrance in flight) is info; a 3 s+ video with no visible change failssweep_static.npx hyperframes snapshotand read the PNGs (under.hyperframes/artifacts/snapshots/): that is how you see the video. With sub-compositions, snapshot a midpoint of every scene; tiny unstyled content or a missing hero is a mount defect (../hyperframes/references/format.md).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.- Time to render (step 4):
npx hyperframes render --quality looks -o out.mp4(draftwhile iterating,deliveryfor the final; paid plan:cloud render --fps <data-fps> --quality high -o out.mp4). Confirm the file is non-empty and itsffprobeduration matches the rootdata-duration, then look at decoded frames.
"This element" or the current selection: npx hyperframes preview --context --json --context-fields selection; no-selection means ask them to click it.
Edit the timeline
These are the edits Studio itself makes, so the result stays in Studio's shape.
timeline --jsonlists clips with absoluteabsStart/absEnd, owningfileand the#idref the edit commands take (timeline idsstamps missing ids).timeline move|trim|split|set|duplicate|delete <ref> … --plan --jsonpreviews one edit; run it again without--plan.--start,--end,--durationset one edge or the length.- 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'sdata-durationfirst. No command changesdata-duration. - Several edits at once: a JSON file such as
[{"verb": "move", "ref": "#outro", "time": "9"}], thentimeline apply plan.json --json. Each run prints areceipt; save it andtimeline undo receipt.jsonreverts it.
Project history
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.
Render where
| Need | Command |
|---|---|
| Local | render --quality looks -o out.mp4 (draft, delivery) |
| Reproducible container | `render --docker -- |
Câu hỏi thường gặp
Tôi cần cài gì?
Bạn cần Node.js phiên bản 22 trở lên và FFmpeg.
Làm sao xem một lệnh làm gì?
Mỗi lệnh có tùy chọn trợ giúp, và hầu hết có thể trả kết quả ở định dạng máy đọc được.
Nó có render trên cloud được không?
Có. Skill bao gồm cả các tùy chọn render trên cloud lẫn render cục bộ.
Chi tiết
Mô tả gốc của tác giả
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
repo: heygen-com/hyperframes
Độ phổ biến
- Sao GitHub
- 78k
- Vị trí xếp hạng
- #1740
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
captions-overlay
78kHướng dẫn agent của bạn thêm phụ đề vào video dưới dạng lớp phủ, quyết định câu nào nên bỏ, hiển thị trên thanh phụ đề hay được làm nổi bật.
cut-the-curve
78kDạy agent của bạn các kiểu chuyển cảnh dùng trong video HyperFrames, như chuyển cảnh mượt, zoom xuyên qua và chữ xuất hiện so le.
motion-doctrine
78kCho agent của bạn các quy tắc cốt lõi để làm một video nhiều cảnh trông như một cú máy liên tục, thay vì các slide rời rạc.
oversized-cursor
78kDạy agent của bạn thêm một con trỏ lớn, có hoạt họa vào video để dẫn mắt người xem và làm cho các cú nhấp trông như gây ra hành động kế tiếp.
Skill tương tự
taste-application
280kGiúp agent tạo video theo phong cách cụ thể: sao chép nhịp dựng từ video mẫu, tạo cảnh mới, chỉnh màu và ghép với các đoạn có sẵn.
taste-distillation
280kGiúp agent phân tích video để tạo style pack gồm màu sắc, nhịp cắt và yếu tố hình ảnh, tái sử dụng để tạo video mới cùng phong cách.
ui-demo
280kGiúp agent ghi lại video demo giao diện chỉn chu. Hữu ích để tạo hướng dẫn hoặc cho thấy một ứng dụng web hoạt động ra sao.