Communitygithub.com

libz-renlab-ai/TeamBrain

HyperFrames CLI 도구 — hyperframes init, lint, inspect, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark. 프로젝트 스캐폴딩, 린팅, 검증, 컴포지션의 시각적 레이아웃 검사, 스튜디오에서 미리보기, 비디오 렌더링, 오디오 전사, TTS 생성 또는 HyperFrames 환경 문제 해결 시 사용합니다.

TeamBrain란 무엇인가요?

HyperFrames CLI는 비디오 컴포지션을 생성, 검사, 렌더링하기 위한 종합 명령줄 도구입니다. Node.js >= 22와 FFmpeg가 필요하며, `npx hyperframes`를 통해 모든 작업이 실행됩니다. 주요 기능으로는 스캐폴딩(`init`), 린팅(`lint`), 시각적 검사(`inspect`), 미리보기(`preview`), 렌더링(`render`), 오디오 전사(`transcribe`), TTS 생성(`tts`), 환경 진단(`doctor`) 등이 있습니다. `lint`는 data-composition-id 누락, 트랙 중복, 등록되지 않은 타임라인 등을 잡아내며, `inspect`는 헤드리스 Chrome을 사용하여 타임라인을 탐색하며 텍스트가 컨테이너나 캔버스를 벗어나는지 보고합니다. 렌더링은 draft, standard, high 품질과 mp4/webm 포맷을 지원하며, Docker 옵션으로 재현 가능한 출력도 가능합니다. 에이전트 및 CI 환경에서 사용하기 적합하며, JSON 출력으로 LLM 컨텍스트 윈도우에 최적화되어 있습니다.

지원 대상~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/libz-renlab-ai/TeamBrain/tree/HEAD/.pi/skills/hyperframes-cli

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

HyperFrames CLI

모든 것은 npx hyperframes를 통해 실행됩니다. Node.js >= 22와 FFmpeg가 필요합니다.

워크플로우

  1. 스캐폴딩 — npx hyperframes init my-video
  2. 작성 — HTML 컴포지션 작성 (hyperframes 스킬 참조)
  3. 린트 — npx hyperframes lint
  4. 시각적 검사 — npx hyperframes inspect
  5. 미리보기 — npx hyperframes preview
  6. 렌더링 — npx hyperframes render

미리보기 전에 린트와 검사를 실행하세요. lint는 누락된 data-composition-id, 중복 트랙, 등록되지 않은 타임라인을 잡아냅니다. inspect는 렌더링된 컴포지션을 헤드리스 Chrome에서 열고, 타임라인을 탐색하며 말풍선/컨테이너나 캔버스 밖으로 텍스트가 넘치는지 보고합니다.

스캐폴딩

npx hyperframes init my-video                        # 대화형 마법사
npx hyperframes init my-video --example warm-grain   # 예제 선택
npx hyperframes init my-video --video clip.mp4        # 비디오 파일 포함
npx hyperframes init my-video --audio track.mp3       # 오디오 파일 포함
npx hyperframes init my-video --example blank --tailwind # Tailwind v4 브라우저 런타임 사용
npx hyperframes init my-video --non-interactive       # 프롬프트 건너뛰기 (CI/에이전트용)

템플릿: blank, warm-grain, play-mode, swiss-grid, vignelli, decision-tree, kinetic-type, product-promo, nyt-graph.

init은 올바른 파일 구조를 생성하고, 미디어를 복사하며, Whisper로 오디오를 전사하고, AI 코딩 스킬을 설치합니다. 수동으로 파일을 생성하는 대신 이 명령어를 사용하세요.

--tailwind 사용 시, 클래스나 테마 토큰을 편집하기 전에 tailwind 스킬을 호출하세요. 스캐폴드는 Studio의 Tailwind v3 설정이 아닌 브라우저 런타임을 통한 Tailwind v4.2를 사용합니다.

린팅

npx hyperframes lint                  # 현재 디렉토리
npx hyperframes lint ./my-project     # 특정 프로젝트
npx hyperframes lint --verbose        # 정보 수준 발견 사항
npx hyperframes lint --json           # 기계가 읽기 쉬운 출력

index.html과 compositions/ 디렉토리의 모든 파일을 린트합니다. 오류(반드시 수정 필요), 경고(수정 권장), 정보(--verbose 사용 시)를 보고합니다.

시각적 검사

npx hyperframes inspect                 # 타임라인에 걸쳐 렌더링된 레이아웃 검사
npx hyperframes inspect ./my-project    # 특정 프로젝트
npx hyperframes inspect --json          # 에이전트가 읽기 쉬운 발견 사항
npx hyperframes inspect --samples 15    # 더 빽빽한 타임라인 스윕
npx hyperframes inspect --at 1.5,4,7.25 # 명시적 히어로 프레임 타임스탬프

lint와 validate 후에 사용하세요. 특히 말풍선, 카드, 자막 또는 빡빡한 타이포그래피가 있는 컴포지션에 유용합니다. 다음을 보고합니다:

  • 텍스트가 가장 가까운 시각적 컨테이너나 말풍선 밖으로 확장됨
  • 텍스트가 자체 고정 너비/고정 높이 박스에 의해 잘림
  • 텍스트가 컴포지션 캔버스 밖으로 확장됨
  • 자식 요소가 클리핑 컨테이너를 벗어남

오류는 렌더링 전에 수정해야 합니다. 경고는 에이전트 검토를 위해 표시됩니다. --strict를 추가하면 경고에서도 실패합니다. 반복되는 정적 문제는 기본적으로 접혀져 JSON 출력이 LLM 컨텍스트 윈도우에 맞게 컴팩트하게 유지됩니다. 입장/퇴장 애니메이션을 위해 오버플로우가 의도된 경우, 요소나 상위 요소에 data-layout-allow-overflow를 표시하세요. 장식 요소를 감사에서 제외하려면 data-layout-ignore를 표시하세요.

npx hyperframes layout은 동일한 시각적 검사 단계를 위한 호환성 별칭으로 계속 사용할 수 있습니다.

미리보기

npx hyperframes preview                   # 현재 디렉토리 서빙
npx hyperframes preview --port 4567       # 사용자 정의 포트 (기본값 3002)

파일 변경 시 핫 리로드됩니다. 브라우저에서 스튜디오를 자동으로 엽니다.

프로젝트를 사용자에게 반환할 때는 소스 index.html 경로가 아닌 Studio 프로젝트 URL을 사용하세요:

http://localhost:<port>/#project/<project-name>

미리보기 출력의 실제 포트와 프로젝트 디렉토리 이름을 사용하세요. 예를 들어, codex-openai-video 디렉토리에서 npx hyperframes preview --port 3017 실행 후에는 http://localhost:3017/#project/codex-openai-video를 보고하세요.

index.html은 소스 코드 컨텍스트로만 취급하세요. 구현 파일로 링크하는 것은 괜찮지만, 프로젝트나 미리보기 표면으로 표시하지 마세요.

렌더링

npx hyperframes render                                # 표준 MP4
npx hyperframes render --output final.mp4             # 출력 파일명 지정
npx hyperframes render --quality draft                # 빠른 반복
npx hyperframes render --fps 60 --quality high        # 최종 배포
npx hyperframes render --format webm                  # 투명 WebM
npx hyperframes render --docker                       # 바이트 단위 동일
플래그옵션기본값참고 사항
--output경로renders/name_timestamp.mp4출력 경로
--fps24, 30, 603060fps는 렌더링 시간 두 배
--qualitydraft, standard, highstandarddraft는 반복 작업용
--formatmp4, webmmp4WebM은 투명도 지원
--workers1-8 또는 autoauto각 worker가 Chrome 인스턴스 생성
--docker플래그off재현 가능한 출력
--gpu플래그offGPU 가속 인코딩
--strict플래그off린트 오류 시 실패
--strict-all플래그off오류 및 경고 모두에서 실패

품질 가이드: 반복 작업 중에는 draft, 검토 시 standard, 최종 배포 시 high를 사용하세요.

전사

npx hyperframes transcribe audio.mp3
npx hyperframes transcribe video.mp4 --model medium.en --language en
npx hyperframes transcribe subtitles.srt   # 기존 자막 가져오기
npx hyperframes transcribe subtitles.vtt
npx hyperframes transcribe openai-response.json

텍스트-음성 변환 (TTS)

npx hyperframes tts "텍스트 입력" --voice af_nova --output narration.wav
npx hyperframes tts script.txt --voice bf_emma
npx hyperframes tts --list  # 모든 음성 출력

문제 해결

npx hyperframes doctor       # 환경 확인 (Chrome, FFmpeg, Node, 메모리)
npx hyperframes browser      # 번들된 Chrome 관리
npx hyperframes info         # 버전 및 환경 세부 정보
npx hyperframes upgrade      # 업데이트 확인

렌더링이 실패하면 doctor를 먼저 실행하세요. 일반적인 문제: FFmpeg 누락, Chrome 누락, 메모리 부족.

기타

npx hyperframes compositions   # 프로젝트의 컴포지션 목록
npx hyperframes docs           # 문서 열기
npx hyperframes benchmark .    # 렌더링 성능 벤치마킹

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

Capture a website and create a HyperFrames video from it. Use when: (1) a user provides a URL and wants a video, (2) someone says "capture this site", "turn this into a video", "make a promo from my site", (3) the user wants a social ad, product tour, or any video based on an existing website, (4) the user shares a link and asks for any kind of video content. Even if the user just pastes a URL — this is the skill to use.

관련 스킬