Communitygithub.com

rbrown101010/codex-marketing-skills

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

codex-marketing-skills란 무엇인가요?

HyperFrames CLI (npx hyperframes)는 비디오 편집, 합성, 렌더링 워크플로우를 위한 강력한 AI 에이전트 친화적 도구입니다. 프로젝트 초기화, HTML 컴포지션 린팅, 시각적 검사, 스튜디오 미리보기, 최종 비디오 렌더링, 오디오 전사, 텍스트 음성 변환 등 전체 파이프라인을 지원합니다. Node.js >= 22와 FFmpeg가 필요합니다. 이 스킬은 Claude Code, Cursor, Codex와 같은 AI 코딩 에이전트가 HyperFrames 기반 비디오 프로젝트를 효율적으로 구축하고 디버깅할 수 있도록 설계되었습니다. 특히 `lint`와 `inspect` 명령어는 컴포지션의 텍스트 오버플로, 겹치는 트랙, 누락된 속성 등 일반적인 오류를 자동으로 감지하여 사람의 개입 없이도 고품질 출력을 보장합니다. 또한 `--json` 플래그를 지원하여 AI 에이전트가 파싱하기 쉬운 머신 리더블 출력을 제공하며, LLM 컨텍스트 윈도우 최적화를 위해 반복되는 정적 문제를 자동으로 축약합니다. `doctor` 명령어로 환경을 진단하고, `benchmark`로 렌더링 성능을 측정할 수 있어 CI/CD 파이프라인에도 적합합니다.

지원 대상~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/rbrown101010/codex-marketing-skills/tree/HEAD/plugin-workflows/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 --non-interactive       # 프롬프트 건너뛰기 (CI/에이전트)

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

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

린팅

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 경로가 아닌 스튜디오 프로젝트 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각각 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

텍스트 음성 변환

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 3 individual skills — each has its own dedicated page.

관련 스킬