Logo Hyperframes Scene Builder

Hyperframes Scene Builder

Cộng đồng
saranambiar
hyperframes-scene-builder

Create and revise HyperFrames HTML video compositions with CSS, GSAP timelines, composition IDs, reusable components, render commands, and proof-frame validation. Use when an agent needs to build a scene, edit a composition, render HyperFrames output, or debug HyperFrames-specific scene behavior.

Tổng quan

Nhà phát hànhsaranambiar
Kho mãhyperframes-video-agent-skills
Tên kỹ nănghyperframes-scene-builder
Sao
47
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được saranambiar công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hyperframes Scene Builder trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/saranambiar/hyperframes-video-agent-skills/tree/main/skills/hyperframes-scene-builder
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/saranambiar/hyperframes-video-agent-skills.git /tmp/hyperframes-video-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hyperframes-video-agent-skills/skills/hyperframes-scene-builder .claude/skills/hyperframes-scene-builder
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hyperframes Scene Builder trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Hyperframes Scene Builder ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Hyperframes Scene Builder không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

HyperFrames Scene Builder

Use this skill when implementing or revising a HyperFrames scene. This skill assumes HyperFrames is the render engine and the scene source is HTML/CSS/JS.

Project Conventions

Prefer this layout for video projects:

text
compositions/
renders/
assets/
snapshots/
assembly/
captions/
tools/

Use one composition per meaningful scene or reusable sub-scene. Keep files small enough to inspect and diff.

Composition Rules

  • Define an explicit composition root with data-composition-id, data-width, data-height, and timing metadata where the project uses it.
  • Register GSAP timelines under the matching composition ID.
  • Scope selectors to the composition root when scenes are nested.
  • Avoid global selectors that can mutate other sub-compositions.
  • Prefer reusable HTML/CSS components for repeated cards, labels, charts, rings, logo rows, and panels.
  • Keep media paths relative to the composition project.

GSAP Timeline Rules

  • Use paused timelines for deterministic seekable animation.
  • Place important moments at named labels or exact seconds.
  • Use set for initial state.
  • Use fromTo when CSS transforms already exist.
  • Avoid accidental opacity-only transitions when the request asks for physical or material motion.
  • Avoid bounce/rebound unless the user explicitly asks for it.
  • Keep final frame stable enough for proof extraction.

Render Loop

Typical commands:

powershell
npx hyperframes preview
npx hyperframes lint
npx hyperframes render --composition compositions/scene-name.html --output renders/scene-name.mp4 --fps 24 --quality draft --workers 2

Use higher FPS or quality only when the scene is approved or when testing frame-rate-specific motion.

Visual QA

After rendering:

  • Extract first-frame, key-beat, and final-frame PNGs.
  • Compare reference-image scenes against the final frame, not only the opening frame.
  • Check text fit at desktop/video resolution.
  • Check that hidden duplicated frames in following scenes are updated.
  • Check theme colors in CSS, SVG fills/strokes, and inline styles.

Common Fixes

  • If a scene transition forgets a new label or visual, patch the next scene's carryover frame too.
  • If timeline objects appear too early, verify initial opacity, path progress, and node visibility.
  • If path points appear before the line reaches them, reveal points on line-progress milestones.
  • If text gets clipped by a ring or card, reduce the full system scale instead of only shrinking the label.
  • If product UI is cropped after a zoom, use no-crop or dynamic crop rather than a fixed aggressive crop.

Output

Return changed composition files, render command used, render path, and proof frame paths.

File Organization Guidance

Prefer:

  • One HTML file per scene.
  • Small sub-compositions for reusable sections.
  • Shared design tokens near the top of the file.
  • Component functions or repeated class patterns for repeated visuals.
  • Asset paths that are easy to replace.

Avoid:

  • One giant file for a full video.
  • Inline magic numbers without comments for timeline-critical values.
  • Duplicated colors that should be tokens.
  • Hidden copies of final frames without comments.
  • Global CSS that affects all mounted scenes.

Timeline Authoring Checklist

For every timeline:

  • Set all initial states at time 0.
  • Name or comment important cue times.
  • Keep object reveal order aligned to narration.
  • Use path progress for charts and line drawings.
  • Reveal graph points when the path reaches them.
  • Keep labels visible long enough to read.
  • Add final ambient motion only after main layout lands.
  • Avoid animations after the final hold unless ambient and subtle.

Text And Layout QA

Before rendering final:

  • Check long words fit their containers.
  • Check captions will not cover key scene text.
  • Check chart labels do not overlap paths.
  • Check logo rows have spacing and no separator artifacts unless intended.
  • Check cards and tables are not oversized.
  • Check final frame matches reference scale.
  • Check mobile is not relevant unless output is responsive web, not fixed video.

Render Strategy

Use draft renders while iterating:

  • Lower worker count if GPU/Chrome becomes unstable.
  • Use exact requested FPS for final.
  • Render only changed scenes after a surgical edit.
  • Keep old renders until the replacement is verified.
  • Generate proof frames from the rendered MP4, not only browser screenshots.

HyperFrames-Specific Risks

Watch for:

  • Timeline ID mismatches.
  • Unscoped selectors in nested compositions.
  • GSAP overwriting existing CSS transforms.
  • CDN or font loading differences between preview and render.
  • Video/image assets not resolving in render workers.
  • Large files becoming hard for agents to inspect.

Component Patterns

Useful reusable scene components:

  • GlassPanel
  • LogoRow
  • CaptionSafeArea
  • ChartFrame
  • PathCurve
  • PointReveal
  • CameraSwipe
  • FinalFrameCarryover
  • CTAStack

These do not need to be formal JS classes. They can be CSS classes, HTML snippets, or helper functions as long as future agents can find and reuse them.

Proof Frame Checklist

Extract:

  • First frame.
  • First major reveal.
  • Midpoint of main animation.
  • User-requested timestamp.
  • Final frame.
  • Next-scene carryover start if relevant.

Handoff Format

Report:

  • Composition path.
  • Render path.
  • FPS and duration.
  • Proof frame paths.
  • Known lint warnings.
  • Whether warnings are pre-existing or introduced.

Câu hỏi thường gặp

Kỹ năng AI Hyperframes Scene Builder làm được gì?

Create and revise HyperFrames HTML video compositions with CSS, GSAP timelines, composition IDs, reusable components, render commands, and proof-frame validation. Use when an agent needs to build a scene, edit a composition, render HyperFrames output, or debug HyperFrames-specific scene behavior.

Vì sao nên dùng Hyperframes Scene Builder trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hyperframes Scene Builder là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hyperframes Scene Builder trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/saranambiar/hyperframes-video-agent-skills/tree/main/skills/hyperframes-scene-builder. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hyperframes Scene Builder?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Hyperframes Scene Builder với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hyperframes Scene Builder với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hyperframes Scene Builder có miễn phí không?

Có. Kỹ năng này được saranambiar phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇