Logo di Youtube Chapters

Youtube Chapters

Community
JamalMohafil
youtube-chapters

Use when someone gives a YouTube link (or a local video/audio file) and wants chapter timestamps, a chapter list, video sections, a timeline, or timestamps for the description — including Arabic/RTL videos. Triggers on "get timestamps", "make chapters", "YouTube chapters", "split this video into sections", "توقيتات", "فصول", "شبترات للفيديو".

Panoramica

Pubblicato daJamalMohafil
Repositoryclaude-skills
Nome della skillyoutube-chapters
Stelle
27
Fork
3
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da JamalMohafil su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Youtube Chapters in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/JamalMohafil/claude-skills/tree/main/youtube-chapters
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JamalMohafil/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/youtube-chapters .claude/skills/youtube-chapters
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Youtube Chapters in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Youtube Chapters non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Youtube Chapters non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

YouTube Chapters

Overview

Turn any video into ready-to-paste YouTube chapters. Two moves:

  1. Run the helper to get a clean, timestamped transcript.
  2. You cut it into chapters and output them in the exact format below.

The script handles fetching/transcribing (any language). The chaptering judgment — where topics change and what to call them — is yours.

When to use

  • A YouTube URL (any language) and they want chapters / timestamps / sections.
  • A local video or audio file ("here's my video, timestamp it").
  • A transcript or SRT they paste — skip Step 1, go to Step 2.

Not for: summarizing without timestamps (that's just a summary), or cutting/editing the video.

Step 1 — Get a timestamped transcript

python3 scripts/transcript.py "<youtube-url-or-file-path>"

Options: --lang ar (force a language), --window 12 (seconds per line), --out t.txt (also save it).

It prints TITLE, DURATION, LANGUAGE, SOURCE, then M:SS⇥text lines:

  • YouTube with captions → pulled via yt-dlp (fast: subtitle track only, no video download, no speech-to-text). Manual subtitles beat auto-captions.
  • Local file, or a video with no captions → Whisper speech-to-text, using whatever is present: GROQ_API_KEY or OPENAI_API_KEY (Whisper API), else pip install faster-whisper, else the whisper CLI. If none exists, the script prints exactly what to install.

Read the whole transcript before chaptering, and note DURATION — the last chapter must start before it.

Step 2 — Cut it into chapters (your judgment)

  • Mark where the topic changes, not every sentence. Aim for one chapter every ~1–3 minutes — more for long videos, never fewer than 3.
  • Set each chapter's time to the transcript timestamp where that topic starts (use that line's M:SS).
  • The first chapter is always 0:00 — retitle the opening; never invent a line before 0:00.
  • Keep chapters ≥ ~10s apart; the last one must start before DURATION.
  • Titles: short, specific, scannable — say what the section delivers (a question or a payoff beats a vague noun). Write them in the video's spoken language; for Arabic keep it natural dialect (RTL), not formalized.
  • Keep tech/brand terms in Latin for search: Claude Code, Next.js, API, GitHub, Vercel, MCP.
  • Never invent content that isn't in the transcript.

Step 3 — Output format (do exactly this)

Default — YouTube standard, timestamp first, one per line:

0:00 <title>
0:24 <title>
1:05 <title>

YouTube only shows chapters when: the first line is 0:00, there are ≥ 3 lines, and each is ≥ 10s after the previous. Break any of these and no chapters appear.

Deliver as plain lines (no code fence unless asked) and save to <video-title-slug> - youtube chapters.txt.

Variant — timestamp at the END (<title> 0:00): some creators, often Arabic/RTL channels, put the time last and report YouTube still accepts it. Use this only if the creator confirms it works on their channel; otherwise use the standard above. The 0:00 / ≥3 / ≥10s rules still apply.

Quick reference

InputWhat runsNeeds
YouTube URL, has captionsyt-dlp subtitle pullyt-dlp, ffmpeg
YouTube URL, no captionsaudio + Whisper+ one Whisper option
Local video / audio fileffmpeg audio + Whisper+ one Whisper option
Pasted transcript / SRTskip Step 1—

Common mistakes

  • First chapter not 0:00 → YouTube shows no chapters. Always start at 0:00.
  • A chapter per sentence → cut on topic shifts, aim for 1–3 min apart.
  • Time before speech or after the end → keep every chapter within [0:00, DURATION).
  • Formalizing Arabic titles → keep the creator's natural wording; only tech terms in Latin.
  • Quoting a caption as the title → titles describe the section, they don't transcribe it.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Youtube Chapters?

Use when someone gives a YouTube link (or a local video/audio file) and wants chapter timestamps, a chapter list, video sections, a timeline, or timestamps for the description — including Arabic/RTL videos. Triggers on "get timestamps", "make chapters", "YouTube chapters", "split this video into sections", "توقيتات", "فصول", "شبترات للفيديو".

Perché usare Youtube Chapters su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Youtube Chapters è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Youtube Chapters in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/JamalMohafil/claude-skills/tree/main/youtube-chapters. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Youtube Chapters?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Youtube Chapters?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Youtube Chapters: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Youtube Chapters è gratuita?

Sì. È pubblicata su GitHub da JamalMohafil con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇