Communitygithub.com

Outil Contenu YouTube

Transforme les transcriptions YouTube en résumés, fils de discussion, articles de blog, etc.

Qu'est-ce que Outil Contenu YouTube ?

Cette compétence permet d'extraire des transcriptions de vidéos YouTube et de les transformer en contenu structuré et réutilisable. Elle prend en charge tous les formats d'URL YouTube (liens standards, youtu.be, shorts, embeds, directs) et accepte les identifiants de vidéo bruts. Les formats de sortie incluent des résumés concis, des chapitres horodatés, des fils Twitter/X, des articles de blog complets et des citations notables. La compétence intègre une gestion robuste des erreurs (transcriptions désactivées, vidéos privées, problèmes de langue) et fractionne automatiquement les longs contenus. Elle repose sur le script `fetch_transcript.py` et l'API `youtube-transcript-api`, ce qui la rend compatible avec les agents utilisant les environnements Python et Hermes.

Compatible avec✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/delorenj/skills/tree/HEAD/youtube-content

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Que fait Outil Contenu YouTube ?

Quand l'utiliser

Utilisez lorsque l'utilisateur partage une URL YouTube ou un lien vidéo, demande de résumer une vidéo, sollicite une transcription, ou souhaite extraire et reformater le contenu d'une vidéo YouTube. Transforme les transcriptions en contenu structuré (chapitres, résumés, fils de discussion, articles de blog).

Extrait les transcriptions de vidéos YouTube et les convertit en formats utiles.

Configuration

Utilisez uv pour que la dépendance soit installée dans le même environnement géré par Hermes qui exécute le script d'aide :

uv pip install youtube-transcript-api

Script d'aide

SKILL_DIR est le répertoire contenant ce fichier SKILL.md. Le script accepte tout format d'URL YouTube standard, les liens courts (youtu.be), les shorts, les embeds, les liens de direct, ou un identifiant brut de 11 caractères.

# Sortie JSON avec métadonnées
uv run python3 SKILL_DIR/scripts/fetch_transcript.py "https://youtube.com/watch?v=VIDEO_ID"

# Texte brut (idéal pour le piping vers un traitement ultérieur)
uv run python3 SKILL_DIR/scripts/fetch_transcript.py "URL" --text-only

# Avec horodatage
uv run python3 SKILL_DIR/scripts/fetch_transcript.py "URL" --timestamps

# Langue spécifique avec chaîne de repli
uv run python3 SKILL_DIR/scripts/fetch_transcript.py "URL" --language tr,en

Formats de sortie

Après avoir récupéré la transcription, formatez-la selon la demande de l'utilisateur :

  • Chapitres : Regrouper par changements de sujet, produire une liste de chapitres horodatés
  • Résumé : Aperçu concis de 5 à 10 phrases de l'ensemble de la vidéo
  • Résumés de chapitres : Chapitres avec un court paragraphe de résumé pour chacun
  • Fil de discussion : Format fil Twitter/X — messages numérotés, chacun sous 280 caractères
  • Article de blog : Article complet avec titre, sections et points clés
  • Citations : Citations notables avec horodatage

Exemple — Sortie Chapitres

00:00 Introduction — l'hôte ouvre avec l'énoncé du problème
03:45 Contexte — travaux antérieurs et pourquoi les solutions existantes sont insuffisantes
12:20 Méthode principale — présentation détaillée de l'approche proposée
24:10 Résultats — comparaisons de référence et points clés
31:55 Questions-Réponses — questions du public sur l'évolutivité et les prochaines étapes

Flux de travail

  1. Récupérer la transcription à l'aide du script d'aide avec --text-only --timestamps via uv run python3.
  2. Valider : confirmer que la sortie n'est pas vide et dans la langue attendue. Si elle est vide, réessayer sans --language pour obtenir toute transcription disponible. Si toujours vide, indiquer à l'utilisateur que la vidéo a probablement les transcriptions désactivées.
  3. Fragmenter si nécessaire : si la transcription dépasse environ 50 000 caractères, la diviser en fragments qui se chevauchent (environ 40 000 avec 2 000 de chevauchement) et résumer chaque fragment avant de les fusionner.
  4. Transformer dans le format de sortie demandé. Si l'utilisateur n'a pas spécifié de format, utiliser un résumé par défaut.
  5. Vérifier : relire la sortie transformée pour vérifier la cohérence, l'exactitude des horodatages et l'exhaustivité avant de la présenter.

Gestion des erreurs

  • Transcription désactivée : en informer l'utilisateur ; suggérer de vérifier si les sous-titres sont disponibles sur la page de la vidéo.
  • Vidéo privée/non disponible : transmettre l'erreur et demander à l'utilisateur de vérifier l'URL.
  • Aucune langue correspondante : réessayer sans --language pour récupérer toute transcription disponible, puis notifier la langue réelle à l'utilisateur.
  • Dépendance manquante : exécuter uv pip install youtube-transcript-api et réessayer.

Individual skills in this repo

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

delorenj/skills

Plan and generate terminal ASCII animations/screensaver-style output (FPS, refresh rules, loop policy, low-flicker guidance), with a static poster frame and an optional local demo script.

delorenj/skills

ASCII video: convert video/audio to colored ASCII MP4/GIF.

delorenj/skills

Plan, build and quality-check a premium short commercial for a real business (roofing, property, ecommerce, B2B software) using AI-generated footage, code-built motion (HTML/GSAP), selective Three.js and an independent-critic "Gauntlet" loop. Use when asked to make a launch-style / SaaS-style video, business ad, explainer, sample reel or pitch video, or to review and improve one. Encodes motion principles distilled from 28 professional launch films, a quality bar, audio rules and a business-offer playbook.

delorenj/skills

CSS animation adapter patterns for HyperFrames. Use when authoring CSS keyframes, animation-delay based timing, animation-fill-mode, animation-play-state, or CSS-only motion that HyperFrames must seek deterministically during preview and rendering.

delorenj/skills

Generate professional voiceovers using ElevenLabs AI. Use when the user needs to create voiceovers for videos, audio narration, or text-to-speech content. Supports multiple voices with character presets (narrator, salesperson, expert) for natural delivery. Includes single scene regeneration for fine-tuning.

delorenj/skills

HyperFrames CLI dev loop — `npx hyperframes` for scaffolding (init), validation (lint, inspect), preview, render, and environment troubleshooting (doctor, browser, info, upgrade). Use when running any of these commands or troubleshooting the HyperFrames build/render environment. For asset preprocessing commands (`tts`, `transcribe`, `remove-background`), invoke the `hyperframes-media` skill instead.

delorenj/skills

Asset preprocessing for HyperFrames compositions — text-to-speech narration (Kokoro), audio/video transcription (Whisper), and background removal for transparent overlays (u2net). Use when generating voiceover from text, transcribing speech for captions, removing the background from a video or image to use as a transparent overlay, choosing a TTS voice or whisper model, or chaining these (TTS → transcribe → captions). Each command downloads its own model on first run.

delorenj/skills

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.

delorenj/skills

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For dev-loop CLI commands (init, lint, inspect, preview, render) see the hyperframes-cli skill; for asset preprocessing commands (tts, transcribe, remove-background) see the hyperframes-media skill.

delorenj/skills

Manim CE animations: 3Blue1Brown math/algo videos.

delorenj/skills

Join a Google Meet or Zoom call as a video meeting agent via PikaStreaming. Trigger: user drops a Google Meet or Zoom link, or asks to join a meeting.

delorenj/skills

Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition. Use ONLY when the user explicitly asks to port, convert, migrate, translate, or rewrite a Remotion composition as HyperFrames (e.g. "port my Remotion project to HyperFrames"). Do NOT use when (a) authoring a NEW HyperFrames composition (even if A/B-testing a Remotion video); (b) Remotion is mentioned in passing; (c) Remotion code is shared as reference, not for translation; (d) the user wants "the same video as my Remotion one" without explicitly asking to migrate the source — treat as a fresh HyperFrames build. When in doubt, default to the `hyperframes` skill. Detects unsupported patterns (useState, useEffect side effects, async calculateMetadata, third-party React component libraries, `@remotion/lambda`) and recommends the runtime interop escape hatch instead of a lossy translation.

delorenj/skills

Generate speech using the self-hosted voxxy (vox) TTS service at https://vox.delo.sh. Use when the user asks to speak, say, narrate, synthesize speech, clone a voice, create a voice, add or register a voice, pipe TTS, or control voice qualities by description (e.g. "a young woman with a cheerful voice"). Handles HTTP API usage, voice profile management, description-based voice design, cloning, MCP registration, and integration patterns for new platforms.

delorenj/skills

Capture a website and create a HyperFrames video from it. Use when: (1) a user provides a URL and wants a video, (2) someone says "capture this site", "turn this into a video", "make a promo from my site", (3) the user wants a social ad, product tour, or any video based on an existing website, (4) the user shares a link and asks for any kind of video content. Even if the user just pastes a URL — this is the skill to use.

Skills associés