Skip to main content
skill CX Codex

youtube-to-ebook — Claude Code skill: what it does, how to install

youtube-to-ebook turns recent YouTube videos from selected channels into readable articles and bundles them into an EPUB ebook.

no license 1 installs ★ 588 updated 2026-01-28

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add zarazhangrui/youtube-to-ebook --skill youtube-to-ebook -a claude-code
Open on GitHub

What youtube-to-ebook does

This skill organizes a pipeline from video feeds to a digital book. It fetches recent uploads with YouTube Data API, discards Shorts, and extracts transcripts. Claude then rewrites the transcripts into magazine-style articles. The output is bundled into EPUB format via ebooklib. The book is ready to read.

The project contains Python utilities like get_videos.py, write_articles.py, and main.py. Subscriptions live inside channels.txt. You can edit prompts directly to adjust the tone of voice. There is also a local web dashboard in dashboard.py.

You need Python 3.8+, a YouTube Data API key, and an Anthropic API token. Cloud environments like GitHub Actions face transcript rate limits from YouTube. Because of this, run the pipeline locally.

What it helps with

  • compile YouTube video feeds into an offline EPUB reader
  • convert raw speech transcripts into structured articles
  • filter out YouTube Shorts while tracking regular uploads
  • automate periodic video summaries on a local machine

Example prompts for the agent

  • Set up youtube-to-ebook and generate my first ebook
  • Run python main.py to fetch the latest channel uploads
  • Launch dashboard.py to manage my subscriptions

How to install youtube-to-ebook

1Skills CLI (Vercel)

npx skills add zarazhangrui/youtube-to-ebook --skill youtube-to-ebook -a claude-code

2Manually: put the files in place

~/.claude/skills/youtube-to-ebook/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/youtube-to-ebook/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about youtube-to-ebook

How to install youtube-to-ebook in Claude Code?

Run npx skills add zarazhangrui/youtube-to-ebook --skill youtube-to-ebook -a claude-code in your terminal.

What does youtube-to-ebook do?

It extracts transcripts from recently published channel videos, rewrites the content into clear reading articles using Claude, and saves the batch as an EPUB file.

What credentials are required before running the script?

You need an Anthropic API key for text transformation, a YouTube Data API key from Google Cloud Console, and Python 3.8 or higher.

Similar skills

All skills for Notes, tasks and projects →

Project sponsors

Companies that keep this analytics open