ahnjamin

YouTube To Skill — Communication skill for Claude Code

Communication community

유튜브 영상·재생목록 자막을 Claude Code 스킬로 (book-to-skill 기반).

How to install YouTube To Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ahnjamin/youtube-to-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What YouTube To Skill does

유튜브 영상·재생목록 자막을 Claude Code 스킬로 (book-to-skill 기반).

Alternatives in Communication

README

youtube-to-skill

유튜브 영상·재생목록 URL을 Claude Code 스킬로 바꿔 주는 스킬입니다.

**이 스킬은 [virgiliojr94/book-to-skill](https://github.com/virgiliojr94/book-to-skill)을 참고해 만들었고, 스킬 생성 단계는 book-to-skill을 그대로 호출합니다.** youtube-to-skill이 하는 일은 그 앞단 — 유튜브 자막을 받아 book-to-skill이 읽을 수 있는 txt로 정리하는 것뿐입니다. 이미 텍스트·PDF·EPUB 같은 문서가 있다면 book-to-skill을 바로 쓰면 됩니다.

흐름

유튜브 URL
  → yt-dlp로 자막만 받기 (영상은 받지 않음, 몇 초)
  → vtt2txt.py로 txt 정리 (자동 자막의 반복 줄 제거)
  → /book-to-skill 로 스킬 생성 (원칙·판단 기준·안티패턴을 장별 파일로)

만들어진 스킬은 관련 작업을 할 때 Claude가 자동으로 불러와 참고합니다.

설치

brew install yt-dlp
git clone https://github.com/virgiliojr94/book-to-skill.git ~/.claude/skills/book-to-skill
git clone https://github.com/ahnjamin/youtube-to-skill.git ~/.claude/skills/youtube-to-skill

Claude Code를 재시작하면 `/youtube-to-skill` 로 쓸 수 있습니다.

사용

/youtube-to-skill https://www.youtube.com/watch?v=...
/youtube-to-skill https://www.youtube.com/playlist?list=...

한계

  • 유튜브 전용입니다. 로컬 영상 파일·일반 웹 글은 대상이 아닙니다.
  • 자막(사람이 단 자막 또는 유튜브 자동 자막)이 있는 영상만 됩니다. 자막이 없는 영상은 빠지고, 어떤 영상이 빠졌는지 알려 줍니다.
  • 재생목록 안의 영상 링크(watch?v=…&list=…)를 넣으면 영상 하나만 받을지 재생목록 전체를 받을지 먼저 묻습니다.
  • macOS 기준으로 확인했습니다.
  • 자동 자막은 음성 인식 오류가 있고, 화면에만 나온 슬라이드·코드는 자막에 없습니다.
  • 다른 사람의 영상으로 만든 스킬은 개인 학습용으로 쓰고, 공개 배포는 저작권을 확인하세요.

vtt2txt.py 자체 점검

python3 vtt2txt.py --selftest

License

MIT. 스킬 생성은 [book-to-skill](https://github.com/virgiliojr94/book-to-skill) (MIT, © virgiliojr94)에 의존합니다.