Communitygithub.com

bg-szy/TOP-SKILLS

Verarbeitet Videodateien mit Audioextraktion, Formatkonvertierung (mp4, webm) und Whisper-Transkription. Verwenden, wenn der Benutzer Videokonvertierung, Audioextraktion, Transkription, mp4, webm, ffmpeg oder Whisper-Transkription erwähnt.

Was ist TOP-SKILLS?

Diese Fähigkeit (Skill) ermöglicht die Verarbeitung von Videodateien durch ein einheitliches CLI-Tool, das auf FFmpeg und OpenAIs Whisper-Modell basiert. Sie unterstützt drei Hauptfunktionen: Extraktion von Audiospuren in verschiedenen Formaten (WAV, MP3, AAC, FLAC), Konvertierung von Videos in die Formate MP4 (mit Codec-Optionen wie libx264/265) und WebM (optimiert für das Web mit VP9-Codec), sowie Transkription von Audio oder Video in Text mit Whisper. Für die Transkription können verschiedene Whisper-Modelle (tiny, base, small, medium, large) ausgewählt werden, und die Ausgabe ist in den Formaten TXT, SRT, VTT und JSON möglich. Der Workflow ist einfach und erfordert nur die Angabe einer Eingabedatei und eines Ausgabepfads; die Skripte übernehmen automatisch die erforderlichen Zwischenschritte wie die Audioextraktion aus Videodateien. Dank detaillierter Fehlerbehandlung und automatischer Bereinigung temporärer Dateien eignet sich die Fähigkeit sowohl für schnelle Tests als auch für die Produktion. Sie wird für Claude Code, Cursor, Codex und andere KI-Agenten bereitgestellt, die auf die genannten Tools und Abhängigkeiten zugreifen können.

Funktioniert mit✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/bg-szy/TOP-SKILLS/tree/HEAD/skills/marketplace/video-processor

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Video-Prozessor

Anleitung

Diese Fähigkeit bietet Videoverarbeitungswerkzeuge, darunter Audioextraktion, Formatkonvertierung und Audiotranskription mit FFmpeg und OpenAIs Whisper-Modell.

Voraussetzungen

Erforderliche Werkzeuge (müssen in Ihrer Umgebung installiert sein):

  • FFmpeg: Multimedia-Framework für Video-/Audiobearbeitung

    # macOS
    brew install ffmpeg
    
    # Ubuntu/Debian
    apt-get install ffmpeg
    
    # Installation überprüfen
    ffmpeg -version
    
  • OpenAI Whisper: Sprach-zu-Text-Transkriptionsmodell

    # Mit pip installieren
    pip install -U openai-whisper
    
    # Installation überprüfen
    whisper --help
    

Python-Pakete (im Skript per PEP 723 enthalten):

  • click (CLI-Framework)
  • ffmpeg-python (Python-Wrapper für FFmpeg)

Arbeitsablauf

Verwenden Sie das Skript scripts/video_processor.py für alle Videoverarbeitungsaufgaben. Das Skript bietet eine einfache CLI mit den folgenden Befehlen:

1. Audio aus Video extrahieren

Die Audiospur aus einer Videodatei extrahieren:

uv run .claude/skills/video-processor/scripts/video_processor.py extract-audio input.mp4 output.wav

Optionen:

  • --format: Ausgabeformat (Standard: wav). Unterstützt: wav, mp3, aac, flac
  • Die Ausgabe eignet sich für die Transkription oder die eigenständige Audioverwendung

2. Video in MP4 konvertieren

Jede Videodatei in das MP4-Format konvertieren:

uv run .claude/skills/video-processor/scripts/video_processor.py to-mp4 input.avi output.mp4

Optionen:

  • --codec: Video-Codec (Standard: libx264). Übliche Optionen: libx264, libx265, h264
  • --preset: Kodierungsgeschwindigkeits-/Qualitätsvoreinstellung (Standard: medium). Optionen: ultrafast, fast, medium, slow, veryslow

3. Video in WebM konvertieren

Jede Videodatei in das WebM-Format (weboptimiert) konvertieren:

uv run .claude/skills/video-processor/scripts/video_processor.py to-webm input.mp4 output.webm

Optionen:

  • --codec: Video-Codec (Standard: libvpx-vp9). Optionen: libvpx, libvpx-vp9
  • WebM ist für die Wiedergabe im Web und Streaming optimiert

4. Audio mit Whisper transkribieren

Audio- oder Videodateien mit OpenAIs Whisper-Modell in Text umwandeln:

# Videodatei transkribieren (Audio wird automatisch extrahiert)
uv run .claude/skills/video-processor/scripts/video_processor.py transcribe input.mp4 transcript.txt

# Audiodatei direkt transkribieren
uv run .claude/skills/video-processor/scripts/video_processor.py transcribe audio.wav transcript.txt

Optionen:

  • --model: Whisper-Modellgröße (Standard: base). Optionen:
    • tiny: Am schnellsten, geringste Genauigkeit (~1 GB RAM)
    • base: Schnell, gute Genauigkeit (~1 GB RAM) [STANDARD]
    • small: Ausgewogen (~2 GB RAM)
    • medium: Hohe Genauigkeit (~5 GB RAM)
    • large: Beste Genauigkeit, langsamste (~10 GB RAM)
  • --language: Sprachcode (Standard: automatische Erkennung). Beispiele: en, es, fr, de, zh
  • --format: Ausgabeformat (Standard: txt). Optionen: txt, srt, vtt, json

Transkriptionsablauf:

  1. Wenn die Eingabe ein Video ist, extrahiert FFmpeg das Audio in eine temporäre WAV-Datei
  2. Whisper verarbeitet die Audiodatei
  3. Die Transkription wird im angeforderten Format gespeichert
  4. Temporäre Dateien werden automatisch bereinigt

5. Kombinierter Arbeitsablauf (Beispiel)

Ein Video durchgängig verarbeiten:

# 1. Audio für die Analyse extrahieren
uv run .claude/skills/video-processor/scripts/video_processor.py extract-audio lecture.mp4 lecture.wav

# 2. In SRT-Untertitel transkribieren
uv run .claude/skills/video-processor/scripts/video_processor.py transcribe lecture.mp4 lecture.srt --format srt --model small

# 3. In Web-Format konvertieren
uv run .claude/skills/video-processor/scripts/video_processor.py to-webm lecture.mp4 lecture.webm

Wichtige technische Details

Integration von FFmpeg und Whisper:

  • FFmpeg transkribiert selbst kein Audio – es bereitet Audio für die externe Transkription vor
  • Der Arbeitsablauf ist: Audio extrahieren (FFmpeg) → Transkribieren (Whisper) → Optional: Wieder mit Video zusammenführen
  • FFmpeg kann Audio für die Echtzeitverarbeitung direkt an Whisper weiterleiten (fortgeschrittener Anwendungsfall)

Audioformat für die Transkription:

  • Whisper arbeitet am besten mit den Formaten WAV oder MP3
  • Abtastrate: 16 kHz ist optimal (das Skript übernimmt die Konvertierung automatisch)
  • Das Skript extrahiert Audio mit optimalen Einstellungen für Whisper

Ausgabeformate:

  • txt: Reine Text-Transkription
  • srt: SubRip-Untertitelformat (enthält Zeitstempel)
  • vtt: WebVTT-Untertitelformat (Webstandard)
  • json: Detailliertes JSON mit Zeitstempeln auf Wortebene

Fehlerbehandlung

Das Skript enthält eine umfassende Fehlerbehandlung:

  • Überprüft, ob Eingabedateien existieren
  • Stellt sicher, dass FFmpeg und Whisper installiert sind
  • Gibt klare Fehlermeldungen bei fehlenden Abhängigkeiten aus
  • Bereinigt temporäre Dateien bei Fehlern

Leistungstipps

  • Verwenden Sie die Modelle tiny oder base für schnelle Entwürfe
  • Verwenden Sie small oder medium für Transkriptionen in der Produktion
  • Verwenden Sie large nur, wenn maximale Genauigkeit erforderlich ist
  • Ziehen Sie bei langen Videos in Betracht, zuerst das Audio zu extrahieren und dann in Segmenten zu transkribieren
  • Die Konvertierung in WebM mit VP9 dauert länger, erzeugt aber kleinere Dateien

Beispiele

Beispiel 1: Schnelle Konvertierung von Video in MP4

Benutzeranfrage:

Ich habe eine AVI-Datei von meiner alten Kamera. Kannst du sie in MP4 konvertieren?

Sie würden:

  1. Den Befehl to-mp4 mit Standardeinstellungen verwenden:
    uv run .claude/skills/video-processor/scripts/video_processor.py to-mp4 old_video.avi output.mp4
    
  2. Bestätigen, dass die Konvertierung erfolgreich abgeschlossen wurde
  3. Den Benutzer über den Speicherort der Ausgabedatei informieren

Beispiel 2: Audio extrahieren und transkribieren

Benutzeranfrage:

Ich habe ein Vorlesungsvideo aufgenommen und brauche eine Abschrift. Kannst du das Audio extrahieren und transkribieren?

Sie würden:

  1. Zuerst das Audio extrahieren:
    uv run .claude/skills/video-processor/scripts/video_processor.py extract-audio lecture.mp4 lecture.wav
    
  2. Dann mit dem base-Modell (guter Kompromiss aus Geschwindigkeit und Genauigkeit) transkribieren:
    uv run .claude/skills/video-processor/scripts/video_processor.py transcribe lecture.mp4 transcript.txt --model base
    
  3. Die Datei transcript.txt mit dem Benutzer teilen

Beispiel 3: Weboptimiertes Video mit Untertiteln erstellen

Benutzeranfrage:

Ich muss dieses Video mit Untertiteln auf meine Website stellen. Kannst du helfen?

Sie würden:

  1. Für die Weboptimierung in WebM konvertieren:
    uv run .claude/skills/video-processor/scripts/video_processor.py to-webm presentation.mp4 presentation.webm
    
  2. Eine SRT-Untertiteldatei erstellen:
    uv run .claude/skills/video-processor/scripts/video_processor.py transcribe presentation.mp4 subtitles.srt --format srt --model small
    
  3. Den Benutzer darüber informieren, dass jetzt Folgendes vorliegt:
    • presentation.webm (weboptimiertes Video)
    • subtitles.srt (Untertiteldatei zum Einbetten)

Beispiel 4: Hochwertige Transkription mit Sprachangabe

Benutzeranfrage:

Ich habe ein spanisches Interviewvideo, für das ich eine genaue Abschrift zur Veröffentlichung benötige.

Sie würden:

  1. Ein größeres Modell mit angegebener Sprache für beste Genauigkeit verwenden:
    uv run .claude/skills/video-processor/scripts/video_processor.py transcribe interview.mp4 transcript.txt --model medium --language es
    
  2. Optional eine SRT-Datei zur Überprüfung erstellen:
    uv run .claude/skills/video-processor/scripts/video_processor.py transcribe interview.mp4 transcript.srt --format srt --model medium --language es
    
  3. Die Abschrift mit dem Benutzer durchgehen und eventuelle Korrekturen vornehmen

Beispiel 5: Stapelverarbeitung mehrerer Videos

Benutzeranfrage:

Ich habe einen Ordner mit Schulungsvideos, die alle in WebM konvertiert und transkribiert werden müssen.

Sie würden:

  1. Alle Videodateien im Verzeichnis auflisten:
    ls training_videos/*.mp4
    
  2. Für jede Videodatei die Konvertierung und Transkription ausführen:
    # Für jedes Video: video1.mp4, video2.mp4, usw.
    uv run .claude/skills/video-processor/scripts/video_processor.py to-webm training_videos/video1.mp4 output/video1.webm
    uv run .claude/skills/video-processor/scripts/video_processor.py transcribe training_videos/video1.mp4 output/video1.txt --model base
    
    # Für jede Datei wiederholen
    
  3. Bestätigen, dass alle Konvertierungen und Transkriptionen abgeschlossen sind
  4. Eine Zusammenfassung der Ausgabedateien geben

Zusammenfassung

Die Fähigkeit Video-Prozessor bietet eine einheitliche Oberfläche für gängige Videoverarbeitungsaufgaben:

  • Audioextraktion: Audiospuren in verschiedenen Formaten extrahieren
  • Formatkonvertierung: In MP4 (universell) oder WebM (weboptimiert) konvertieren
  • Transkription: Sprach-zu-Text mit mehreren Ausgabeformaten
  • Flexibel: CLI-Argumente für Modellauswahl, Sprache und Ausgabeformate

Alle Vorgänge werden über ein einziges, gut dokumentiertes Skript mit sinnvollen Standardeinstellungen und umfassender Fehlerbehandlung abgewickelt.

Individual skills in this repo

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

bg-szy/TOP-SKILLS

Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens — use frontend-design instead.

bg-szy/TOP-SKILLS

Fill out Microsoft Azure Landing Zone (ALZ) Accelerator checklists by interviewing the user, mapping their Azure subscriptions, integrating IP addressing documentation, and applying Microsoft Cloud Adoption Framework best practices. Produces a completed Excel checklist (.xlsx) ready for ALZ deployment. Use this skill whenever the user mentions Azure Landing Zone, ALZ checklist, landing zone accelerator, platform landing zone configuration, ALZ bootstrap, hub-and-spoke setup, Azure network topology planning, or wants to fill out any ALZ-related checklist or configuration file. Also trigger when the user uploads an Excel file that contains tabs like "Accelerator - Bootstrap", "Accelerator - Bicep", or "Accelerator - Terraform".

bg-szy/TOP-SKILLS

Compose a premium, animated landing page section by section in Next.js + Tailwind + Motion (Framer Motion) — built on a real design system, with editorial copy and motion that feels human-crafted, not template-generated. Use when building or rebuilding a landing page, marketing site, or hero/feature/pricing/CTA sections that need to look production-ready and bespoke from day one.

bg-szy/TOP-SKILLS

Write high-converting landing page copy using proven frameworks like PAS (Problem-Agitate-Solution), AIDA, and StoryBrand. Creates headlines, value propositions, CTAs, and full page sections optimized for conversion. Use when users need landing page copy, sales page content, or marketing website text.

bg-szy/TOP-SKILLS

Optimize landing pages for conversions, performance, and SEO. Use when improving landing pages, increasing conversions, or optimizing page performance.

bg-szy/TOP-SKILLS

Review investment portfolios for risk, diversification, fees. Asset allocation recommendations, tax-loss harvesting, rebalancing.

bg-szy/TOP-SKILLS

Beads Viewer - Graph-aware triage engine for Beads projects. Computes PageRank, betweenness, critical path, and cycles. Use --robot-* flags for AI agents.

bg-szy/TOP-SKILLS

CI red? Call us. Pipeline fire brigade deploys. Use when user mentions CI failures, build errors, test failures, or pipeline issues. Do NOT load for: local builds, standard implementation work, reviews, or setup.

bg-szy/TOP-SKILLS

CASS Memory System - procedural memory for AI coding agents. Three-layer cognitive architecture with confidence decay, anti-pattern learning, cross-agent knowledge transfer, trauma guard safety system. Bun/TypeScript CLI.

bg-szy/TOP-SKILLS

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

bg-szy/TOP-SKILLS

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

bg-szy/TOP-SKILLS

Use when the user asks to "pre-launch check the landing page", "run a Quality-Score preflight", or "verify ad-to-page message match before launch"; produces an ad↔page continuity report — message-match gaps, above-the-fold check, page-speed read, form-friction count, mobile-render flags — as a pass/fix punch list. Not for redesigning or rewriting the page — use landing-optimizer; not for scoring the account or the RQS — use ad-account-auditor. 落地页体验预检/广告落地页一致性检查

bg-szy/TOP-SKILLS

Use when the user asks to "optimize our landing page for influencer traffic", "fix our promo-code landing page", or "improve conversion from a creator campaign"; produces a message-match audit, page-structure and social-proof recommendations, a promo-code/CTA conversion plan, and an A/B test roadmap. Not for measuring campaign results after launch — use performance-analyzer.

bg-szy/TOP-SKILLS

Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review, critique or improve a landing page, sales page, opt-in page, product page or checkout flow, when conversion rate is low, when paid traffic is not converting, or when someone asks "why isn't this page converting" or wants a CRO / landing page review.

bg-szy/TOP-SKILLS

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

bg-szy/TOP-SKILLS

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

bg-szy/TOP-SKILLS

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

bg-szy/TOP-SKILLS

Account assets, equity and fund positions, P&L, cash flow records, account statements, margin ratios, buy-power estimates, order management, and DCA recurring investments via Longbridge (most require Trade permission). Frameworks: portfolio diagnosis, rebalancing, asset allocation, risk analysis (VaR/CVaR), performance attribution, and tax-loss harvesting. Triggers: "持仓", "账户", "盈亏", "资产", "对账单", "下单", "买入", "卖出", "撤单", "定投", "组合诊断", "再平衡", "资产配置", "风险分析", "绩效归因", "税损收割", "持倉", "賬戶", "盈虧", "對賬單", "下單", "買入", "賣出", "組合診斷", "再平衡", "稅損收割", "positions", "portfolio", "P&L", "order", "buy", "sell", "DCA", "statement", "risk analysis", "rebalancing", "tax harvesting", "我的风险", "持仓风险", "风险敞口", "資產", "資產配置", "風險分析", "績效歸因", "撤單

bg-szy/TOP-SKILLS

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

bg-szy/TOP-SKILLS

Using the Wonda CLI to generate images, videos, music, and audio from the terminal — plus LinkedIn, Reddit, and X/Twitter research and automation

Verwandte Skills