Communitygithub.com

vibe-motion/skills

Claudeスタイルのプロンプトタイピングアニメーションビデオを、リモートサイトhttps://www.laosunwendao.comに対してRemotion CLIを呼び出してレンダリングします。ユーザーが「做一个 claude 的提示词打字机动画」、「做 Claude 打字动画」、「创建提示词动画」など、テキストプロンプトをタイピングアニメーションビデオに変換するよう依頼した場合に使用します。

skills とは?

このスキルは、Claudeスタイルのプロンプトタイピングアニメーションビデオを生成するためのものです。ユーザーが「做一个 claude 的提示词打字机动画」や「创建提示词动画」などのリクエストを行った際に、提供されたテキストをタイピングアニメーションとしてレンダリングします。 このスキルはRemotion CLIを利用して、リモートサイト(https://www.laosunwendao.com)上で定義されたTyper30fpsというコンポジションをレンダリングします。内部ではPythonスクリプト(render_claude_typer.py)が実行され、bunx Remotion CLIを優先的に使用し、利用できない場合はnpxにフォールバックします。透明なMOVファイル(ProRes 4444、アルファチャンネル付き)がデフォルト出力形式です。 主な特徴として、プロンプトテキストの自動抽出とファイル名への変換、ビデオサイズやClaudeウィンドウ幅のカスタマイズ、高度な設定のためのRemotionパラメータの直接渡し、カスタムランナープレフィックスによる実行コマンドの完全制御などが挙げられます。出力されるMOVファイルは、カレントディレクトリにプロンプトから生成されたファイル名で保存されます。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/vibe-motion/skills/tree/HEAD/claude-typer

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Claude Typer

ワークフロー

  1. アニメーションでタイプされるテキストを prompt として抽出します。
  2. 以下を実行します:
    • skill_dir=""
      for base in "${AGENTS_HOME:-$HOME/.agents}" "${CLAUDE_HOME:-$HOME/.claude}" "${CODEX_HOME:-$HOME/.codex}"; do
        if [ -d "$base/skills/claude-typer" ]; then
          skill_dir="$base/skills/claude-typer"
          break
        fi
      done
      [ -n "$skill_dir" ] || { echo "claude-typer skill not found under ~/.agents, ~/.claude, or ~/.codex"; exit 1; }
      /usr/local/bin/python3 "$skill_dir/scripts/render_claude_typer.py" "<prompt>"
      
    • サイズとスケールを明示的に指定する例:
      /usr/local/bin/python3 "$skill_dir/scripts/render_claude_typer.py" \
        "claude-typer skill可以让智能体做出提示词打字机动效视频,快来试试吧" \
        --video-width 1080 \
        --video-height 600 \
        --claude-width 600 \
        --scale 2
      
    • カスタムランナーとRemotionパラメータの透過を組み合わせた例:
      /usr/local/bin/python3 "$skill_dir/scripts/render_claude_typer.py" \
        "vibe-motion/skills:一个面向智能体的MG动画/视频技能仓库." \
        --runner-prefix "npx -y -p @remotion/[email protected] -p @remotion/[email protected] remotion" \
        --composition Typer30fps \
        --output-file Typer30fps.mov \
        --codec prores \
        --prores-profile 4444 \
        --pixel-format yuva444p10le \
        --image-format png \
        --audio-codec aac \
        --video-width 1080 \
        --video-height 1080 \
        --claude-width 880
      
  3. カレントワーキングディレクトリに生成されたビデオのパスを返します。

レンダリング動作

  • https://www.laosunwendao.com からリモートコンポジション Typer30fps をレンダリングします。
  • @remotion/cli を使用します(remotion パッケージ名ではありません)。
  • 優先的に bunx @remotion/cli を使用します。
  • bunx が利用できない場合は、npx -y -p @remotion/[email protected] -p @remotion/[email protected] remotion にフォールバックします。
  • デフォルトの透明MOV設定を維持します:
    • --fps=30
    • --codec=prores
    • --prores-profile=4444
    • --pixel-format=yuva444p10le
    • --image-format=png
    • --scale=2
  • 安定性のためにデフォルトを維持します:
    • --timeout=300000
    • --concurrency=1
    • ローカルのChrome/Chromiumを自動検出し、見つかった場合は --browser-executable を渡します。
  • プロジェクトのデフォルトプロパティを維持し、prompt を置き換え、スクリプト引数を通じて videoWidth / videoHeight / claudeWidth の上書きを許可します。
  • 未知のCLI引数は、remotion render に直接渡されます(高度なフラグ用)。
  • --runner-prefix を使用すると、ランナーコマンドを完全に制御できます(バージョンの固定、グローバル解決動作など)。
  • このスキルで公開されるRemotionプロパティは、スカラーフィールドのみです:prompt、typingSpeedMs、model、videoWidth、videoHeight、claudeWidth、tiltStartX、tiltStartY、tiltEndX、tiltEndY、tiltDurationRatio。

出力ファイル名

  • カレントディレクトリに xxx.mov として保存します。
  • プロンプトを短縮して xxx を構築します:
    • 先頭の 帮我、请、做一个、生成一个、制作、创建 などの一般的なリクエストラッパーを削除します。
    • ファイル名に使用できない文字を削除します。
    • 中国語/英語の文字と数字を保持します。
    • 結果が空の場合は、claude-typer を使用します。
  • 例:
    • プロンプト:帮我做一个web画板
    • 出力:web画板.mov

備考

  • クリーンなマシンでは、npm と https://www.laosunwendao.com へのネットワークアクセスが可能であれば、Node.js + npx でこのフォールバックパスは十分です。
  • bunx と npx の両方が利用できない場合は、いずれかをインストールして再試行してください。
  • 出力名が既に存在する場合、Remotionの上書き動作が適用されます。
  • delayRender() タイムアウトが発生した場合は、--concurrency=1 を維持し、必要に応じて --timeout-ms を引き上げてください。

Individual skills in this repo

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

関連スキル