Communitygithub.com

libz-renlab-ai/TeamBrain

擷取任何網站的內容,並自動產生一支專業的 HyperFrames 影片。適合在用戶提供網址並要求製作影片時使用。

TeamBrain 是什麼?

這個技能能將任何現有網站自動轉換為一支專業的 HyperFrames 影片。它非常適合用於社群廣告(例如 Instagram 或 TikTok)、產品展示、功能發布預告或品牌短片。該技能會引導使用者一步步完成七個階段:從擷取網站內容、撰寫設計摘要(DESIGN.md)、編寫旁白腳本(SCRIPT.md)、建立分鏡腳本(STORYBOARD.md)、生成語音與時間對齊,到建置組合並最終驗證輸出。它支援橫向 (1920x1080)、直向 (1080x1920) 及方形 (1080x1080) 等多種格式。每個步驟都設有門檻檢查,確保品質與進度無誤。最後會提供一個可在本機端預覽的 Studio 專案 URL,需要時才渲染為 MP4 檔案。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/libz-renlab-ai/TeamBrain/tree/HEAD/.agents/skills/website-to-hyperframes

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

網站轉 HyperFrames 影片

擷取一個網站,並從中製作專業影片。

使用者會這樣說:

  • 「請擷取 https://... 並幫我做一支 25 秒的產品發表影片」
  • 「把這個網站轉成 15 秒的 Instagram 社群廣告」
  • 「從 https://... 建立一支 30 秒的產品導覽影片」

整個工作流程包含 7 個步驟。每個步驟都會產出一個成品,做為下一步的門檻。


步驟 1:擷取與理解

閱讀: references/step-1-capture.md

執行擷取、讀取擷取到的資料,並使用「寫下來就忘記」的方法建立一份工作摘要。

門檻: 印出你的網站摘要(名稱、主要顏色、字體、關鍵素材、一句話的風格描述)。


步驟 2:撰寫 DESIGN.md

閱讀: references/step-2-design.md

為擷取的網站撰寫一份簡單的品牌參考。共 6 個段落,約 90 行。這是一份速查表,不是創意計畫——創意計畫在步驟 4。

門檻: DESIGN.md 存在於專案目錄中。


步驟 3:撰寫 SCRIPT

閱讀: references/step-3-script.md

撰寫旁白腳本。故事的主軸。場景的長度由旁白決定,而不是猜測。

門檻: SCRIPT.md 存在於專案目錄中。


步驟 4:撰寫 STORYBOARD

閱讀: references/step-4-storyboard.md

為每個節拍撰寫創意方向:氛圍、鏡頭、動畫、轉場、素材、深度圖層、音效。這是創意的北極星——工程師依照這份文件來建立每個組合。

門檻: STORYBOARD.md 存在,包含逐節拍的創意方向和一份素材審核表。


步驟 5:生成語音 + 對應時間

閱讀: references/step-5-vo.md

產生 TTS 音訊、轉錄得到逐字時間戳記,並將時間戳記對應到各個節拍。用真實的持續時間更新 STORYBOARD.md。

門檻: narration.wav(或 .mp3)+ transcript.json 存在。STORYBOARD.md 中的節拍時間已更新。


步驟 6:建立組合

閱讀: hyperframes 技能(載入它——每一條規則都很重要) 閱讀: references/step-6-build.md

依照分鏡腳本建立每個組合。完成每一個之後:自我審查版面配置、素材放置位置和動畫品質。

門檻: 每個組合都已完成自我審查。沒有重疊的元素、沒有放錯位置的素材、沒有靜止不動的圖片。


步驟 7:驗證與交付

閱讀: references/step-7-validate.md

進行 Lint、驗證、擷取快照、預覽。先將本機端 Studio 專案 URL (http://localhost:<port>/#project/<project-name>)提供給使用者——只有在明確要求時才渲染成 MP4。請勿將 index.html 視為專案交付連結;它僅是原始碼的上下文。

門檻: npx hyperframes lint 和 npx hyperframes validate 通過且沒有任何錯誤,最終回應包含有效的 Studio 專案 URL。


快速參考

影片類型

類型長度節拍數旁白
社群廣告 (IG/TikTok)10-15 秒3-4可選鉤子句子
產品展示30-60 秒5-8完整旁白
功能宣布15-30 秒3-5完整旁白
品牌短片20-45 秒4-6可選,以音樂為主
發布預告10-20 秒2-4極簡,高能量

格式

  • 橫向: 1920x1080(預設)
  • 直向: 1080x1920(Instagram 限時動態、TikTok)
  • 方形: 1080x1080(Instagram 動態牆)

參考檔案

檔案何時閱讀
step-1-capture.md步驟 1 —— 讀取擷取到的資料
step-2-design.md步驟 2 —— 撰寫 DESIGN.md
step-3-script.md步驟 3 —— 撰寫旁白腳本
step-4-storyboard.md步驟 4 —— 逐節拍創意方向
step-5-vo.md步驟 5 —— TTS、轉錄、時間對應
step-6-build.md步驟 6 —— 建立組合並自我審查
step-7-validate.md步驟 7 —— Lint、驗證、擷取快照、預覽
techniques.md步驟 4 與 6 —— 包含程式碼模式的 11 種視覺技巧(SVG 繪圖、Canvas 2D、3D、字體設計、Lottie、影片、打字效果、可變字體、MotionPath、轉場、音訊反應)

Individual skills in this repo

This repo contains 5 individual skills — each has its own dedicated page.

libz-renlab-ai/TeamBrain

Asset preprocessing for HyperFrames compositions — text-to-speech narration (Kokoro), audio/video transcription (Whisper), and background removal for transparent overlays (u2net). Use when generating voiceover from text, transcribing speech for captions, removing the background from a video or image to use as a transparent overlay, choosing a TTS voice or whisper model, or chaining these (TTS → transcribe → captions). Each command downloads its own model on first run.

libz-renlab-ai/TeamBrain

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.

libz-renlab-ai/TeamBrain

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For CLI commands (init, lint, preview, render, transcribe, tts) see the hyperframes-cli skill.

libz-renlab-ai/TeamBrain

Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition. Use ONLY when the user explicitly asks to port, convert, migrate, translate, or rewrite a Remotion composition as HyperFrames — for example "port my Remotion project to HyperFrames", "convert this Remotion code to HyperFrames", "migrate from Remotion", "translate this Remotion comp", or "rewrite this as HyperFrames HTML". Do NOT use when (a) the user is authoring a NEW HyperFrames composition, even if they have or are A/B-testing a similar Remotion video; (b) the user mentions Remotion in passing without asking for migration; (c) the user shares Remotion code as reference material rather than asking for a translation; (d) the user asks for "the same video as my Remotion one" without explicitly asking to migrate the source — treat that as a fresh HyperFrames build. When in doubt, default to authoring a native HyperFrames composition with the `hyperframes` skill instead. Skill detects unsupported patterns (use...

libz-renlab-ai/TeamBrain

HyperFrames CLI tool — hyperframes init, lint, inspect, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark. Use when scaffolding a project, linting, validating, inspecting visual layout in compositions, previewing in the studio, rendering to video, transcribing audio, generating TTS, or troubleshooting the HyperFrames environment.

相關技能