Communitygithub.com

HyperFrames CLI – Videostudio

Nutzung der HyperFrames CLI-Entwicklungsschleife: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, Einzel- und Batch-Rendering, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, auth, tts und remove-background. Auch zur Diagnose von Build- oder Rendering-Fehlern. validate, inspect und layout sind veraltete Aliase; check verwenden. Deckt lokales, HeyGen-gehostetes Cloud-, AWS Lambda- und Google Cloud Run-Rendering ab.

Was ist HyperFrames CLI – Videostudio?

Dieses Skill definiert den vollständigen Entwicklungs- und Rendering-Workflow für das HyperFrames CLI, ein Tool zur Erstellung und Auslieferung von Videokompositionen. Es richtet sich an Entwickler und KI-Agenten, die mit Frameworks wie Claude Code oder Cursor arbeiten. Die CLI unterstützt lokale, auf HeyGen gehostete, AWS Lambda und Google Cloud Run Rendering-Umgebungen und bietet eine strukturierte Entwicklungsschleife vom Scannen über die Autorenschaft, schnelle Iteration mit `lint`, finale Prüfung mit `check`, Storyboard- und finale Vorschau bis hin zum Rendering nach expliziter Freigabe. Der Skill beschreibt zwei verschiedene Vorschauoberflächen (Storyboard vs. finale Komposition), Sub-Kompositions-Smoke-Tests, Agentenkonventionen wie die Nutzung von `--json`, Studio-gesteuerte Bearbeitung sowie detaillierte Befehle für Batch-, Cloud- und containerisiertes Rendering. Außerdem wird ein standardisiertes Feedback-Protokoll mit Reproduktionspaket und visueller Fehlerklassifizierung definiert. Vor der Ausführung bestimmter Befehle ist das Lesen der entsprechenden Referenzdokumentation verpflichtend.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Drama2557/4RealDigital-Video-Studio/tree/HEAD/.agents/skills/hyperframes-cli

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

HyperFrames CLI

Befehle als npx hyperframes ... ausführen, sofern die Projektanweisungen keinen Wrapper bereitstellen. Wenn ein Wrapper vorhanden ist, diesen verwenden. Die CLI benötigt Node.js 22 oder neuer und FFmpeg.

Entwicklungsschleife

  1. Gerüst erstellen: npx hyperframes init <projekt> oder eine Website erfassen. Im Nicht-TTY-Modus --non-interactive --example=<name> übergeben.
  2. Autor: die Komposition mit /hyperframes-core schreiben.
  3. Schnelles Feedback während der Bearbeitung: npx hyperframes lint nach dem ersten HTML-Durchlauf und nach strukturellen Änderungen ausführen.
  4. Das finale Gate ausführen: npx hyperframes check ausführen; es führt lint vor dem Öffnen des Browsers erneut aus. Keinen redundanten, separaten lint-Aufruf voranstellen. --snapshots für kommentierte Übersichtsbilder und zur Ermittlung von Bildausschnitten hinzufügen.
  5. Sub-Kompositionen inspizieren: Wenn index.html data-composition-src einbindet, Zwischen-Snapshots erfassen und jede eingebundene Szene inspizieren.
  6. Die finale Studio-Vorschau öffnen: npx hyperframes preview ausführen, die Timeline-Projekt-URL dem Benutzer übergeben und fragen, ob überarbeitet oder gerendert werden soll.
  7. Nur nach Genehmigung rendern: Entwurfsqualität für Iterationen und hohe Qualität für die Auslieferung verwenden.
  8. Die Ausgabe überprüfen: Bestätigen, dass die Datei existiert, nicht leer ist und eine plausible Dauer aufweist.
# Schnelle Iterationsprüfung; bei Bedarf während der Autorenschaft wiederholen.
npx hyperframes lint

# Erforderliches finales Gate; beinhaltet lint.
npx hyperframes check
npx hyperframes preview
npx hyperframes render --quality high --output out.mp4
test -s out.mp4
ffprobe -v error -show_format out.mp4

check führt zuerst lint aus, verwendet dann eine Browsersitzung und einen Seek-Durchlauf, um Laufzeitfehler, fehlgeschlagene Anfragen, Layout, *.motion.json-Assertions und WCAG-Kontrast zu prüfen. Beständige Befunde blockieren den Exit-Code; vorübergehende Eintritts- oder Austrittsbefunde sind informativ. --strict verwenden, um Warnungen als blockierend zu kennzeichnen. validate, inspect und layout bleiben aus Kompatibilitätsgründen als Aliase bestehen, dürfen aber in neuen Anweisungen oder Skripten nicht verwendet werden.

Zwei verschiedene Vorschauoberflächen

Diese Zustände nicht verwechseln:

OberflächeWann sie geöffnet werden kannZweck
Storyboard-TafelVor Kompositionsprüfungen, nur wenn storyboard: yesPlanungskarten und Drahtmodellskizzen prüfen. Öffnen unter ?view=storyboard#project/<name>.
Finale KompositionsvorschauNach bestandenem checkDie zusammengebaute Timeline vor dem Rendern prüfen. Öffnen unter #project/<name>.

Die frühe Tafel ist keine Genehmigung des endgültigen Videos. Rendering erfordert immer die finale Freigabe, wie in hyperframes-core/references/review-loop.md definiert.

Sub-Kompositions-Smoke-Test

Statische Prüfungen können nicht jeden Einbettungsfehler erkennen. Wenn das Projekt Sub-Kompositionen verwendet, mindestens einen sichtbaren Mittelpunkt für jeden Host-Slot erfassen:

npx hyperframes snapshot --at <t1>,<t2>,<t3>

Kleine, unformatierte Inhalte, canvasgroße Symbole, fehlende Hero-Elemente oder Timeout bei der Timeline-Registrierung als rendertblockierende Einbettungsfehler behandeln. Siehe hyperframes-core/references/sub-compositions.md für die entsprechenden Korrekturen.

Agenten-Konventionen

  • --json für Agenten- und CI-Aufrufe bevorzugen. Server-Modus render, preview und play liefern keine normale JSON-Ausgabe; preview --selection --json und preview --context --json sind Ausnahmen im Abfragemodus.

  • doctor --json beendet sich immer mit Exit-Code 0. Auf der Nutzlast basieren:

    npx hyperframes doctor --json | jq -e '.ok' >/dev/null
    
  • Der Nicht-TTY-Modus ist automatisch. init erfordert dort --example; --non-interactive verwenden, um deterministisches Verhalten auf einem TTY zu erzwingen.

  • Eine einzige HYPERFRAMES_RUN_ID für alle Befehle im selben Verifizierungszyklus verwenden.

  • --strict, --strict-all und --strict-variables verwenden, wenn die entsprechenden Warnungen, Variablen oder CI-Bedingungen das Rendern blockieren müssen.

  • JSON-Pfade redigieren das Home-Verzeichnis als $HOME; nicht versuchen, die Redaktion rückgängig zu machen.

  • Niemals nur rendern, weil die Prüfungen bestanden sind. Bei der finalen Vorschau pausieren und auf Genehmigung warten.

Studio-gesteuerte Bearbeitungen

Wenn der Benutzer sich auf „dieses Element“ oder die aktuelle Auswahl bezieht, Studio abfragen anstatt zu raten:

npx hyperframes preview --context --json --context-fields selection

selection.target.hfId verwenden, wenn verfügbar, andernfalls dessen Selektor und Quelldatei. Wenn das Ergebnis no-selection meldet, den Benutzer bitten, auf das Element zu klicken und den Befehl erneut auszuführen. Nur die benötigten Kontextausschnitte anfordern; --context-detail full nur für berechnete Styles oder bearbeitbare Textmetadaten verwenden. Vollständiges Verhalten und Fehlercodes finden sich in references/preview-render.md.

Render-Optionen

BedarfBefehl
Schnelle lokale Iterationnpx hyperframes render --quality draft
Finale lokale Auslieferungnpx hyperframes render --quality high --output out.mp4
Reproduzierbares Container-Renderingnpx hyperframes render --docker --strict --output out.mp4
Lokales variablengesteuertes Batch-Renderingnpx hyperframes render --batch rows.json --output "renders/{name}.mp4"
HeyGen-gehostetes Null-Infrastruktur-Renderingnpx hyperframes cloud render
Selbstverwaltetes verteiltes AWS-Renderingnpx hyperframes lambda render <projekt> --width 1920 --height 1080 --wait
Selbstverwaltetes verteiltes GCP-Renderingnpx hyperframes cloudrun render <projekt> --width 1920 --height 1080 --wait

Cloud-Rendering verwenden, wenn der Benutzer gehostetes Rendering ohne lokales Chrome, FFmpeg oder AWS wünscht. Lambda nur verwenden, wenn AWS-Besitz eine Anforderung ist. Cloud Run nur verwenden, wenn GCP-Besitz eine Anforderung ist. Vor der Ausführung eines Cloud-Pfads die entsprechende Referenz lesen.

Nach der Überprüfung eines erfolgreichen Renderings einen Feedback-Bericht senden, sofern Telemetrie nicht deaktiviert ist oder der Benutzer widersprochen hat:

npx hyperframes feedback --rating <0-10> --comment "<spezifisches Ergebnis oder Problem>"

Feedback für saubere Durchläufe kurz halten. Bei Fehlern oder Problemen ein Reproduktionspaket erfassen, bevor es gesendet wird; nicht nur eine Zusammenfassung der Symptome senden. Den wiederholbaren Befehl und das Arbeitsverzeichnis, das erwartete vs. tatsächliche Verhalten, die genaue Fehlermeldung, ob die Ausgabe abgeschlossen/zurückgefallen/fehlgeschlagen ist, den Workaround und den Status des Reproduktionsprojekts angeben. Bei einer Bewertung ≤ 7, die einen visuellen Fehler beschreibt (schwarzer Bildschirm, Flimmern, korrupte Ausgabe, falscher Frame, leere Ausgabe, andere visuelle Anomalie), zusätzlich einen COMPOSITION_STRUCTURE:-Block einfügen – eine datenschutzschonende strukturelle Anatomie (Elementzählung + Vorhandensein von Attributen + Timeline-Form), damit die Maintainer ohne die Kompositions-ZIP Mustererkennung gegen bekannte Fehlerfamilien durchführen können. Agenten füllen dies automatisch über den Composition-Census-Helfer aus; der menschliche Benutzer füllt es nicht von Hand aus. Wenn sich das Problem nicht erneut reproduzieren ließ, dies angeben und dennoch den letzten fehlgeschlagenen Befehl und die Logs beifügen. --file-issue nur mit Zustimmung verwenden: Es veröffentlicht eine minimale Reproduktion unter einer öffentlichen URL. Das erforderliche Paketformat und die Datenschutzwarnung finden sich in references/preview-render.md.

Vor der Ausführung eines Befehls die passende Referenz lesen

Die folgenden Referenzen und zugehörigen Skills sind verbindliche Befehlsverträge, keine optionale Hintergrundlektüre. Vor der Ausführung eines Befehls in der Tabelle die entsprechende Zeile lesen.

BedarfReferenz
init, capture, skillsreferences/init-and-scaffold.md
lint, check, Motion-Seitendateien, snapshotreferences/lint-validate-inspect.md
compare, grade-compare, variablengesteuertes render --batchreferences/compare-and-batch.md
beats für das Studio-Beat-Raster eines bestehenden Projektsreferences/beats.md
preview, play, render, publish, Studio-Kontext, Feedbackreferences/preview-render.md
doctor, Browser-Verwaltungreferences/doctor-browser.md
auth, HeyGen-gehostetes Cloud-Rendering und Vorlagenvariablenreferences/cloud.md
AWS-Lambda-Bereitstellung und -Renderingreferences/lambda.md
Google Cloud Run-Bereitstellung und -Renderingreferences/cloudrun.md
info, upgrade, compositions, docs, benchmark, Telemetrie, Medienvorverarbeitungreferences/upgrade-info-misc.md

Für Kompositionsvariablen auch /hyperframes-core → references/variables-and-media.md lesen. Für hyperframes add und hyperframes catalog /hyperframes-registry verwenden. Vor hyperframes present /slideshow lesen; vor hyperframes keyframes /hyperframes-keyframes lesen. Für TTS, Transkription, Untertitel oder Hintergrundentfernung /media-use verwenden.

Die spezialisierten Befehle sind bewusst in ihren eigenen Workflows dokumentiert:

npx hyperframes present <projekt-verz> --port 3004 --no-open
npx hyperframes beats <projekt-verz> --json
npx hyperframes keyframes <projekt-verz> --json

present dient ein navigierbares Deck mit Präsentatoren- und Publikumssynchronisation aus. beats ist das eigenständige Studio-Beat-Raster-Dienstprogramm, definiert in references/beats.md. keyframes liefert seek-sichere Animations- und Bewegungspfad-Diagnosen.

Individual skills in this repo

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

Drama2557/4RealDigital-Video-Studio

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Drama2557/4RealDigital-Video-Studio

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Drama2557/4RealDigital-Video-Studio

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Drama2557/4RealDigital-Video-Studio

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Drama2557/4RealDigital-Video-Studio

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

Drama2557/4RealDigital-Video-Studio

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

Drama2557/4RealDigital-Video-Studio

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

Drama2557/4RealDigital-Video-Studio

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`.

Drama2557/4RealDigital-Video-Studio

Install, discover, and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

Drama2557/4RealDigital-Video-Studio

Agent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal.

Drama2557/4RealDigital-Video-Studio

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

Drama2557/4RealDigital-Video-Studio

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Drama2557/4RealDigital-Video-Studio

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Drama2557/4RealDigital-Video-Studio

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Agent skill / project related to launch or product demo video: Drama2557/4RealDigital-Video-Studio

Verwandte Skills