Typewriter Videoのロゴ

Typewriter Video

コミュニティ
ericmjl
typewriter-video

Create VS Code-style typewriter animation videos with mechanical keyboard sounds. Supports 4 typing speeds, ghost text autocomplete, strikethrough corrections, emoji picker, file tab switching, syntax highlighting (6 languages), Chinese IME (pinyin + direct mode), inline images, image stacks, animated checkboxes, Excalidraw hand-drawn diagrams, 8 visual themes, 4 sound packs, and A-roll narration sync. Built on Remotion (React-based video rendering). Use when the user wants to create code typing videos, explainer B-roll, or typewriter-style animations.

概要

公開者ericmjl
リポジトリskills
スキル名typewriter-video
スター
41
フォーク
5
同梱ファイル
86
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 86個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ericmjlがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Typewriter Video」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/ericmjl/skills/tree/main/skills/typewriter-video
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ericmjl/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/typewriter-video .claude/skills/typewriter-video
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでTypewriter Videoを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にTypewriter Videoを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Typewriter Videoは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Typewriter Video

Create professional typewriter animation videos — a VS Code-style editor where text appears character-by-character with mechanical keyboard sounds, images, and visual effects.

Required: Install the Official Remotion Skill

This skill covers typewriter-specific knowledge (segment authoring, features, storytelling). For general Remotion flexibility (compositions, animations, audio, rendering, deployment), install the official Remotion skill maintained by the Remotion team:

→ github.com/remotion-dev/remotion/tree/main/packages/skills

You can use this skill without it, but having it gives you deeper framework knowledge for advanced customization.

Step 1: Gather Requirements

Before starting, ask the user:

  • Content: What text should be typed? Does the user have a script, or should you draft one?
  • A-roll sync?: Standalone typewriter video, or B-roll synced to narration audio? If synced, you need word-level captions (see A-roll sync below).
  • Aspect ratio: 16:9 (YouTube landscape, default), 9:16 (Shorts/Reels/TikTok), or 1:1 (Instagram)?
  • Theme: Visual identity — ivory (default), dark-editor, chalk-blackboard, paper-notebook, retro-terminal, spotlight, lcd-terminal, pixel-art?
  • Sound pack: nk-cream (default, smooth linear), holy-pandas (tactile bump), cream-travel (creamy full travel), turquoise (tealio-style linear)?
  • Background image: Does the user have one, or should you generate one?

Step 2: Set Up the Project

Copy the template and install:

bash
cp -r <skill-path>/assets/template/ ./my-typewriter-video
cd ./my-typewriter-video
npm install

Verify Bundled Assets

The template ships with all required assets. After setup, confirm these exist:

bash
# Sound packs (4 packs)
ls public/sounds/key_a.wav          # nk-cream (default, 29 files)
ls public/sounds/holy-pandas/       # 8 files: GENERIC_R0-R4.mp3 + ENTER/SPACE/BACKSPACE.mp3
ls public/sounds/cream-travel/      # same structure
ls public/sounds/turquoise/         # same structure

# Fonts (for themes + Excalidraw)
ls public/fonts/Virgil.woff2              # Excalidraw handwriting font
ls public/fonts/GeistPixel-Square.woff2   # LCD Terminal + Pixel Art themes
ls public/fonts/GeistPixel-Circle.woff2   # Pixel Art theme variant

⚠️ If any asset is missing, see Troubleshooting: Missing Assets at the bottom.

Step 3: Learn the Engine

Read these in order:

  1. src/Typewriter.tsx — the living tutorial. Read this first to see every feature demonstrated with inline comments.
  2. API Reference — all TextSegment fields, timeline events, constants
  3. Content Guide — storytelling techniques (strike text philosophy, ghost text, IME placement, rhythm)
  4. Audio Guide — sound system, the critical startFrame offset gotcha, sound pack switching, volume guidelines

Step 4: Write Content in src/Typewriter.tsx

Replace TEXT_SEGMENTS with the user's content. Key references:

Typing Modes

ModeSpeedWhen to use
burst2f/charDefault (~70%). Confident, fast typing
normal3f/charTransitions, connective text
deliberate5f/char + pauseSingle key words only. Emphasis
thinking14f pause + fastComposing next thought

Feature Quick Reference

Ghost text — gray autocomplete, Tab to accept:

tsx
{ text: "paragraph. ", mode: "burst", ghostText: "So we use ghost text." }

Strike-correct — type wrong, then fix:

tsx
{ text: "a framework", mode: "burst", strikeText: "something", strikeDelete: "select" }

Emoji picker — catalog search panel:

tsx
{ text: "😤", mode: "normal", emojiPicker: true }

File switching — multi-file editor:

tsx
{ text: "import React\n", mode: "burst", file: "app/page.tsx" }

Syntax highlighting — VS Code Dark+ palette (tsx, ts, javascript, bash, markdown, css):

tsx
{ text: "export default function Page() {\n", mode: "burst", language: "tsx" }

Cursor jump + mutation — edit existing code:

tsx
{ text: "'use cache'\n", mode: "thinking", insertAt: { line: 0, col: 0 } }

Chinese IME — two modes (direct 吐字 or pinyin 拼音):

tsx
{ text: "这是拼音模式", mode: "normal", imeInput: true }

Inline images — single or multi-row with animations:

tsx
// Single with fade
{ text: "Preview:\n", mode: "normal", image: { src: "screenshot.png", heightLines: 5, animation: "fade" } }
// Multi-row with labels
{ text: "Tech:\n", mode: "normal", image: {
    items: [{ src: "a.png", label: "React" }, { src: "b.png", label: "Next.js" }],
    width: 85, height: 100, gap: 10, animation: "slide-up", heightLines: 4,
}}

Animated checkboxes — type [ ] then auto-check with spring-pop:

tsx
{ text: "- [ ] Step one\n", mode: "burst", checkbox: { checkAfterFrames: 20 } }

Image stack — paper-pile effect:

tsx
{ text: "Headlines:\n", mode: "normal", imageStack: { images: ["a.png", "b.png"], heightLines: 8, intervalFrames: 8 } }

Theme & Sound Pack

Set in your composition (e.g. Typewriter.tsx):

tsx
import { chalkBlackboardTheme } from "./themes";

<TypewriterText
  segments={TEXT_SEGMENTS}
  theme={chalkBlackboardTheme}
  soundPack="holy-pandas"
/>

Available themes: ivoryTheme (default), darkEditorTheme, chalkBlackboardTheme, paperNotebookTheme, retroTerminalTheme, spotlightTheme, lcdTerminalTheme, pixelArtTheme

Available sound packs: "nk-cream" (default), "holy-pandas", "cream-travel", "turquoise"

Step 5: Set Background Image

Either:

  • User provides: Copy to public/background.png
  • Generate one: Use an image generation tool, then cp /path/to/image.png public/background.png

A subtle, blurred dark workspace or gradient works best — the template applies blur(4px) and saturate(0.9).

Step 6: Configure Aspect Ratio

Edit width and height in src/Root.tsx:

FormatwidthheightNotes
16:9 (default)19201080Standard YouTube
5K B-roll51202880A-roll sync only. Use Canvas5K wrapper
9:1610801920Shorts/Reels/TikTok
1:110801080Instagram

⚠️ If changing to 9:16 or 1:1, also adjust EditorWindow.tsx width and CHARS_PER_LINE in TypewriterText.tsx.

Don't manually calculate DURATION_SECONDS — set a rough value (20s for short, 50s for long), preview, then adjust.

Step 6b: A-Roll Sync Mode (if B-roll)

Skip this step if the typewriter is a standalone video.

Use delayFrames for absolute timing synced to narration:

tsx
{ text: "Key insight: ", mode: "burst", delayFrames: 90 } // wait until frame 90

Read the full choreography guide: A-Roll Sync Guide. It covers:

  • Extracting timestamps from captions
  • The OFFSET pattern for multi-chapter compositions
  • 5 sync principles (Speech-Match, J-Cut, Density, PPT Standalone, Rapid Reveal)
  • Timing Budget Rule — frame cost per mode, mandatory post-choreography validation
  • Frame calculation for multi-chapter Series (boundary subtraction to avoid drift)

Step 7: Preview

bash
npm run studio

Check: timing, background, content fits, note where typing ends → update DURATION_SECONDS.

Step 8: Render

bash
npm run render

Output: out/typewriter.mp4. For multi-chapter A-roll projects, render specific compositions:

bash
npx remotion render <comp-id> out/<name>.mp4

Project Structure

src/
├── TypewriterText.tsx    # Core engine (timeline, audio, rendering, soundPack)
├── Typewriter.tsx        # Your composition (edit this!)
├── EditorWindow.tsx      # macOS window chrome (theme-aware, chrome-less mode)
├── themes.ts             # 8 visual identities (ivory, dark-editor, chalk, paper, retro, spotlight, lcd, pixel)
├── layout.ts             # Layout presets (LANDSCAPE 1920×1080, PORTRAIT 1080×1920)
├── syntaxHighlight.ts    # Syntax tokenizer (tsx, ts, javascript, bash, markdown, css)
├── ExcalidrawCanvas.tsx  # 🧪 Beta — Hand-drawn diagram layer (rough.js + Virgil font)
├── TypewriterOverlay.tsx # 🧪 Beta — Excalidraw overlay mode (editor annotations 800×500)
├── drawing-types.ts      # 🧪 Beta — Drawing element types (rect, ellipse, arrow, line, text, etc.)
├── ExcalidrawDemo.tsx    # 🧪 Beta — System architecture diagram demo
├── ThemeShowcase.tsx     # Cycles all 8 themes (5s each, fade transitions)
├── Canvas5K.tsx          # 5K render wrapper (B-roll production)
├── EmojiPicker.tsx       # Emoji panel UI
├── ChineseDemo.tsx       # Chinese IME demo composition
├── Root.tsx              # Composition registry (1920×1080, 29.97fps)
├── emoji-catalog.json    # 50 curated emojis
└── pinyin-catalog.json   # ~180 pinyin→character mappings

public/
├── sounds/               # nk-cream WAVs (default) + holy-pandas/, cream-travel/, turquoise/ subdirs
├── fonts/                # Virgil.woff2 + GeistPixel-Square.woff2 + GeistPixel-Circle.woff2
└── background.png        # Your background image

Troubleshooting: Missing Assets

If npm run studio shows errors about missing files, the template may need asset recovery.

Missing Sound Packs

If public/sounds/holy-pandas/, cream-travel/, or turquoise/ directories are empty or missing:

bash
# Clone the MechSim repo (source of all keyboard sounds)
git clone --depth 1 https://github.com/cjlangan/MechSim.git /tmp/MechSim

# Copy row-based packs (holy-pandas has flat structure, others use press/ subdir)
rsync -av --include='*.mp3' --exclude='*' /tmp/MechSim/audio/holy-pandas/ public/sounds/holy-pandas/
rsync -av --include='*.mp3' --exclude='*' /tmp/MechSim/audio/cream-travel/press/ public/sounds/cream-travel/
rsync -av --include='*.mp3' --exclude='*' /tmp/MechSim/audio/turquoise/press/ public/sounds/turquoise/

# Verify (each should have 8 files: GENERIC_R0-R4.mp3 + ENTER.mp3 + SPACE.mp3 + BACKSPACE.mp3)
ls public/sounds/holy-pandas/ public/sounds/cream-travel/ public/sounds/turquoise/

# Clean up
rm -rf /tmp/MechSim

Missing Fonts

If themes fail to render text (LCD Terminal, Pixel Art) or Excalidraw shows wrong fonts:

Geist Pixel fonts (required by lcdTerminalTheme and pixelArtTheme):

bash
# Download from Vercel's Geist font releases
curl -L -o /tmp/geist-pixel.zip "https://github.com/vercel/geist-font/releases/download/1.4.01/geist-font-1.4.01.zip"
unzip /tmp/geist-pixel.zip -d /tmp/geist-font
# Copy the pixel variants
cp /tmp/geist-font/GeistPixel/woff2/GeistPixel-Square.woff2 public/fonts/
cp /tmp/geist-font/GeistPixel/woff2/GeistPixel-Circle.woff2 public/fonts/
rm -rf /tmp/geist-font /tmp/geist-pixel.zip

Virgil font (required by ExcalidrawCanvas):

bash
# Download from Excalidraw's CDN
curl -L -o public/fonts/Virgil.woff2 "https://unpkg.com/@excalidraw/excalidraw@0.17.0/dist/prod/Virgil.woff2"

Missing nk-cream Sounds

If the default per-letter WAVs are missing (key_a.wav through key_z.wav):

bash
git clone --depth 1 https://github.com/cjlangan/MechSim.git /tmp/MechSim
# nk-cream uses letter-named files (a.wav → key_a.wav)
for f in /tmp/MechSim/audio/nk-cream/[a-z].wav; do
  letter=$(basename "$f" .wav)
  cp "$f" "public/sounds/key_${letter}.wav"
done
cp /tmp/MechSim/audio/nk-cream/space.wav /tmp/MechSim/audio/nk-cream/enter.wav /tmp/MechSim/audio/nk-cream/backspace.wav public/sounds/
rm -rf /tmp/MechSim

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

ほかに26個のファイルがあります。

よくある質問

AIスキル「Typewriter Video」では何ができますか?

Create VS Code-style typewriter animation videos with mechanical keyboard sounds. Supports 4 typing speeds, ghost text autocomplete, strikethrough corrections, emoji picker, file tab switching, syntax highlighting (6 languages), Chinese IME (pinyin + direct mode), inline images, image stacks, animated checkboxes, Excalidraw hand-drawn diagrams, 8 visual themes, 4 sound packs, and A-roll narration sync. Built on Remotion (React-based video rendering). Use when the user wants to create code typing videos, explainer B-roll, or typewriter-style animations.

TypingMindでTypewriter Videoを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Typewriter Videoはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにTypewriter Videoをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/ericmjl/skills/tree/main/skills/typewriter-videoを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Typewriter Videoを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Typewriter Videoで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもTypewriter Videoを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Typewriter Video」は無料ですか?

はい。ericmjlがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇