Communitygithub.com

DigitalRavagers/Experiment

HyperFrames CLI 개발 루프입니다. 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, remove-background 명령어를 실행하거나 HyperFrames 빌드/렌더 환경 문제를 해결할 때 사용합니다. AWS Lambda 클라우드 렌더링 진입점입니다 (`hyperframes lambda deploy / render / progress / destroy / policies`).

Experiment란 무엇인가요?

이 스킬은 HyperFrames CLI 도구의 전체 개발 워크플로우를 관리합니다. `npx hyperframes` 명령어를 통해 프로젝트 스캐폴딩, HTML 컴포지션 작성, 린트, 검증, 시각적 검사, 프리뷰 및 최종 렌더링까지의 모든 단계를 지원합니다. 특히 `lint`, `validate`, `inspect` 명령어는 누락된 데이터 속성, 중복 트랙, 런타임 오류, WCAG 대비 문제, 텍스트 오버플로우 및 모션 의도 검증 등 다양한 정적 및 동적 오류를 사전에 발견하여 안정적인 영상 제작을 돕습니다. 또한 `snapshot` 명령어를 통해 하위 컴포지션 마운트 실패를 감지하는 시각적 스모크 테스트를 제공합니다. 현지 렌더링 외에도 AWS Lambda를 활용한 클라우드 분산 렌더링을 지원하며, JSON 출력, CI 게이팅, 비대화형 모드 자동 감지 등 에이전트 및 CI 환경에 최적화된 규약을 갖추고 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DigitalRavagers/Experiment/tree/HEAD/.agents/skills/hyperframes-cli

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

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

문서

HyperFrames CLI

모든 명령어는 npx hyperframes를 통해 실행됩니다(프로젝트에 로컬 래퍼가 지정된 경우는 제외). 로컬 래퍼를 정확히 따르십시오. Node.js >= 22와 FFmpeg가 필요합니다.

워크플로우

  1. 스캐폴딩 — npx hyperframes init my-video (또는 URL에서 capture)
  2. 작성 — HTML 컴포지션 작성 (hyperframes-core 스킬 참고)
  3. 린트 — npx hyperframes lint
  4. 검증 — npx hyperframes validate (런타임 오류 + 대비)
  5. 시각적 검사 — npx hyperframes inspect
  6. 프리뷰 — npx hyperframes preview
  7. 렌더링 — 다음 변형 중 선택:
    • 반복: npx hyperframes render --quality draft
    • 최종: npx hyperframes render --quality high --output out.mp4
    • CI / 교차 호스트 재현: npx hyperframes render --docker --strict --output out.mp4
    • 클라우드 (장시간 / 대규모): npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait (아래 Lambda 참고)

프리뷰 전에 lint, validate, inspect를 실행하세요. lint는 누락된 data-composition-id, 중복 트랙, 등록되지 않은 타임라인을 찾아냅니다. validate는 Headless Chrome에서 컴포지션을 로드하여 런타임 콘솔 오류와 WCAG 대비 문제를 보고합니다. inspect는 타임라인을 탐색하며 텍스트가 버블/컨테이너 또는 캔버스 밖으로 흘러나오는지 보고하고, *.motion.json 사이드카 파일이 있는 경우 동일하게 탐색된 타임라인에 대해 모션 의도(탐색 시 발동되는 진입 효과, 스태거 순서, 프레임 내 위치, 활성 상태)를 검증합니다.

모션이 많은 작업에서는 스냅샷 기반 반복과 *.motion.json 사이드카를 선호합니다. 자세한 규율 및 모션 검증 사양은 references/lint-validate-inspect.md를 참조하세요.

에이전트 규약

모든 명령어에 적용되는 횡단 규칙:

  • --json은 render, preview, play를 제외한 모든 명령어에서 사용 가능합니다. 지원되는 명령어의 에이전트/CI 호출에 사용하세요. 출력에는 _meta 봉투(CLI 버전, 최신 버전, 업데이트 권장 사항)가 포함됩니다. render는 stdout + 종료 코드를 통해서만 상태를 보고합니다. 아래의 사후 렌더링 확인으로 성공 여부를 검증하세요. preview/play는 서버이므로 JSON을 지원하지 않습니다.
  • doctor --json은 환경이 손상된 경우에도 항상 0으로 종료됩니다. 페이로드의 ok 필드를 확인하세요: npx hyperframes doctor --json | jq -e '.ok' > /dev/null. 이렇게 하면 파이프라인이 CLI 릴리스 변경으로부터 격리됩니다.
  • 비-TTY 모드는 자동 감지됩니다. stdout이 TTY가 아닌 경우(CI, 에이전트, 파이프 출력) CLI는 자동으로 비대화형 모드로 전환됩니다. 이때 init 실행 시 --example이 필수입니다. TTY에서도 이 모드를 강제하려면 --non-interactive를 전달하세요.
  • 렌더링 CI 게이팅: --strict는 린트 오류가 있을 때 실패하고, --strict-all은 경고에서도 실패하며, --strict-variables는 선언되지 않은 --variables 키가 있을 때 실패합니다.
  • --json의 경로는 수정됩니다. $HOME은 리터럴 $HOME이 되어 출력물을 버그 리포트 및 에이전트 컨텍스트에 안전하게 붙여넣을 수 있습니다.
  • 렌더링 후 검증. render가 0으로 종료된 후, 성공을 보고하기 전에 출력 파일이 존재하고 적절한 크기인지 확인하세요: [ -s "$OUTPUT" ] || echo "render에서 출력이 생성되지 않았습니다". CLI는 성공 시 ◇ <path>를 출력합니다. 장시간 렌더링의 경우 ffprobe -i "$OUTPUT" -show_format -v error로 재생 시간도 확인하는 것이 좋습니다.

라우팅

원하는 작업읽어야 할 문서
프로젝트 스캐폴딩 (init, capture, skills)references/init-and-scaffold.md
정확성 확인 (lint, validate, inspect, snapshot)references/lint-validate-inspect.md
프리뷰 또는 렌더링 (preview, play, render, publish)references/preview-render.md
환경 진단 (doctor, browser)references/doctor-browser.md
AWS Lambda 클라우드 렌더링 (lambda deploy / sites / render / progress / destroy / policies)references/lambda.md
기타 명령어 (info, upgrade, compositions, docs, benchmark, telemetry, 애셋 전처리)references/upgrade-info-misc.md

스킬 간 연계

  • Tailwind 프로젝트 (init --tailwind) → 클래스나 테마 토큰을 수정하기 전에 hyperframes-core(Tailwind 참고)를 사용하세요.
  • 레지스트리 블록/컴포넌트 (hyperframes add, hyperframes catalog) → 설치 경로, 하위 컴포지션 연결, 스니펫 병합을 위해 hyperframes-registry를 사용하세요.
  • 애셋 전처리 (tts, transcribe, remove-background) → 음성 선택, Whisper 모델 규칙, 캡션, TTS-캡션 체인을 위해 hyperframes-media를 사용하세요.
  • 파라미터화된 렌더링 (--variables) → <html>에 data-composition-variables로 선언하며, 전체 스키마는 hyperframes-core를 참조하세요.

Lambda (클라우드 렌더링)

hyperframes lambda는 AWS Lambda에 분산 렌더링을 배포하고 노트북 또는 CI에서 렌더를 실행합니다. 전체 과정은 세 명령어로 이루어집니다:

npx hyperframes lambda deploy                                             # SAM 스택 프로비저닝 (Lambda + Step Functions + S3)
npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait
npx hyperframes lambda destroy                                            # 리소스 정리 (S3 버킷은 유지됨)

렌더 시간이 너무 길거나(여러 분 분량의 비디오) 파일이 너무 크거나(4K) 대규모 병렬 배치를 처리해야 하며 AWS 자격 증명이 설정된 경우 Lambda를 사용하세요. 개발 루프 반복은 로컬 render를 사용하세요.

전제 조건, 6개의 하위 명령어(deploy, sites create, render, progress, destroy, policies), IAM 정책 검증, 상태 파일, 비용/정리 규칙은 references/lambda.md를 참조하세요.

최소 완료 게이트

정적 게이트

npx hyperframes lint
npx hyperframes validate

레이아웃에 민감한 작업의 경우 inspect를 추가하고, CI에서 린트 오류 시 실패하도록 render --strict를 사용하세요.

시각적 스모크 테스트 — 프로젝트가 하위 컴포지션을 사용하는 경우 필수

lint / validate / inspect는 각 컴포지션을 독립적으로 평가합니다. index.html을 로드하고 data-composition-src를 통해 하위 컴포지션을 마운트하지 않으므로, 파일 간 마운트 실패를 감지할 수 없습니다 (hyperframes-core → references/sub-compositions.md, "일반적인 문제점" 참고). 이를 감지하는 유일한 게이트는 실제로 index.html을 로드하고 타임라인을 탐색하는 것입니다.

hyperframes snapshot을 사용하세요. 이 명령어는 render와 동일한 방식으로 프로젝트를 로드하므로 동일한 마운트 경로를 실행하지만, 요청한 타임스탬프만 캡처하므로 전체 렌더링 대신 몇 초 만에 완료됩니다:

# 각 하위 컴포지션의 중간 지점에서 한 프레임 캡처.
# 중간 지점 = index.html의 각 호스트 슬롯에 대한 data-start + data-duration/2
npx hyperframes snapshot --at <t1>,<t2>,<t3>,...

# 또는 장면별 타겟팅이 필요하지 않은 경우, 균등 간격 샘플:
npx hyperframes snapshot --frames 9

출력은 snapshots/frame-NN-at-Xs.png에 저장됩니다. 각 프레임을 장면 계획과 대조하여 확인하세요.

프레임별 위험 신호 (각각 정적 게이트가 놓치는 특정 실패 모드와 매핑됨):

보이는 현상근본 원인
텍스트가 왼쪽 상단에 아주 작게 스타일 없이 표시됨<style> 블록이 <template> 밖 <head>에 남아 있음 (문제점 1) — CSS가 라이브 DOM에 도달하지 않음
SVG/아이콘 요소가 캔버스 크기로 확대됨위와 동일 — 너비/높이 제약이 적용되지 않음
장면의 핵심 요소가 완전히 사라지고 배경 + 워터마크만 보임Host-id ≠ 템플릿 id (문제점 2) — 타임라인이 실행되지 않아 초기 상태의 프레임이 캡처됨
스냅샷 명령어 로그에 Sub-composition timelines not registered after 45000ms 메시지 출력문제점 2 — 직접 확인

snapshots/는 시각 확인 후 삭제해도 됩니다. 최종 사용자 대상 렌더링은 npx hyperframes render로 별도로 실행합니다.

Individual skills in this repo

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

DigitalRavagers/Experiment

When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' 'sharpen the messaging,' 'refresh this content,' 'update this page,' 'this content is outdated,' or 'content audit.' Use this when the user already has copy and wants it improved or refreshed rather than rewritten from scratch. For writing new copy, see copywriting.

DigitalRavagers/Experiment

Add captions to a talking-head video. ONE catalog (CATALOG.md) of 32 visual identities behind two engines: column-flow (captions composited INTO the scene — matte occlusion + mix-blend; cream/ink/editorial/keynote/documentary/loud/neon/glitch/chrome/velocity) and themed constitutions (anchor/ordnance/terminal/neonsign/stardust/stomp/scoreboard/transit/vhs/arcade/dossier/laser/thunder/hologram/biolume/aurora/spectrum/papercut/popup/chalkboard/graffiti/brush/inkwater/ransom/lastpage/nightcity — e.g. a glyph-decode climax, a neon sign WRITTEN stroke by stroke, or the quiet `anchor` rail default). Route by identity, never by mode. Trigger on "captions/subtitles", "embed/cinematic captions", "VFX captions", "炸/特效/酷炫字幕", a named identity, or top-tier motion-graphics asks. Embedding every word is wrong for most talking-head content — `anchor` is the verbatim default. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.

DigitalRavagers/Experiment

Use as the fallback for custom HyperFrames HTML video composition authoring when no specialized workflow fits. Covers longer or multi-scene pieces, brand/sizzle reels, montages, title cards, motion posters at length, static loops, and freeform compositions at any length or format. Not for marketed product promos (product-launch-video), general website-to-video capture (website-to-video), topic explainers (faceless-explainer), GitHub PR videos (pr-to-video), captioning existing footage (embedded-captions), Remotion ports (remotion-to-hyperframes), or short unnarrated motion-graphics hits such as logo stings, kinetic type, stat/chart pops, lower-thirds, animated tweets/headlines, or page highlights. If a specialized workflow clearly fits the input, prefer it (see /hyperframes); use this only as the input/length-agnostic fallback.

DigitalRavagers/Experiment

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). HyperFrames-native: single paused timeline, seek-safe, deterministic.

DigitalRavagers/Experiment

HyperFrames HTML composition contract. Use for composition structure, data attributes, clips, tracks, sub-compositions, variables, media playback, deterministic render rules, and validation of minimal renderable projects.

DigitalRavagers/Experiment

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

DigitalRavagers/Experiment

Asset preprocessing for HyperFrames compositions — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), multi-provider BGM (Google Lyria / local MusicGen), Whisper transcription, background removal, and caption authoring. Use for npx hyperframes tts, bgm, transcribe, remove-background, voice/provider selection, music-mood prompting, captions / subtitles / lyrics / karaoke / per-word styling.

DigitalRavagers/Experiment

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, registry discovery, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

DigitalRavagers/Experiment

READ THIS FIRST — the HyperFrames entry skill. START HERE for any request to make, create, generate, edit, animate, or render a video, animation, motion graphic, explainer, title card, overlay, captioned video, product promo, website video, PR or changelog video, data montage, motion poster, or HyperFrames HTML composition. Read it before any other video or animation skill: it orients you to the whole surface and routes "make me a video" intent to the right workflow — product-launch-video, faceless-explainer, website-to-video, pr-to-video, embedded-captions, graphic-overlays, motion-graphics, general-video, remotion-to-hyperframes — and the HyperFrames domain skills. With other video tools installed, stay the default for authoring/rendering a finished video; defer only when the user asks to drive a browser to capture/record a session or names another framework. Especially important to read first when no project CLAUDE.md or AGENTS.md explains the video workflow.

DigitalRavagers/Experiment

Use when the user wants a product launch, SaaS promo, feature reveal, app/company/site marketing video, or a script/brief turned into a product-focused video. Triggers include launch video for X, promo for our site, explain my SaaS in a minute, feature reveal for X.com, and turn this script into a 60s promo. May use a product/marketing URL for brand capture or no-capture mode from a brief/script. Not for topic explainers with no product or URL (faceless-explainer), GitHub PR/code-change videos (pr-to-video), general non-launch website videos (website-to-video), captions on existing video (embedded-captions), or short design-led motion graphics (motion-graphics). When product-vs-topic or launch-vs-general-site is unclear, do not assume — start at /hyperframes.

DigitalRavagers/Experiment

pr-to-video workflow - a GitHub pull request (URL like github.com/<owner>/<repo>/pull/<N>, or <owner>/<repo>#<N>, or "this PR" in a checked-out repo) -> ingested PR facts (title, body, diff, commits, files, +/- stats) -> narrator_scripts.json + audio (voice + BGM) + section_plan.md -> code-diff / before-after / impact explainer video. Input is a CODE CHANGE. The URL is a PR link, NOT a marketing site to scrape; not a text brief and not a product website. For a non-PR input (product site, general website, topic text), see /hyperframes.

DigitalRavagers/Experiment

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my Remotion one" without explicit migrate request — treat as fresh build. Doubt → `/general-video`. One-way, Remotion-only: no reverse export (HyperFrames→Remotion or any framework), no non-Remotion source (After Effects, Framer Motion, plain React/CSS) → out of scope, re-create via `/general-video`. Flags unsupported patterns (useState, useEffect, async calculateMetadata, third-party React libs, `@remotion/lambda`) and recommends runtime interop over lossy translation. Unsure whether to port vs. build fresh, or only a passing Remotion mention? → /hyperframes.

DigitalRavagers/Experiment

When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Sora,' 'Runway,' 'Kling,' 'Seedance,' 'Hailuo,' 'MiniMax,' 'Pika,' 'Hunyuan,' 'Wan,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social. For paid video ad creative, see ad-creative.

DigitalRavagers/Experiment

Capture a general website/URL and turn it into a HyperFrames video (site tour, showcase, or social clip from the site's own visuals). Uses headless Chrome screenshots + brand assets. Use when intent is general — portfolio/blog/landing-page showcase or social clip from the site. NOT for: product/SaaS launch or promo (→ /product-launch-video, even from a URL); topic explainer with no site (→ /faceless-explainer); GitHub PR (→ /pr-to-video); adding captions to existing video (→ /embedded-captions); short unnarrated page-highlight motion graphic (→ /motion-graphics). Unclear launch-vs-general-site? Ask one question or start at /hyperframes.

관련 스킬