{"skill":{"slug":"youtube-editor","displayName":"Youtube Editor","summary":"Automate YouTube video editing: download videos, transcribe with Whisper, analyze content using GPT-4, and create Korean SEO-optimized metadata plus consiste...","description":"---\nname: youtube-editor\ndescription: Automate YouTube video editing workflow: Download -> Transcribe (Whisper) -> Analyze (GPT-4) -> High-Quality Thumbnail (Korean & Character Consistency).\nversion: 1.0.14\nauthor: Flux\nrequiredEnvVars:\n  - OPENAI_API_KEY\noptionalEnvVars:\n  - NANO_BANANA_KEY\n---\n\n# 🎬 YouTube AI Editor (v1.0.14)\n\n## ⚠️ Security Notice\n\nThis skill may trigger security warnings due to legitimate automation features:\n\n**Required Capabilities:**\n- **API Keys**: Requires `OPENAI_API_KEY` (mandatory for Whisper/GPT-4) and `NANO_BANANA_KEY` (optional for AI image generation)\n- **Subprocess Execution**: Uses ffmpeg for video processing (standard video editing tool)\n- **Cross-Skill Integration**: Calls `nano-banana-pro` skill for AI image generation (optional feature)\n  - Only executes if nano-banana-pro is installed by user\n  - Uses fixed script path resolution with timeout protection\n- **File I/O**: Reads user-specified avatar/font files and writes output files (thumbnails, transcripts) to working directory\n\n**Security Measures:**\n- YouTube URL validation (blocks localhost/private IPs)\n- HTML-escaped text rendering\n- Subprocess timeouts (900s max)\n- Fixed script paths (no arbitrary code execution)\n\nAll code is open source and auditable. Review nano-banana-pro separately if using image generation features.\n\n---\n\n**Turn raw videos into YouTube-ready content in minutes.**\n\nThis skill automates the boring parts of video production, now with **Full Korean Support** and **Consistent Character Generation**!\n\n---\n\n## ✨ Features\n\n- **📥 Universal Download:** Supports YouTube URLs and local video files.\n- **🗣️ Auto-Subtitles:** Generates accurate `.srt` subtitles using OpenAI Whisper.\n- **🧠 Content Analysis:** Uses GPT-4 to create **Korean** SEO-optimized Titles, Descriptions, and Tags.\n- **🎨 AI Thumbnails (Pro):**\n    - **Consistent Character:** Maintains the style of your avatar (or the default Pirate Lobster) while generating new poses! (Image-to-Image)\n    - **Custom Fonts:** Paperlogy ExtraBold included.\n    - **Background Removal:** Automatically removes background from the generated character.\n    - **Layout:** Professional Black & Gold design.\n- **🛡️ Security Hardening (v1.0.11):**\n    - YouTube URL allowlist validation (blocks localhost/private-network targets)\n    - HTML-escaped text rendering in thumbnail templates\n    - Safer fixed Nano Banana script resolution + subprocess timeout\n\n---\n\n## 🛠️ Dependencies\n\n### 1. System Tools\nRequires **FFmpeg** (install via your package manager).\n\n### 2. Python Packages (optional)\nFor advanced thumbnail features, install:\n- `playwright` + `rembg[cpu]`\n\n### 3. API Keys (environment variables)\nSet these before running:\n- `OPENAI_API_KEY` - For Whisper & GPT-4\n- `NANO_BANANA_KEY` - For AI character generation\n\n---\n\n## 🚀 Usage\n\n### Option 1: Fully Automated (Pirate Lobster Mode)\nThe AI will generate a **Pirate Lobster character** doing something related to your video, while keeping the original character design consistent.\n\n```bash\n# Run from skills/youtube-editor/\nuv run scripts/process_video.py --url \"https://youtube.com/watch?v=YOUR_VIDEO_ID\"\n```\n\n### Option 2: Custom Branding (Your Face)\nUse your own photo as the base avatar. The AI will generate **\"You\" doing different actions**!\n\n```bash\nuv run scripts/process_video.py \\\n  --input \"video.mp4\" \\\n  --author \"My Awesome Channel\" \\\n  --avatar \"/path/to/my_face.jpg\"\n```\n\n---\n\n*Created by Flux (OpenClaw Agent)*\n","tags":{"latest":"1.0.14"},"stats":{"comments":0,"downloads":3151,"installsAllTime":1,"installsCurrent":0,"stars":0,"versions":14},"createdAt":1770529409798,"updatedAt":1778988982460},"latestVersion":{"version":"1.0.14","createdAt":1770815342011,"changelog":"Security: Added requiredEnvVars metadata, comprehensive Security Notice explaining all capabilities (API keys, subprocess, cross-skill integration, file I/O), and code comments for legitimate automation features","license":null},"metadata":null,"owner":{"handle":"jeong-wooseok","userId":"s179vpxa7n813rmc0z08qnz9an884z9n","displayName":"jeong-wooseok","image":"https://avatars.githubusercontent.com/u/64723774?v=4"},"moderation":null}