Chuyển đến nội dung
Skillpedia
Dựng video75k · #2662

hyperframes-cli

Skill này làm gì

Skill này bao quát công cụ dòng lệnh HyperFrames để tạo video. Nó dành cho người làm video HyperFrames và muốn chạy đúng từng bước.

Khi nào nên dùng

  • ✓Khi bạn khởi tạo một dự án HyperFrames mới hoặc ghi lại một trang web cho dự án đó.
  • ✓Khi bạn muốn kiểm tra video có lỗi trước khi xem trước hoặc render.
  • ✓Khi bạn đang xử lý sự cố build hoặc render.

Liên kết skill

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/hyperframes-cli/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/hyperframes-cli/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết lập một dự án HyperFrames mới, kiểm tra lỗi và render một bản xem trước nháp.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy các bước theo thứ tự: tạo dự án, viết các cảnh, kiểm tra bằng lint và validate, xem trước trong trình chỉnh sửa, rồi render file cuố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.

HyperFrames CLI

Everything runs through npx hyperframes unless project instructions specify a local wrapper. Obey the local wrapper exactly. Requires Node.js >= 22 and FFmpeg.

Workflow

  1. Scaffold — npx hyperframes init my-video (or capture from a URL). init also checks the installed skills against the latest on GitHub and updates the global set if any are out of date. The --skip-skills flag is currently neutered (temporary, while the skills.sh registry catches up), so every init runs this check and pulls our latest skills regardless.
  2. Write — author HTML composition (see the hyperframes-core skill)
  3. Lint — npx hyperframes lint
  4. Validate — npx hyperframes validate (runtime errors + contrast)
  5. Visual inspect — npx hyperframes inspect
  6. Preview — npx hyperframes preview opens Studio, the timeline editor where the user can manually edit anything (not just watch). Review there, then ask before rendering.
  7. Render — pick the variant:
    • Iterate: npx hyperframes render --quality draft
    • Deliver: npx hyperframes render --quality high --output out.mp4
    • CI / cross-host repro: npx hyperframes render --docker --strict --output out.mp4
    • Cloud (long / large): npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait (see Lambda below)

Run lint, validate, and inspect before preview. lint catches missing data-composition-id, overlapping tracks, and unregistered timelines. validate loads the composition in headless Chrome and reports runtime console errors plus WCAG contrast issues. inspect seeks through the timeline and reports text spilling out of bubbles/containers or off the canvas — and, when a *.motion.json sidecar is present, verifies motion intent (entrances firing under seek, stagger order, in-frame, liveness) against that same seeked timeline.

For motion-heavy work, prefer snapshot-driven iteration and a *.motion.json sidecar — see references/lint-validate-inspect.md for the discipline and motion-verification spec.

Agent Conventions

Cross-cutting rules that hold for every command:

  • --json is available on every command except render, preview, and play. Use it for any agent / CI invocation of the supported commands; output includes a _meta envelope (cli version, latest available, update advice). render reports status via stdout + exit code only — verify success with the post-render check below; preview / play are servers, no JSON.
  • doctor --json always exits 0, even when the environment is broken. Gate on the payload's ok field: npx hyperframes doctor --json | jq -e '.ok' > /dev/null. This insulates pipelines from CLI release churn.
  • Non-TTY mode is auto-detected. When stdout is not a TTY (CI, agents, piped output) the CLI auto-switches to non-interactive; init then requires --example. Pass --non-interactive to force this mode even on a TTY.
  • CI gating on render: --strict fails on lint errors, --strict-all fails on warnings too, --strict-variables fails on undeclared --variables keys.
  • Paths in --json are redacted — $HOME becomes the literal $HOME so output is safe to paste into bug reports and agent contexts.
  • Render is user-gated. Never auto-render once the checks pass. Pause at preview, tell the user the video is editable in Studio, and render only after they approve.
  • Post-render verification. After render returns exit 0, confirm the output file exists and has plausible size before reporting success: [ -s "$OUTPUT" ] || echo "render produced no output". The CLI prints ◇ <path> on success; for long renders also sanity-check duration with ffprobe -i "$OUTPUT" -show_format -v error.

Routing

Want to… Read
Scaffold a project (init, capture, skills) references/init-and-scaffold.md
Check correctness (lint, validate, inspect, snapshot) references/lint-validate-inspect.md
Preview or render (preview, play, render, publish) `re
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.

Có nên render trước khi xem trước không?

Không. Skill yêu cầu xem trước và hỏi trước khi render, để bạn xem lại công việc.

Thiết lập chất lượng render làm gì?

Chế độ nháp dùng để kiểm tra nhanh, còn chế độ cao dùng cho file giao cuối cùng.

Chi tiết

Mô tả gốc của tác giả

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

repo: calesthio/OpenMontage

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2662
Giấy phép
AGPL-3.0
Cập nhật
28/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự