jpskill.com
🛠️ 開発・MCP コミュニティ

hyperframes-cli

HyperFrames CLI tool — hyperframes init, lint, inspect, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark. Use when scaffolding a project, linting, validating, inspecting visual layout in compositions, previewing in the studio, rendering to video, transcribing audio, generating TTS, or troubleshooting the HyperFrames environment.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o hyperframes-cli.zip https://jpskill.com/download/19201.zip && unzip -o hyperframes-cli.zip && rm hyperframes-cli.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19201.zip -OutFile "$d\hyperframes-cli.zip"; Expand-Archive "$d\hyperframes-cli.zip" -DestinationPath $d -Force; ri "$d\hyperframes-cli.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して hyperframes-cli.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → hyperframes-cli フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] hyperframes-cli

HyperFrames CLI

すべての操作は npx hyperframes を通して実行されます。Node.js >= 22 と FFmpeg が必要です。

ワークフロー

  1. 足場固め (Scaffold)npx hyperframes init my-video
  2. 作成 (Write) — HTML コンポジションを作成します(hyperframes スキルを参照してください)
  3. リンティング (Lint)npx hyperframes lint
  4. 視覚検査 (Visual inspect)npx hyperframes inspect
  5. プレビュー (Preview)npx hyperframes preview
  6. レンダリング (Render)npx hyperframes render

プレビューの前に lintinspect を実行してください。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.htmlcompositions/ 内のすべてのファイルをリンティングします。エラー(修正必須)、警告(修正推奨)、情報(--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 # 明示的なヒーローフレームのタイムスタンプ

lintvalidate の後にこれを使用してください。特に、吹き出し、カード、キャプション、またはタイトなタイポグラフィを含むコンポジションに有効です。以下を報告します。

  • 最も近い視覚コンテナまたはバブルの外に拡張しているテキスト
  • 自身の固定幅/固定高さのボックスによってクリップされているテキスト
  • コンポジションキャンバスの外に拡張しているテキスト
  • クリッピングコンテナから逸脱している子要素

エラーはレンダリング前に修正する必要があります。警告はエージェントのレビューのために表示されます。警告でも失敗させるには --strict を追加してください。繰り返される静的な問題はデフォルトで折りたたまれるため、LLM のコンテキストウィンドウのために JSON 出力はコンパクトに保たれます。入り口/出口アニメーションのためにオーバーフローが意図的な場合は、要素または祖先に data-layout-allow-overflow をマークしてください。装飾的な要素を監査する必要がない場合は、data-layout-ignore をマークしてください。

npx hyperframes layout は、同じ視覚検査パスの互換性エイリアスとして引き続き利用できます。

プレビュー

npx hyperframes preview                   # 現在のディレクトリをサーブ
npx hyperframes preview --port 4567       # カスタムポート (デフォルト 3002)

ファイル変更時にホットリロードされます。ブラウザでスタジオが自動的に開きます。

プロジェクトをユーザーに返す際は、ソースの index.html パスではなく、Studio のプロジェクト URL を使用してください。

http://localhost:<port>/#project/<project-name>

プレビュー出力からの実際のポートとプロジェクトディレクトリ名を使用してください。例えば、codex-openai-videonpx 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 path renders/name_timestamp.mp4 出力パス
--fps 24, 30, 60 30 60fps はレンダリング時間を2倍にします
--quality draft, standard, high standard draft はイテレーション用
--format mp4, webm mp4 WebM は透明度をサポートします
--workers 1-8 または auto auto 各ワーカーが Chrome を起動します
--docker flag off 再現可能な出力
--gpu flag off GPU アクセラレーションによるエンコード
--strict flag off lint エラーで失敗します
--strict-all flag 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 "Text here" --voice af_nova --output narration.wav
npx hyperframes tts script.txt --voice bf_emma
npx hyperframes tts --list  # すべての音声を表示

トラブルシューティング

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

HyperFrames CLI

Everything runs through npx hyperframes. Requires Node.js >= 22 and FFmpeg.

Workflow

  1. Scaffoldnpx hyperframes init my-video
  2. Write — author HTML composition (see the hyperframes skill)
  3. Lintnpx hyperframes lint
  4. Visual inspectnpx hyperframes inspect
  5. Previewnpx hyperframes preview
  6. Rendernpx hyperframes render

Lint and inspect before preview. lint catches missing data-composition-id, overlapping tracks, and unregistered timelines. inspect opens the rendered composition in headless Chrome, seeks through the timeline, and reports text spilling out of bubbles/containers or off the canvas.

Scaffolding

npx hyperframes init my-video                        # interactive wizard
npx hyperframes init my-video --example warm-grain   # pick an example
npx hyperframes init my-video --video clip.mp4        # with video file
npx hyperframes init my-video --audio track.mp3       # with audio file
npx hyperframes init my-video --non-interactive       # skip prompts (CI/agents)

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

init creates the right file structure, copies media, transcribes audio with Whisper, and installs AI coding skills. Use it instead of creating files by hand.

Linting

npx hyperframes lint                  # current directory
npx hyperframes lint ./my-project     # specific project
npx hyperframes lint --verbose        # info-level findings
npx hyperframes lint --json           # machine-readable

Lints index.html and all files in compositions/. Reports errors (must fix), warnings (should fix), and info (with --verbose).

Visual Inspect

npx hyperframes inspect                 # inspect rendered layout over the timeline
npx hyperframes inspect ./my-project    # specific project
npx hyperframes inspect --json          # agent-readable findings
npx hyperframes inspect --samples 15    # denser timeline sweep
npx hyperframes inspect --at 1.5,4,7.25 # explicit hero-frame timestamps

Use this after lint and validate, especially for compositions with speech bubbles, cards, captions, or tight typography. It reports:

  • Text extending outside the nearest visual container or bubble
  • Text clipped by its own fixed-width/fixed-height box
  • Text extending outside the composition canvas
  • Children escaping clipping containers

Errors should be fixed before rendering. Warnings are surfaced for agent review; add --strict to fail on warnings too. Repeated static issues are collapsed by default so JSON output stays compact for LLM context windows. If overflow is intentional for an entrance/exit animation, mark the element or ancestor with data-layout-allow-overflow. If a decorative element should never be audited, mark it with data-layout-ignore.

npx hyperframes layout remains available as a compatibility alias for the same visual inspection pass.

Previewing

npx hyperframes preview                   # serve current directory
npx hyperframes preview --port 4567       # custom port (default 3002)

Hot-reloads on file changes. Opens the studio in your browser automatically.

When handing a project back to the user, use the Studio project URL, not the source index.html path:

http://localhost:<port>/#project/<project-name>

Use the actual port from the preview output and the project directory name. For example, after npx hyperframes preview --port 3017 in codex-openai-video, report http://localhost:3017/#project/codex-openai-video.

Treat index.html as source-code context only. It is fine to link it as an implementation file, but do not label it as the project or preview surface.

Rendering

npx hyperframes render                                # standard MP4
npx hyperframes render --output final.mp4             # named output
npx hyperframes render --quality draft                # fast iteration
npx hyperframes render --fps 60 --quality high        # final delivery
npx hyperframes render --format webm                  # transparent WebM
npx hyperframes render --docker                       # byte-identical
Flag Options Default Notes
--output path renders/name_timestamp.mp4 Output path
--fps 24, 30, 60 30 60fps doubles render time
--quality draft, standard, high standard draft for iterating
--format mp4, webm mp4 WebM supports transparency
--workers 1-8 or auto auto Each spawns Chrome
--docker flag off Reproducible output
--gpu flag off GPU-accelerated encoding
--strict flag off Fail on lint errors
--strict-all flag off Fail on errors AND warnings

Quality guidance: draft while iterating, standard for review, high for final delivery.

Transcription

npx hyperframes transcribe audio.mp3
npx hyperframes transcribe video.mp4 --model medium.en --language en
npx hyperframes transcribe subtitles.srt   # import existing
npx hyperframes transcribe subtitles.vtt
npx hyperframes transcribe openai-response.json

Text-to-Speech

npx hyperframes tts "Text here" --voice af_nova --output narration.wav
npx hyperframes tts script.txt --voice bf_emma
npx hyperframes tts --list  # show all voices

Troubleshooting

npx hyperframes doctor       # check environment (Chrome, FFmpeg, Node, memory)
npx hyperframes browser      # manage bundled Chrome
npx hyperframes info         # version and environment details
npx hyperframes upgrade      # check for updates

Run doctor first if rendering fails. Common issues: missing FFmpeg, missing Chrome, low memory.

Other

npx hyperframes compositions   # list compositions in project
npx hyperframes docs           # open documentation
npx hyperframes benchmark .    # benchmark render performance