SkillsGrove
SkillsGrove/Vídeo curto e criadores/matangilabs/kortny/youtube-transcript

youtube-transcript

Instalação

$npx skills add https://github.com/matangilabs/kortny --skill youtube-transcript
$git clone --depth 1 https://github.com/matangilabs/kortny.git /tmp/kortny && mkdir -p ~/.claude/skills && cp -r /tmp/kortny/kortny/skills/curated/youtube-transcript ~/.claude/skills/youtube-transcript
Por favor, instale esta Agent Skill para mim: https://github.com/matangilabs/kortny/tree/e54c3c09fd8ab6548a56c4a0e91a5af4c5e58774/kortny/skills/curated/youtube-transcript. Leia primeiro o SKILL.md e os scripts, e só a instale na minha pasta de skills depois de confirmar que é segura.

Resumo

Descrição original · MITUse when asked to get a transcript, extract key points, or summarize a YouTube video — given a YouTube URL.
O SKILL.md abaixo é reproduzido de matangilabs/kortny (commit e54c3c0) sob a licença MIT. O texto não foi alterado; apenas os metadados do cabeçalho do arquivo foram omitidos, as imagens são exibidas como links e arquivos muito longos são truncados. Copyright 2024 Michal Parkola. Licença: kortny/skills/curated/youtube-transcript/LICENSE.txt. Apenas o arquivo de instruções é exibido; consulte o repositório original para ver os scripts.

Goal

Pull the transcript from a YouTube video and produce the most useful artifact from it — clean transcript, structured notes, or a Slack-ready summary.

Steps

  1. Receive the YouTube URL. If none is provided, ask for it.
  2. Run the transcript script (scripts/get_transcript.py) with the URL. The script uses yt-dlp to fetch auto-generated or manually-uploaded subtitle tracks (prefers manual/English; falls back to auto). Output: {title, channel, duration_seconds, transcript_text, language}.
  3. Choose the output mode based on the request:
    • Full transcript → upload as a Slack file (plain text).
    • Summary → 3-4 sentence paragraph: what the video covers, the core argument or demo, key takeaway.
    • Structured notes → sections matching the video's natural breaks, with timestamps if present in the transcript.
    • Action items → for talks/webinars: decisions mentioned, questions raised, next steps named.
  4. Include the metadata header: video title, channel, duration, language, URL.
  5. Flag transcript quality: if the transcript is auto-generated (noted in output), mention that names and technical terms may be misheard.

Rules

  • No Whisper audio transcription — use only the subtitle tracks yt-dlp retrieves. If no subtitles exist, say so rather than transcribing manually or refusing silently.
  • Do not fabricate transcript content.
  • For videos over 2 hours, default to structured notes rather than full transcript unless the user asks explicitly.
  • Private or geo-restricted videos will fail extraction — report the error clearly.
Ver o texto completo da licença (MIT)
MIT License

Copyright (c) 2024 Michal Parkola

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

NOTE: This skill is a clean-room rewrite inspired by the tapestry-skills
youtube-transcript concept. No source code or text was copied from the original
repository. This LICENSE.txt is included for provenance transparency.