Перейти к содержанию
Skillpedia
Монтаж видео75k · #2662

hyperframes-cli

Что он делает

Этот скилл охватывает инструмент командной строки HyperFrames для создания видео. Он предназначен для тех, кто делает видео в HyperFrames и хочет правильно выполнять каждый шаг.

Когда использовать

  • ✓Когда вы начинаете новый проект HyperFrames или захватываете для него сайт.
  • ✓Когда нужно проверить видео на ошибки перед предпросмотром или рендерингом.
  • ✓Когда вы ищете причину ошибки сборки или рендеринга.

Ссылка на скилл

https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/hyperframes-cli/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/hyperframes-cli/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Создай новый проект HyperFrames, проверь его на ошибки и сделай черновой рендер для предпросмотра.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент выполняет шаги по порядку: создает проект, пишет сцены, проверяет их командами lint и validate, открывает предпросмотр в редакторе и затем рендерит итоговый файл.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

HyperFrames CLI

Everything runs through npx hyperframes unless project instructions specify a local wrapper. Obey the local wrapper exactly. Requires Node.js >= 22 and FFmpeg.

Workflow

  1. Scaffold — npx hyperframes init my-video (or capture from a URL). init also checks the installed skills against the latest on GitHub and updates the global set if any are out of date. The --skip-skills flag is currently neutered (temporary, while the skills.sh registry catches up), so every init runs this check and pulls our latest skills regardless.
  2. Write — author HTML composition (see the hyperframes-core skill)
  3. Lint — npx hyperframes lint
  4. Validate — npx hyperframes validate (runtime errors + contrast)
  5. Visual inspect — npx hyperframes inspect
  6. Preview — npx hyperframes preview opens Studio, the timeline editor where the user can manually edit anything (not just watch). Review there, then ask before rendering.
  7. Render — pick the variant:
    • Iterate: npx hyperframes render --quality draft
    • Deliver: npx hyperframes render --quality high --output out.mp4
    • CI / cross-host repro: npx hyperframes render --docker --strict --output out.mp4
    • Cloud (long / large): npx hyperframes lambda render ./my-project --width 1920 --height 1080 --wait (see Lambda below)

Run lint, validate, and inspect before preview. lint catches missing data-composition-id, overlapping tracks, and unregistered timelines. validate loads the composition in headless Chrome and reports runtime console errors plus WCAG contrast issues. inspect seeks through the timeline and reports text spilling out of bubbles/containers or off the canvas — and, when a *.motion.json sidecar is present, verifies motion intent (entrances firing under seek, stagger order, in-frame, liveness) against that same seeked timeline.

For motion-heavy work, prefer snapshot-driven iteration and a *.motion.json sidecar — see references/lint-validate-inspect.md for the discipline and motion-verification spec.

Agent Conventions

Cross-cutting rules that hold for every command:

  • --json is available on every command except render, preview, and play. Use it for any agent / CI invocation of the supported commands; output includes a _meta envelope (cli version, latest available, update advice). render reports status via stdout + exit code only — verify success with the post-render check below; preview / play are servers, no JSON.
  • doctor --json always exits 0, even when the environment is broken. Gate on the payload's ok field: npx hyperframes doctor --json | jq -e '.ok' > /dev/null. This insulates pipelines from CLI release churn.
  • Non-TTY mode is auto-detected. When stdout is not a TTY (CI, agents, piped output) the CLI auto-switches to non-interactive; init then requires --example. Pass --non-interactive to force this mode even on a TTY.
  • CI gating on render: --strict fails on lint errors, --strict-all fails on warnings too, --strict-variables fails on undeclared --variables keys.
  • Paths in --json are redacted — $HOME becomes the literal $HOME so output is safe to paste into bug reports and agent contexts.
  • Render is user-gated. Never auto-render once the checks pass. Pause at preview, tell the user the video is editable in Studio, and render only after they approve.
  • Post-render verification. After render returns exit 0, confirm the output file exists and has plausible size before reporting success: [ -s "$OUTPUT" ] || echo "render produced no output". The CLI prints ◇ <path> on success; for long renders also sanity-check duration with ffprobe -i "$OUTPUT" -show_format -v error.

Routing

Want to… Read
Scaffold a project (init, capture, skills) references/init-and-scaffold.md
Check correctness (lint, validate, inspect, snapshot) references/lint-validate-inspect.md
Preview or render (preview, play, render, publish) `re
Частые вопросы

Что нужно установить?

Нужны Node.js версии 22 или новее и FFmpeg.

Нужно ли рендерить до предпросмотра?

Нет. Скилл советует сначала показать предпросмотр и спросить, прежде чем рендерить, чтобы вы могли проверить работу.

За что отвечает настройка качества рендера?

Черновая настройка подходит для быстрой проверки, а высокая — для итогового файла.

Подробности

Оригинальное описание автора

HyperFrames CLI dev loop. Use when running 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, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

repo: calesthio/OpenMontage

Популярность

Звёзды на GitHub
75k
Место в рейтинге
#2662
Лицензия
AGPL-3.0
Обновлён
28.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы