Communitygithub.com

9018/mychat

Bucle de desarrollo CLI de HyperFrames. Úselo al ejecutar 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, o remove-background, o al solucionar problemas del entorno de compilación/renderizado de HyperFrames. Punto de entrada para renderizado en la nube de AWS Lambda (`hyperframes lambda deploy / render / progress / destroy / policies`).

¿Qué es mychat?

HyperFrames CLI es una herramienta de línea de comandos diseñada para desarrolladores que crean composiciones de video basadas en HTML. Proporciona un flujo de trabajo completo desde el andamiaje del proyecto hasta la renderización final, admitiendo tanto renderizado local como en la nube a través de AWS Lambda (por ejemplo, `hyperframes lambda deploy`, `render`, `destroy`). Las verificaciones de corrección estática (lint, validación, inspección visual) están integradas en el bucle de desarrollo para detectar errores de composición, problemas de contraste WCAG y desbordamiento de diseño, mientras que `snapshot` captura fotogramas de verificación en segundos, no en minutos. Compatible con Node.js >= 22 y FFmpeg, se integra con habilidades complementarias como hyperframes-core (composición HTML), hyperframes-registry (bloques de registro) y hyperframes-media (procesamiento de activos como TTS y transcripción). Ideal para desarrolladores que trabajan en proyectos de video complejos y desean un bucle de retroalimentación rápido con comandos predecibles y protección contra errores de integración.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/9018/mychat/tree/HEAD/OpenMontage/.agents/skills/hyperframes-cli

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

HyperFrames CLI

Todo se ejecuta a través de npx hyperframes a menos que las instrucciones del proyecto especifiquen un wrapper local. Obedezca exactamente el wrapper local. Requiere Node.js >= 22 y FFmpeg.

Flujo de trabajo

  1. Andamiar — npx hyperframes init my-video (o capture desde una URL). init también verifica las habilidades instaladas contra las más recientes en GitHub y actualiza el conjunto global si alguna está desactualizada. La bandera --skip-skills está actualmente neutralizada (temporal, mientras el registro skills.sh se pone al día), por lo que cada init ejecuta esta verificación y extrae nuestras últimas habilidades independientemente.
  2. Escribir — redacte la composición HTML (consulte la habilidad hyperframes-core)
  3. Lint — npx hyperframes lint
  4. Validar — npx hyperframes validate (errores de tiempo de ejecución + contraste)
  5. Inspección visual — npx hyperframes inspect
  6. Previsualizar — npx hyperframes preview abre el Studio, el editor de línea de tiempo donde el usuario puede editar manualmente cualquier cosa (no solo mirar). Revise allí, luego pregunte antes de renderizar.
  7. Renderizar — elija la variante:
    • Iterar: npx hyperframes render --quality draft
    • Entregar: npx hyperframes render --quality high --output out.mp4
    • CI / reproducción entre hosts: npx hyperframes render --docker --strict --output out.mp4
    • Nube (largo / grande): npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait (consulte Lambda a continuación)

Ejecute lint, validate e inspect antes de preview. lint detecta data-composition-id faltantes, pistas superpuestas y líneas de tiempo no registradas. validate carga la composición en Chrome sin cabeza e informa errores de consola de tiempo de ejecución más problemas de contraste WCAG. inspect recorre la línea de tiempo e informa texto que se derrama de burbujas/contenedores o fuera del lienzo — y, cuando hay un archivo sidecar *.motion.json presente, verifica la intención de movimiento (disparos de entradas bajo búsqueda, orden de escalonamiento, dentro del cuadro, viveza) contra esa misma línea de tiempo recorrida.

Para trabajos con mucho movimiento, prefiera la iteración impulsada por instantáneas y un sidecar *.motion.json: consulte references/lint-validate-inspect.md para conocer la disciplina y la especificación de verificación de movimiento.

Convenciones del agente

Reglas transversales que se aplican a cada comando:

  • --json está disponible en todos los comandos excepto render, preview y play. Úselo para cualquier invocación de agente / CI de los comandos compatibles; la salida incluye un sobre _meta (versión de CLI, última disponible, consejo de actualización). render informa el estado solo a través de stdout + código de salida — verifique el éxito con la verificación posterior al renderizado a continuación; preview / play son servidores, sin JSON.
  • doctor --json siempre termina con 0, incluso cuando el entorno está roto. Fíltrelo con el campo ok de la carga útil: npx hyperframes doctor --json | jq -e '.ok' > /dev/null. Esto aísla los pipelines de los cambios en el lanzamiento de CLI.
  • El modo no TTY se detecta automáticamente. Cuando stdout no es una TTY (CI, agentes, salida canalizada) la CLI cambia automáticamente a modo no interactivo; init entonces requiere --example. Pase --non-interactive para forzar este modo incluso en una TTY.
  • CI gateando en render: --strict falla en errores de lint, --strict-all también falla en advertencias, --strict-variables falla en claves --variables no declaradas.
  • Las rutas en --json están redactadas — $HOME se convierte en el literal $HOME para que la salida sea segura de pegar en informes de errores y contextos de agentes.
  • Render está protegido por el usuario. Nunca renderice automáticamente una vez que las verificaciones pasen. Pause en preview, dígale al usuario que el video es editable en Studio, y renderice solo después de que apruebe.
  • Verificación posterior al renderizado. Después de que render devuelva el código de salida 0, confirme que el archivo de salida existe y tiene un tamaño plausible antes de informar éxito: [ -s "$OUTPUT" ] || echo "render no produjo salida". La CLI imprime ◇ <ruta> en caso de éxito; para renders largos, también verifique la duración con ffprobe -i "$OUTPUT" -show_format -v error.

Enrutamiento

Quiere…Lea
Andamiar un proyecto (init, capture, skills)references/init-and-scaffold.md
Verificar corrección (lint, validate, inspect, snapshot)references/lint-validate-inspect.md
Previsualizar o renderizar (preview, play, render, publish)references/preview-render.md
Diagnosticar el entorno (doctor, browser)references/doctor-browser.md
Renderizar en la nube en AWS Lambda (lambda deploy / sites / render / progress / destroy / policies)references/lambda.md
Todo lo demás (info, upgrade, compositions, docs, benchmark, telemetry, preprocesamiento de activos)references/upgrade-info-misc.md

Transferencias entre habilidades

  • Proyectos Tailwind (init --tailwind) → use hyperframes-core (referencia de Tailwind) antes de editar clases o tokens de tema.
  • Bloques/componentes del registro (hyperframes add, hyperframes catalog) → use hyperframes-registry para rutas de instalación, cableado de subcomposiciones y fusión de fragmentos.
  • Preprocesamiento de activos (tts, transcribe, remove-background) → use hyperframes-media para selección de voz, reglas del modelo Whisper, subtítulos y cadena TTS a subtítulos.
  • Renders parametrizados (--variables) → declarados mediante data-composition-variables en <html>; consulte hyperframes-core para el esquema completo.

Lambda (Renderizado en la nube)

hyperframes lambda despliega renderizado distribuido en AWS Lambda y ejecuta renders desde su laptop o CI. De extremo a extremo son tres comandos:

npx hyperframes lambda deploy                                             # aprovisionar pila SAM (Lambda + Step Functions + S3)
npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait
npx hyperframes lambda destroy                                            # desmontar (el bucket S3 se conserva)

Use Lambda cuando un render sea demasiado largo / demasiado grande para un solo host (videos de varios minutos, 4K, lotes paralelos grandes) y tenga credenciales de AWS configuradas. Para la iteración del bucle de desarrollo, quédese con el render local.

Consulte references/lambda.md para requisitos previos, los 6 subcomandos (deploy, sites create, render, progress, destroy, policies), validación de políticas IAM, archivos de estado y reglas de costo/limpieza.

Puerta de finalización mínima

Puertas estáticas

npx hyperframes lint
npx hyperframes validate

Agregue inspect para trabajos sensibles al diseño y render --strict en CI para fallar en errores de lint.

Prueba de humo visual — requerida cuando el proyecto usa subcomposiciones

lint / validate / inspect evalúan cada composición de forma aislada. Nunca cargan index.html y montan subcomposiciones mediante data-composition-src, por lo que no pueden detectar fallos de montaje entre archivos (consulte hyperframes-core → references/sub-compositions.md, "Errores comunes"). La única puerta que los detecta es una que realmente carga index.html y recorre la línea de tiempo.

Use hyperframes snapshot — carga el proyecto de la misma manera que lo hace render (por lo que ejercita la misma ruta de montaje) pero solo captura las marcas de tiempo que solicita, por lo que son segundos en lugar de un render completo:

# Capture un fotograma en el punto medio de cada subcomposición.
# Puntos medios = data-start + data-duration/2 para cada espacio anfitrión en index.html.
npx hyperframes snapshot --at <t1>,<t2>,<t3>,...

# O, si no necesita orientación por escena, una muestra espaciada uniformemente:
npx hyperframes snapshot --frames 9

La salida cae en snapshots/frame-NN-at-Xs.png. Examine cada fotograma visualmente contra el plan de escena.

Señales de alerta por fotograma (cada una se asigna a un modo de fallo específico que las puertas estáticas no detectan):

Lo que veCausa raíz
El texto aparece pequeño + sin estilo en la esquina superior izquierdaEl bloque <style> quedó en <head> fuera de <template> (Error 1) — ningún CSS llegó al DOM vivo
Los elementos SVG/icono se amplían al tamaño del lienzoIgual que arriba — no se aplicaron restricciones de ancho/alto
El elemento principal de la escena falta por completo; solo fondo + marca de agua visibleEl id del anfitrión ≠ id de la plantilla (Error 2) — la línea de tiempo nunca se ejecutó, fotograma capturado en estado inicial
El comando de instantánea registra Sub-composition timelines not registered after 45000msError 2 — confirmación directa

snapshots/ se puede eliminar después de la inspección visual; el render final orientado al usuario es una pasada separada con npx hyperframes render.

Individual skills in this repo

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

9018/mychat

Generate AI videos from text prompts using multiple provider gateways. Use when: (1) Generating videos from text descriptions, (2) Creating AI-generated video clips for content production, (3) Image-to-video generation with a reference image, (4) Choosing between video generation providers (VEO, Kling, Sora, Runway, Seedance, MiniMax, Gemini Omni). Supports gateways: HeyGen API, fal.ai API, Kling official direct API, and the Gemini API (Gemini Omni Flash).

9018/mychat

Create AI avatar videos with precise control over avatars, voices, scripts, scenes, and backgrounds using HeyGen's v2 API. Use when: (1) Choosing a specific avatar and voice for a video, (2) Writing exact scripts for an avatar to speak, (3) Building multi-scene videos with different backgrounds per scene, (4) Creating transparent WebM videos for compositing, (5) Using talking photos as video presenters, (6) Integrating HeyGen avatars with Remotion, (7) Batch video generation with exact specs, (8) Brand-consistent production videos with precise control.

9018/mychat

Use p5.js/canvas for local procedural character effects: particles, weather, squash/stretch, walk cycles, and environmental motion.

9018/mychat

Review local character animation with schema checks, Playwright browser previews, frame sampling, and FFmpeg/ffprobe final output checks.

9018/mychat

Create videos from a text prompt using HeyGen's Video Agent. Use when: (1) Creating a video from a description or idea, (2) Generating explainer, demo, or marketing videos from a prompt, (3) Making a video without specifying exact avatars, voices, or scenes, (4) Quick video prototyping or drafts, (5) One-shot prompt-to-video generation, (6) User says "make me a video" or "create a video about X".

9018/mychat

Generate Mandarin and multilingual narration with Volcengine Doubao Speech 2.0. Use when creating Chinese voiceovers, when the user prefers Doubao/Volcengine/火山引擎/豆包 TTS, or when narration needs character-level timestamp metadata for subtitles.

9018/mychat

Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.

9018/mychat

Use when implementing Disney's 12 animation principles with Framer Motion in React applications

9018/mychat

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.

9018/mychat

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. Read before writing composition HTML.

9018/mychat

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

9018/mychat

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

9018/mychat

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

9018/mychat

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s and up to ~30s, with no narration arc, voice-over, or live-action subject. Can render to MP4 or transparent overlay. Not for longer, multi-scene, narrated, or brand-reel pieces (use general-video), narrated website videos (website-to-video), topic explainers (faceless-explainer), product promos (product-launch-video), PR videos (pr-to-video), or captions on existing footage (embedded-captions). When unsure whether it's a quick motion-first piece or a longer / narrated treatment, see /hyperframes.

9018/mychat

Use when the user has a music track (an audio file, or a video to pull audio from) and wants a beat-synced HyperFrames video, calm to hard-hitting. The music drives everything: one analyzer reads it once, the orchestrator lays out the frames and fills a per-frame plan, and one sub-agent builds each frame. Typography and templates are the floor — a complete video needs zero assets — but any images or videos the user supplies are cut into the frames on the same beat grid (beat-cut / ken-burns). The genre (lyric video, slideshow, kinetic promo) falls out of the per-frame choices; the pipeline never branches on it.

9018/mychat

Toolkit-specific Remotion patterns — custom transitions, shared components, and project conventions. For core Remotion framework knowledge (hooks, animations, rendering, etc.), see the `remotion-official` skill.

9018/mychat

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.

9018/mychat

Animate SVG character rigs with GSAP, CSS transforms, Remotion frame control, and HyperFrames-compatible browser previews.

9018/mychat

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

9018/mychat

Download video and audio from YouTube and 1000+ sites using yt-dlp. No API keys needed. Use when: (1) Downloading a video from YouTube or other sites, (2) Extracting audio from a video URL, (3) Downloading subtitles/captions from a video, (4) Getting video metadata without downloading.

Skills relacionados