agentleFS
kennyzirkennyzir/7deer_skills/youtube-content-gen/SKILL.md

youtube-content-gen

Skill321 starsChanged 7 months agoMITView on GitHub

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

  • Reads credentials
  • Installs packages

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the build to ensure everything is correct:

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

pip install -r resources/requirements.txt

Set your Gemini API key:

$env:GEMINI_API_KEY = "your_api_key_here"

2. Generate a Page

From a YouTube URL:

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

From a Keyword (Auto-Search):

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:

npm run build

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.