Skip to content
Back to skills

Youtube Content Gen

ASecurity

A complete pipeline to convert YouTube videos into high-quality, SEO-optimized guide pages using Gemini AI.

  • 321 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
content-marketingpythonshellbashnextjsapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 10 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add kennyzir/7deer_skills --skill youtube-content-gen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Youtube Content Gen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Youtube Content Gen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kennyzir-youtube-content-gen/badge)](https://www.skillsdirectory.com/skills/kennyzir-youtube-content-gen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: youtube-content-gen
description: A complete pipeline to convert YouTube videos into high-quality, SEO-optimized guide pages using Gemini AI.
---

# YouTube Content Generator

A "video-to-page" pipeline that automates the creation of high-quality guide pages from YouTube videos. It extracts transcripts, analyzes content with Gemini AI, and generates Next.js pages with SEO best practices.

## Resources Included

### Scripts (`resources/scripts/`)
-   **`video_processor.py`**: The main entry point. Orchestrates the flow.
-   **`transcript_extractor.py`**: Wraps `youtube-transcript-api` to get subtitles.
-   **`content_analyzer.py`**: Uses Gemini API to understand video content and structure the page.
-   **`page_generator.py`**: Renders Jinja2 templates into `.tsx` and `.module.css` files.
-   **`image_handler.py`**: Downloads and optimizes video thumbnails.

### Templates (`resources/templates/`)
-   **`page.tsx.j2`**: Next.js page template with built-in Schema.org, responsive video embed, and SEO metadata.
-   **`page.module.css.j2`**: Matching CSS module for the generated page.

## Usage

### 1. Installation

Install the required Python dependencies:

```bash
pip install -r resources/requirements.txt
```

Set your Gemini API key:

```powershell
$env:GEMINI_API_KEY = "your_api_key_here"
```

### 2. Generate a Page

**From a YouTube URL:**

```bash
python resources/scripts/video_processor.py --url "https://www.youtube.com/watch?v=VIDEO_ID"
```

**From a Keyword (Auto-Search):**

```bash
python resources/scripts/video_processor.py --keyword "game topic to search"
```

The script will:
1.  Analyze the video.
2.  Generate a new page in `app/guides/[topic-slug]/`.
3.  Download images to `public/images/guides/[topic-slug]/`.
4.  Print a report.

### 3. Verify

Run the build to ensure everything is correct:

```bash
npm run build
```

Files in this skill

  • SKILL.md1.8 KB
  • resources/requirements.txt158 B
  • resources/scripts/content_analyzer.py2.2 KB
  • resources/scripts/image_handler.py1.4 KB
  • resources/scripts/keyword_searcher.py1.8 KB
  • resources/scripts/page_generator.py1.1 KB
  • resources/scripts/transcript_extractor.py1.2 KB
  • resources/scripts/video_processor.py4.4 KB
  • resources/templates/page.module.css.j21.2 KB
  • resources/templates/page.tsx.j25.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.