Communitygithub.com

curiositech/windags-skills

Whisper、Deepgram、AssemblyAI を使用した音声文字起こしパイプラインを構築します。話者ダイアライゼーション、リアルタイムストリーミングにも対応。アクティベートキーワード: 文字起こし、音声認識、ダイアライゼーション、音声処理、会議文字起こし。対象外: 音声合成(voice-audio-engineer)、音楽生成(ai-engineer)。

windags-skills とは?

このスキルは、Whisper、Deepgram、AssemblyAI を活用して、本番環境対応の音声文字起こしパイプラインを構築するための包括的なガイドです。バッチ処理とリアルタイムストリーミングの両方に対応し、話者ダイアライゼーション機能も備えています。開発者は、提供される意思決定ツリーに従ってエンジン(ローカルWhisper、Deepgram Nova-3、AssemblyAI Universal-2 など)を選択し、処理モード(バッチ/ストリーム)、音声区間検出(VAD)の有無、言語やドメインに応じたモデルを適切に選択できます。また、無音時の幻覚出力や話者数の増加によるダイアライゼーション崩壊、タイムスタンプのずれなど、実運用で直面する典型的な障害モードとその修正方法も詳細に解説されています。具体的なワーク例として、90分の会議文字起こしを段階的に説明し、初心者と熟練者のアプローチの違いを示しながら、品質ゲートや本スキルの適用外項目も明確に定義しています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/curiositech/windags-skills/tree/HEAD/skills/audio-transcription-pipeline

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

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

ドキュメント

音声文字起こしパイプライン

Whisper、Deepgram、AssemblyAI を使用して、バッチ処理とリアルタイム文字起こしに対応した本番環境向け音声認識パイプラインを構築します。話者ダイアライゼーション機能も含みます。

意思決定ポイント

エンジン選択 決定木

要件に応じて:
├─ リアルタイムストリーミングが必要か?
│  ├─ はい: Deepgram Nova-3 WebSocket を使用(最速)
│  └─ いいえ: 次の精度要件へ
├─ 最高精度が必要で、GPUがあるか?
│  ├─ はい: faster-whisper で Whisper large-v3 を使用
│  └─ いいえ: 次のコスト分析へ
├─ 予算 < $0.0059/分 でコンピュートリソースがあるか?
│  ├─ はい: ローカル Whisper を使用
│  └─ いいえ: AssemblyAI Universal-2 を使用(最良のAPIダイアライゼーション)

バッチ vs ストリーム処理

音声の特性に応じて:
├─ 再生時間 > 30分?
│  ├─ はい: バッチ処理(無音部分でチャンク分割)
│  └─ いいえ: 次のレイテンシチェックへ
├─ 結果を10秒未満で得る必要があるか?
│  ├─ はい: ストリーミングを使用(Deepgram/Whisper.cpp)
│  └─ いいえ: バッチ処理を使用(精度向上のため)

VAD(音声区間検出)の使用

コンテンツの種類に応じて:
├─ ライブ会話/会議?
│  ├─ はい: VADを有効にする(無音部分で40-60%の計算量削減)
│  └─ いいえ: 次のコンテンツチェックへ
├─ 講義/プレゼンテーションで間がある場合?
│  ├─ はい: 保守的なVADを使用(min_silence_duration_ms: 1000)
│  └─ いいえ: 密な音声の場合はVADをスキップ(オーディオブックなど)

ドメイン別モデル選択

言語/アクセントに応じて:
├─ 非英語または強いアクセント?
│  ├─ はい: Whisper large-v3 を使用(最良の多言語対応)
│  └─ いいえ: 次の速度チェックへ
├─ レイテンシ < 1秒が必要?
│  ├─ はい: Deepgram Nova-3 ストリーミングを使用
│  └─ いいえ: ビジネス/医療用語には AssemblyAI を使用

障害モード

無音時の幻覚出力

検出: 無音区間中に繰り返しフレーズや幻の音楽説明が表示される 診断: VADが無効またはしきい値が低すぎ、モデルが背景ノイズからテキストを生成している 修正: VADを有効にして min_silence_duration_ms: 500 を設定、Whisperで --no_speech_threshold 0.6 を使用

10人超の話者でのダイアライゼーション崩壊

検出: 10~15分後に全話者が「話者1」とラベル付けされる、または文の途中でランダムに話者が切り替わる 診断: 話者埋め込みモデルが飽和、混雑した音声内での重なり混乱 修正: 無音部分で事前にセグメント分割、ステレオの場合は AssemblyAI の dual_channel を使用、最大アクティブ話者を8人に制限

ビデオとのタイムスタンプ同期ずれ

検出: 字幕が対応するビデオフレームより2~5秒前後に表示される 診断: 音声前処理で再生時間が変更された、または VAD がタイムスタンプ調整なしでセグメントを削除した 修正: 前処理で --preserve_timing を使用、元の音声タイムコードと同期、既知の音声イベントに対して検証

言語自動検出の失敗

検出: アクセントのある話者の英語単語が意味不明な文字列として書き起こされる、またはコードスイッチングが無視される 診断: 最初の30秒でモデルが誤った言語に固定された、または多言語コンテンツが分類器を混乱させた 修正: アクセントのある英語には language="en" で言語を強制、非英語から英語への変換には task="translate" を使用

長尺ファイルでのメモリオーバーフロー

検出: 45分超のファイルでOOMクラッシュ、または30分後に突然の品質低下 診断: モデルがコンテキストウィンドウを保持し続け、GPU VRAMが枯渇 修正: 25分境界で30秒のオーバーラップを持たせてチャンク分割、RAM効率化のために --without_timestamps を使用

作業例

完全な会議文字起こしウォークスルー

シナリオ: 90分の取締役会議、6人の話者、議事録用に正確な話者識別とタイムスタンプが必要

入力分析:

  • 90分 → チャンク分割が必要
  • 6人の話者 → ダイアライゼーションの制限内
  • ビジネスコンテキスト → 用語のために AssemblyAI を使用

決定パス:

  1. 再生時間 > 30分 → バッチ処理が必要
  2. 話者数 = 6人 → ダイアライゼーションが可能
  3. ビジネス領域 → AssemblyAI Universal-2 を選択
  4. 高精度が必要 → 話者ラベル + スマートフォーマットを有効化

実装:

# ステップ1: 前処理(上級者の注意点: 音声レベルを正規化)
ffmpeg -i meeting.mp4 -ar 16000 -ac 1 -filter:a "volume=0.8" meeting_clean.wav

# ステップ2: オーバーラップ付きチャンク分割(初心者はファイル全体を処理する)
from pydub import AudioSegment
audio = AudioSegment.from_wav("meeting_clean.wav")
chunks = []
for i in range(0, len(audio), 25*60*1000):  # 25分チャンク
    chunk = audio[i:i+27*60*1000]  # 2分のオーバーラップで27分
    chunks.append(chunk)

# ステップ3: ダイアライゼーション付き文字起こし
results = []
for chunk in chunks:
    response = assemblyai_client.transcribe(
        chunk, speaker_labels=True, auto_punctuation=True,
        dual_channel=False, speaker_labels_max=8
    )
    results.append(response.get_paragraphs())

# ステップ4: オーバーラップセグメントをマージ(初心者が見逃す上級者ステップ)
merged = merge_overlapping_transcripts(results, overlap_seconds=120)

上級者 vs 初心者:

  • 初心者: 90分のファイルを直接処理 → OOMクラッシュまたは精度低下
  • 上級者: オーバーラップ付きチャンク分割、チャンク間の話者一貫性を検証、最初に音声を正規化

品質ゲート

  • 既知の正解データを用いたテストサンプルで WER(単語誤り率)< 5%
  • 話者精度 > 90%(正解データがある場合、各発話の話者IDが正しいこと)
  • ストリーミング実装のエンドツーエンドリアルタイムレイテンシ < 2秒
  • SRT/VTT ファイルが検証を通過(適切なタイムスタンプ、重複セグメントなし)
  • 音声前処理完了: 16kHz モノラル WAV/FLAC フォーマットであることを確認
  • VAD パラメータ調整済み: サンプルで無音検出の偽陽性 < 10%
  • 2時間までのファイルでメモリ使用量 < 8GB(チャンク分割が適切に機能していること)
  • API エラーハンドリングテスト済み: タイムアウト、リトライ、クォータ超過に対応
  • ダイアライゼーションの話者数が期待値と一致(±1話者の許容範囲)
  • 出力タイムスタンプが元の音声と100ms以内の精度で一致

適用外の境界

このスキルは以下には使用しないでください:

  • テキスト読み上げ合成 → 代わりに voice-audio-engineer を使用
  • 音楽文字起こしまたは歌詞抽出 → 音楽AIモデルには ai-engineer を使用
  • 文字起こしなしの音声分類 → 音声分類には ai-engineer を使用
  • リアルタイム翻訳(文字起こし+翻訳) → language-translator スキルと組み合わせる
  • 音声生体認証または話者識別 → 話者認識モデルには ai-engineer を使用
  • 音声品質向上またはノイズ低減 → 音声処理には voice-audio-engineer を使用

委任する場合:

  • カスタムウェイクワード検出が必要 → voice-audio-engineer
  • 音声フィンガープリンティングが必要 → data-pipeline-engineer
  • 音声アシスタントの構築 → voice-audio-engineer + conversation-designer
  • 10,000時間超の処理 → オーケストレーションには data-pipeline-engineer

Individual skills in this repo

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

curiositech/windags-skills

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

curiositech/windags-skills

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

curiositech/windags-skills

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

curiositech/windags-skills

Implement WCAG 2.2 AA/AAA compliance with automated testing, keyboard navigation, screen reader support, and focus management. Activate on: accessibility audit, WCAG compliance, keyboard navigation, screen reader, aria attributes, axe-core, focus trap. NOT for: design-level accessibility review (use design-accessibility-auditor), color contrast only (use css-in-js-architect).

curiositech/windags-skills

Time-blind friendly planning, executive function support, and daily structure for ADHD brains. Specializes in realistic time estimation, dopamine-aware task design, and building systems that actually work for neurodivergent minds.

curiositech/windags-skills

Designs digital experiences for ADHD brains using neuroscience research and UX principles. Expert in reducing cognitive load, time blindness solutions, dopamine-driven engagement, and compassionate design patterns. Activate on 'ADHD design', 'cognitive load', 'accessibility', 'neurodivergent UX', 'time blindness', 'dopamine-driven', 'executive function'. NOT for general accessibility (WCAG only), neurotypical UX design, or simple UI styling without ADHD context.

curiositech/windags-skills

>- Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

curiositech/windags-skills

Extend and modify the admin dashboard, developer portal, and operations console. Use when adding new admin tabs, metrics, monitoring features, or internal tools. Activates for dashboard development, analytics, user management, and internal tooling.

curiositech/windags-skills

Conversation patterns and interaction protocols for multi-agent systems. Covers request/response, pub/sub, blackboard, delegation chains, debate, critique, consensus, fan-out/fan-in, supervisor-worker, and peer negotiation. Deep analysis of AutoGen conversation patterns, CrewAI delegation, LangGraph state passing, and FIPA-ACL performatives. Teaches how to design what agents say to each other and in what order. Activate on: "agent conversation", "agent protocol", "multi-agent debate", "agent delegation", "supervisor worker pattern", "agent voting", "consensus protocol", "fan-out fan-in", "agent negotiation", "blackboard pattern", "agent dialogue", "conversation topology", "agent handoff". NOT for: wire format or serialization (use agent-interchange-formats), orchestration infrastructure (use agentic-infrastructure-2026), single agent behavior (use agentic-patterns).

curiositech/windags-skills

Meta-agent for creating new custom agents, skills, and MCP integrations. Expert in agent design, MCP development, skill architecture, and rapid prototyping. Activate on 'create agent', 'new skill', 'MCP server', 'custom tool', 'agent design'. NOT for using existing agents (invoke them directly), general coding (use language-specific skills), or infrastructure setup (use deployment-engineer).

curiositech/windags-skills

AI-powered calendar management and agent-based scheduling coordination. Covers calendar APIs (Google Calendar, CalDAV/iCal), AI scheduling assistants (Reclaim, Clockwise, Motion, Cal.com), building custom calendar agents with MCP, multi-calendar merging, timezone management, focus block protection, meeting fatigue detection, and agent-to-agent meeting negotiation protocols. Activate on: "calendar agent", "AI scheduling", "calendar coordination", "meeting scheduling", "calendar API", "focus time protection", "calendar optimization", "Google Calendar MCP", "Reclaim", "Clockwise", "Motion", "Cal.com", "smart scheduling", "calendar-aware agent", "timezone scheduling", "agent negotiation meetings". NOT for: manual calendar UI component design (use form-validation-architect), project management scheduling or Gantt charts (use project-management-guru-adhd), general time-tracking or pomodoro apps (use adhd-daily-planner for time-awareness), building the agent itself from scratch (use agent-creator).

curiositech/windags-skills

Build and adopt production AI agent infrastructure in 2026. Covers framework selection (LangGraph, CrewAI, AutoGen, MCP), orchestration patterns, evaluation, observability, memory systems, and tool use. Also covers the SOCIAL dimension: how to sell agent infrastructure internally, change management, measuring ROI, building trust in autonomous systems, and scaling adoption across teams. Activate on: "agent infrastructure", "agent framework comparison", "which agent framework", "sell AI tools internally", "agent adoption", "agent observability", "agent evaluation", "MCP architecture", "agentic mesh", "enterprise AI agents", "AI change management", "agent ROI". NOT for: building specific agents (use ai-engineer), designing agent behavior patterns (use agentic-patterns), prompt tuning (use prompt-engineer).

curiositech/windags-skills

Fundamental patterns for effective agentic behavior. Teaches decomposition, tool orchestration, error recovery, context management, quality self-assessment, and knowing when to stop. Model-agnostic principles that make any agent more effective regardless of domain. Activate on: "how should I structure this agent", "agentic workflow", "agent patterns", "multi-step task", "tool orchestration", "/agentic-patterns", "decompose this", "agent best practices", "chain of actions", "when should the agent stop", "agent loop design". NOT for: creating agent infrastructure (use agent-creator), building DAGs (use windags-architect), specific tool implementation.

curiositech/windags-skills

Automated discovery and matching of agent skills for dynamic task routing and capability assessment

curiositech/windags-skills

Cryptographic security for agentic systems — zero-trust agent networking, signed message envelopes (JWS/JWE), capability-based security (ocaps), Merkle tree audit trails, WASM sandboxing, and formal verification. Covers CLI dev tool security, mTLS between agents, permission boundaries (least privilege for AI agents), and supply chain security for skills/plugins. Activate on: "agent security", "zero trust agents", "secure agent communication", "capability-based security", "ocap", "signed messages between agents", "agent audit trail", "sandbox agent execution", "agent permissions", "mTLS agents", "cryptographic verification", "agent supply chain", "OWASP agentic", "prove agent did X", "tamper-proof agent logs". NOT for: application-level SAST scanning (use security-auditor), network firewall rules (use infrastructure), SOC2/HIPAA compliance (organizational), or prompt injection defense (use prompt-engineer).

curiositech/windags-skills

Data structures and serialization formats for agent-to-agent communication. Covers message envelopes, structured output schemas, capability declarations, task handoff payloads, error/retry signaling, and context windows as data structures. Deep comparison of A2A protocol, MCP, OpenAI function calling, and LangChain message types. Teaches when to use rigid schemas vs free-form with validation, typed vs untyped, streaming vs batch. Activate on: "agent message format", "agent communication schema", "agent-to-agent protocol", "A2A protocol", "MCP message format", "structured output for agents", "agent interop", "interchange format", "agent serialization", "task handoff format", "capability declaration". NOT for: what agents say to each other (use agent-conversation-protocols), orchestration topology (use multi-agent-coordination), building agent infrastructure (use agentic-infrastructure-2026).

curiositech/windags-skills

Logic-based agent programming language implementing BDI architecture for practical autonomous agent development

curiositech/windags-skills

>- Design AgentSpeak(L)-style BDI agents with context-guarded plans, selection functions, and intention stacks. Use for interruptible autonomy, agent policy, and multi-agent orchestration in dynamic environments. NOT for simple rule engines, static planners, or centralized workflows.

curiositech/windags-skills

Foundational concurrent computation model where actors communicate exclusively through asynchronous message passing

curiositech/windags-skills

license: Apache-2.0 NOT for unrelated tasks outside this domain.

関連スキル