[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C6DAQBQZYY36G91TSC764H":3,"skill-same:01M7C6DAQBQZYY36G91TSC764H":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7C6DAQBQZYY36G91TSC764H","youtube-summarizer",null,"Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fyoutube-summarizer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: youtube-summarizer\ndescription: \"Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks\"\ncategory: content\nrisk: safe\nsource: community\ntags: \"[video, summarization, transcription, youtube, content-analysis]\"\ndate_added: \"2026-02-27\"\n---\n\n# youtube-summarizer\n\n## Purpose\n\nThis skill extracts transcripts from YouTube videos and generates comprehensive, verbose summaries using the STAR + R-I-S-E framework. It validates video availability, extracts transcripts using the `youtube-transcript-api` Python library, and produces detailed documentation capturing all insights, arguments, and key points.\n\nThe skill is designed for users who need thorough content analysis and reference documentation from educational videos, lectures, tutorials, or informational content.\n\n## When to Use This Skill\n\nThis skill should be used when:\n\n- User provides a YouTube video URL and wants a detailed summary\n- User needs to document video content for reference without rewatching\n- User wants to extract insights, key points, and arguments from educational content\n- User needs transcripts from YouTube videos for analysis\n- User asks to \"summarize\", \"resume\", or \"extract content\" from YouTube videos\n- User wants comprehensive documentation prioritizing completeness over brevity\n\n## Step 0: Discovery & Setup\n\nBefore processing videos, validate the environment and dependencies:\n\n```bash\n# Check if youtube-transcript-api is installed\npython3 -c \"import youtube_transcript_api\" 2>\u002Fdev\u002Fnull\nif [ $? -ne 0 ]; then\n    echo \"⚠️  youtube-transcript-api not found\"\n    # Offer to install\nfi\n\n# Check Python availability\nif ! command -v python3 &>\u002Fdev\u002Fnull; then\n    echo \"❌ Python 3 is required but not installed\"\n    exit 1\nfi\n```\n\n**Ask the user if dependency is missing:**\n\n```\nyoutube-transcript-api is required but not installed.\n\nWould you like to install it now?\n- [ ] Yes - Install with pip (pip install youtube-transcript-api)\n- [ ] No - I'll install it manually\n```\n\n**If user selects \"Yes\":**\n\n```bash\npip install youtube-transcript-api\n```\n\n**Verify installation:**\n\n```bash\npython3 -c \"import youtube_transcript_api; print('✅ youtube-transcript-api installed successfully')\"\n```\n\n## Main Workflow\n\n### Progress Tracking Guidelines\n\nThroughout the workflow, display a visual progress gauge before each step to keep the user informed. The gauge format is:\n\n```bash\necho \"[████░░░░░░░░░░░░░░░░] 20% - Step 1\u002F5: Validating URL\"\n```\n\n**Format specifications:**\n- 20 characters wide (use █ for filled, ░ for empty)\n- Percentage increments: Step 1=20%, Step 2=40%, Step 3=60%, Step 4=80%, Step 5=100%\n- Step counter showing current\u002Ftotal (e.g., \"Step 3\u002F5\")\n- Brief description of current phase\n\n**Display the initial status box before Step 1:**\n\n```\n╔══════════════════════════════════════════════════════════════╗\n║     📹  YOUTUBE SUMMARIZER - Processing Video                ║\n╠══════════════════════════════════════════════════════════════╣\n║ → Step 1: Validating URL                 [IN PROGRESS]       ║\n║ ○ Step 2: Checking Availability                              ║\n║ ○ Step 3: Extracting Transcript                              ║\n║ ○ Step 4: Generating Summary                                 ║\n║ ○ Step 5: Formatting Output                                  ║\n╠══════════════════════════════════════════════════════════════╣\n║ Progress: ██████░░░░░░░░░░░░░░░░░░░░░░░░  20%               ║\n╚══════════════════════════════════════════════════════════════╝\n```\n\n### Step 1: Validate YouTube URL\n\n**Objective:** Extract video ID and validate URL format.\n\n**Supported URL Formats:**\n- `https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID`\n- `https:\u002F\u002Fyoutube.com\u002Fwatch?v=VIDEO_ID`\n- `https:\u002F\u002Fyoutu.be\u002FVIDEO_ID`\n- `https:\u002F\u002Fm.youtube.com\u002Fwatch?v=VIDEO_ID`\n\n**Actions:**\n\n```bash\n# Extract video ID using regex or URL parsing\nURL=\"$USER_PROVIDED_URL\"\n\n# Pattern 1: youtube.com\u002Fwatch?v=VIDEO_ID\nif echo \"$URL\" | grep -qE 'youtube\\.com\u002Fwatch\\?v='; then\n    VIDEO_ID=$(echo \"$URL\" | sed -E 's\u002F.*[?&]v=([^&]+).*\u002F\\1\u002F')\n# Pattern 2: youtu.be\u002FVIDEO_ID  \nelif echo \"$URL\" | grep -qE 'youtu\\.be\u002F'; then\n    VIDEO_ID=$(echo \"$URL\" | sed -E 's\u002F.*youtu\\.be\\\u002F([^?]+).*\u002F\\1\u002F')\nelse\n    echo \"❌ Invalid YouTube URL format\"\n    exit 1\nfi\n\necho \"📹 Video ID extracted: $VIDEO_ID\"\n```\n\n**If URL is invalid:**\n\n```\n❌ Invalid YouTube URL\n\nPlease provide a valid YouTube URL in one of these formats:\n- https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\n- https:\u002F\u002Fyoutu.be\u002FVIDEO_ID\n\nExample: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=dQw4w9WgXcQ\n```\n\n### Step 2: Check Video & Transcript Availability\n\n**Progress:**\n```bash\necho \"[████████░░░░░░░░░░░░] 40% - Step 2\u002F5: Checking Availability\"\n```\n\n**Objective:** Verify video exists and transcript is accessible.\n\n**Actions:**\n\n```python\nfrom youtube_transcript_api import YouTubeTranscriptApi, TranscriptsDisabled, NoTranscriptFound\nimport sys\n\nvideo_id = sys.argv[1]\n\ntry:\n    # Get list of available transcripts\n    transcript_list = YouTubeTranscriptApi.list_transcripts(video_id)\n    \n    print(f\"✅ Video accessible: {video_id}\")\n    print(\"📝 Available transcripts:\")\n    \n    for transcript in transcript_list:\n        print(f\"  - {transcript.language} ({transcript.language_code})\")\n        if transcript.is_generated:\n            print(\"    [Auto-generated]\")\n    \nexcept TranscriptsDisabled:\n    print(f\"❌ Transcripts are disabled for video {video_id}\")\n    sys.exit(1)\n    \nexcept NoTranscriptFound:\n    print(f\"❌ No transcript found for video {video_id}\")\n    sys.exit(1)\n    \nexcept Exception as e:\n    print(f\"❌ Error accessing video: {e}\")\n    sys.exit(1)\n```\n\n**Error Handling:**\n\n| Error | Message | Action |\n|-------|---------|--------|\n| Video not found | \"❌ Video does not exist or is private\" | Ask user to verify URL |\n| Transcripts disabled | \"❌ Transcripts are disabled for this video\" | Cannot proceed |\n| No transcript available | \"❌ No transcript found (not auto-generated or manually added)\" | Cannot proceed |\n| Private\u002Frestricted video | \"❌ Video is private or restricted\" | Ask for public video |\n\n### Step 3: Extract Transcript\n\n**Progress:**\n```bash\necho \"[████████████░░░░░░░░] 60% - Step 3\u002F5: Extracting Transcript\"\n```\n\n**Objective:** Retrieve transcript in preferred language.\n\n**Actions:**\n\n```python\nfrom youtube_transcript_api import YouTubeTranscriptApi\n\nvideo_id = \"VIDEO_ID\"\n\ntry:\n    # Try to get transcript in user's preferred language first\n    # Fall back to English if not available\n    transcript = YouTubeTranscriptApi.get_transcript(\n        video_id, \n        languages=['pt', 'en']  # Prefer Portuguese, fallback to English\n    )\n    \n    # Combine transcript segments into full text\n    full_text = \" \".join([entry['text'] for entry in transcript])\n    \n    # Get video metadata\n    from youtube_transcript_api import YouTubeTranscriptApi\n    transcript_list = YouTubeTranscriptApi.list_transcripts(video_id)\n    \n    print(\"✅ Transcript extracted successfully\")\n    print(f\"📊 Transcript length: {len(full_text)} characters\")\n    \n    # Save to temporary file for processing\n    with open(f\"\u002Ftmp\u002Ftranscript_{video_id}.txt\", \"w\") as f:\n        f.write(full_text)\n    \nexcept Exception as e:\n    print(f\"❌ Error extracting transcript: {e}\")\n    exit(1)\n```\n\n**Transcript Processing:**\n\n- Combine all transcript segments into coherent text\n- Preserve punctuation and formatting where available\n- Remove duplicate or overlapping segments (if auto-generated artifacts)\n- Store in temporary file for analysis\n\n### Step 4: Generate Comprehensive Summary\n\n**Progress:**\n```bash\necho \"[████████████████░░░░] 80% - Step 4\u002F5: Generating Summary\"\n```\n\n**Objective:** Apply enhanced STAR + R-I-S-E prompt to create detailed summary.\n\n**Prompt Applied:**\n\nUse the enhanced prompt from Phase 2 (STAR + R-I-S-E framework) with the extracted transcript as input.\n\n**Actions:**\n\n1. Load the full transcript text\n2. Apply the comprehensive summarization prompt\n3. Use AI model (Claude\u002FGPT) to generate structured summary\n4. Ensure output follows the defined structure:\n   - Header with video metadata\n   - Executive synthesis\n   - Detailed section-by-section breakdown\n   - Key insights and conclusions\n   - Concepts and terminology\n   - Resources and references\n\n**Implementation:**\n\n```bash\n# Use the transcript file as input to the AI prompt\nTRANSCRIPT_FILE=\"\u002Ftmp\u002Ftranscript_${VIDEO_ID}.txt\"\n\n# The AI agent will:\n# 1. Read the transcript\n# 2. Apply the STAR + R-I-S-E summarization framework\n# 3. Generate comprehensive Markdown output\n# 4. Structure with headers, lists, and highlights\n\nRead \"$TRANSCRIPT_FILE\"  # Read transcript into context\n```\n\nThen apply the full summarization prompt (from enhanced version in Phase 2).\n\n### Step 5: Format and Present Output\n\n**Progress:**\n```bash\necho \"[████████████████████] 100% - Step 5\u002F5: Formatting Output\"\n```\n\n**Objective:** Deliver the summary in clean, well-structured Markdown.\n\n**Output Structure:**\n\n```markdown\n# [Video Title]\n\n**Canal:** [Channel Name]  \n**Duração:** [Duration]  \n**URL:** [https:\u002F\u002Fyoutube.com\u002Fwatch?v=VIDEO_ID]  \n**Data de Publicação:** [Date if available]\n\n\n## 📝 Detailed Summary\n\n### [Topic 1]\n\n[Comprehensive explanation with examples, data, quotes...]\n\n#### [Subtopic 1.1]\n\n[Detailed breakdown...]\n\n### [Topic 2]\n\n[Continued detailed analysis...]\n\n\n## 📚 Concepts and Terminology\n\n- **[Term 1]:** [Definition and context]\n- **[Term 2]:** [Definition and context]\n\n\n## 📌 Conclusion\n\n[Final synthesis and takeaways]\n\n\n### **Example 2: Missing Dependency**\n\n**User Input:**\n```\nclaude> summarize this youtube video https:\u002F\u002Fyoutu.be\u002Fabc123\n```\n\n**Skill Response:**\n\n```\n⚠️  youtube-transcript-api not installed\n\nThis skill requires the Python library 'youtube-transcript-api'.\n\nWould you like me to install it now?\n- [ ] Yes - Install with pip\n- [ ] No - I'll install manually\n```\n\n**User selects \"Yes\":**\n\n```bash\n$ pip install youtube-transcript-api\nSuccessfully installed youtube-transcript-api-0.6.1\n\n✅ Installation complete! Proceeding with video summary...\n```\n\n\n### **Example 4: Invalid URL**\n\n**User Input:**\n```\nclaude> summarize youtube video www.youtube.com\u002Fsome-video\n```\n\n**Skill Response:**\n\n```\n❌ Invalid YouTube URL format\n\nExpected format examples:\n- https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\n- https:\u002F\u002Fyoutu.be\u002FVIDEO_ID\n\nPlease provide a valid YouTube video URL.\n```\n\n\n## 📊 Executive Summary\n\nThis video provides a comprehensive introduction to the fundamental concepts of Artificial Intelligence (AI), designed for beginners and professionals who want to understand the technical foundations and practical applications of modern AI. The instructor covers everything from basic definitions to machine learning algorithms, using practical examples and visualizations to facilitate understanding.\n\n[... continued detailed summary ...]\n```\n\n**Save Options:**\n\n```\nWhat would you like to save?\n→ Summary + raw transcript\n\n✅ File saved: resumo-exemplo123-2026-02-01.md (includes raw transcript)\n[████████████████████] 100% - ✓ Processing complete!\n```\n\n\nWelcome to this comprehensive tutorial on machine learning fundamentals. In today's video, we'll explore the core concepts that power modern AI systems...\n```\n\n\n**Version:** 1.2.0\n**Last Updated:** 2026-02-02\n**Maintained By:** Eric Andrade\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","# youtube-summarizer\n\n## Purpose\n\nThis skill extracts transcripts from YouTube videos and generates comprehensive, verbose summaries using the STAR + R-I-S-E framework. It validates video availability, extracts transcripts using the `youtube-transcript-api` Python library, and produces detailed documentation capturing all insights, arguments, and key points.\n\nThe skill is designed for users who need thorough content analysis and reference documentation from educational videos, lectures, tutorials, or informational content.\n\n## When to Use This Skill\n\nThis skill should be used when:\n\n- User provides a YouTube video URL and wants a detailed summary\n- User needs to document video content for reference without rewatching\n- User wants to extract insights, key points, and arguments from educational content\n- User needs transcripts from YouTube videos for analysis\n- User asks to \"summarize\", \"resume\", or \"extract content\" from YouTube videos\n- User wants comprehensive documentation prioritizing completeness over brevity\n\n## Step 0: Discovery & Setup\n\nBefore processing videos, validate the environment and dependencies:\n\n```bash\n# Check if youtube-transcript-api is installed\npython3 -c \"import youtube_transcript_api\" 2>\u002Fdev\u002Fnull\nif [ $? -ne 0 ]; then\n    echo \"⚠️  youtube-transcript-api not found\"\n    # Offer to install\nfi\n\n# Check Python availability\nif ! command -v python3 &>\u002Fdev\u002Fnull; then\n    echo \"❌ Python 3 is required but not installed\"\n    exit 1\nfi\n```\n\n**Ask the user if dependency is missing:**\n\n```\nyoutube-transcript-api is required but not installed.\n\nWould you like to install it now?\n- [ ] Yes - Install with pip (pip install youtube-transcript-api)\n- [ ] No - I'll install it manually\n```\n\n**If user selects \"Yes\":**\n\n```bash\npip install youtube-transcript-api\n```\n\n**Verify installation:**\n\n```bash\npython3 -c \"import youtube_transcript_api; print('✅ youtube-transcript-api installed successfully')\"\n```\n\n## Main Workflow\n\n### Progress Tracking Guidelines\n\nThroughout the workflow, display a visual progress gauge before each step to keep the user informed. The gauge format is:\n\n```bash\necho \"[████░░░░░░░░░░░░░░░░] 20% - Step 1\u002F5: Validating URL\"\n```\n\n**Format specifications:**\n- 20 characters wide (use █ for filled, ░ for empty)\n- Percentage increments: Step 1=20%, Step 2=40%, Step 3=60%, Step 4=80%, Step 5=100%\n- Step counter showing current\u002Ftotal (e.g., \"Step 3\u002F5\")\n- Brief description of current phase\n\n**Display the initial status box before Step 1:**\n\n```\n╔══════════════════════════════════════════════════════════════╗\n║     📹  YOUTUBE SUMMARIZER - Processing Video                ║\n╠══════════════════════════════════════════════════════════════╣\n║ → Step 1: Validating URL                 [IN PROGRESS]       ║\n║ ○ Step 2: Checking Availability                              ║\n║ ○ Step 3: Extracting Transcript                              ║\n║ ○ Step 4: Generating Summary                                 ║\n║ ○ Step 5: Formatting Output                                  ║\n╠══════════════════════════════════════════════════════════════╣\n║ Progress: ██████░░░░░░░░░░░░░░░░░░░░░░░░  20%               ║\n╚══════════════════════════════════════════════════════════════╝\n```\n\n### Step 1: Validate YouTube URL\n\n**Objective:** Extract video ID and validate URL format.\n\n**Supported URL Formats:**\n- `https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID`\n- `https:\u002F\u002Fyoutube.com\u002Fwatch?v=VIDEO_ID`\n- `https:\u002F\u002Fyoutu.be\u002FVIDEO_ID`\n- `https:\u002F\u002Fm.youtube.com\u002Fwatch?v=VIDEO_ID`\n\n**Actions:**\n\n```bash\n# Extract video ID using regex or URL parsing\nURL=\"$USER_PROVIDED_URL\"\n\n# Pattern 1: youtube.com\u002Fwatch?v=VIDEO_ID\nif echo \"$URL\" | grep -qE 'youtube\\.com\u002Fwatch\\?v='; then\n    VIDEO_ID=$(echo \"$URL\" | sed -E 's\u002F.*[?&]v=([^&]+).*\u002F\\1\u002F')\n# Pattern 2: youtu.be\u002FVIDEO_ID  \nelif echo \"$URL\" | grep -qE 'youtu\\.be\u002F'; then\n    VIDEO_ID=$(echo \"$URL\" | sed -E 's\u002F.*youtu\\.be\\\u002F([^?]+).*\u002F\\1\u002F')\nelse\n    echo \"❌ Invalid YouTube URL format\"\n    exit 1\nfi\n\necho \"📹 Video ID extracted: $VIDEO_ID\"\n```\n\n**If URL is invalid:**\n\n```\n❌ Invalid YouTube URL\n\nPlease provide a valid YouTube URL in one of these formats:\n- https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\n- https:\u002F\u002Fyoutu.be\u002FVIDEO_ID\n\nExample: https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=dQw4w9WgXcQ\n```\n\n### Step 2: Check Video & Transcript Availability\n\n**Progress:**\n```bash\necho \"[████████░░░░░░░░░░░░] 40% - Step 2\u002F5: Checking Availability\"\n```\n\n**Objective:** Verify video exists and transcript is accessible.\n\n**Actions:**\n\n```python\nfrom youtube_transcript_api import YouTubeTranscriptApi, TranscriptsDisabled, NoTranscriptFound\nimport sys\n\nvideo_id = sys.argv[1]\n\ntry:\n    # Get list of available transcripts\n    transcript_list = YouTubeTranscriptApi.list_transcripts(video_id)\n    \n    print(f\"✅ Video accessible: {video_id}\")\n    print(\"📝 Available transcripts:\")\n    \n    for transcript in transcript_list:\n        print(f\"  - {transcript.language} ({transcript.language_code})\")\n        if transcript.is_generated:\n            print(\"    [Auto-generated]\")\n    \nexcept TranscriptsDisabled:\n    print(f\"❌ Transcripts are disabled for video {video_id}\")\n    sys.exit(1)\n    \nexcept NoTranscriptFound:\n    print(f\"❌ No transcript found for video {video_id}\")\n    sys.exit(1)\n    \nexcept Exception as e:\n    print(f\"❌ Error accessing video: {e}\")\n    sys.exit(1)\n```\n\n**Error Handling:**\n\n| Error | Message | Action |\n|-------|---------|--------|\n| Video not found | \"❌ Video does not exist or is private\" | Ask user to verify URL |\n| Transcripts disabled | \"❌ Transcripts are disabled for this video\" | Cannot proceed |\n| No transcript available | \"❌ No transcript found (not auto-generated or manually added)\" | Cannot proceed |\n| Private\u002Frestricted video | \"❌ Video is private or restricted\" | Ask for public video |\n\n### Step 3: Extract Transcript\n\n**Progress:**\n```bash\necho \"[████████████░░░░░░░░] 60% - Step 3\u002F5: Extracting Transcript\"\n```\n\n**Objective:** Retrieve transcript in preferred language.\n\n**Actions:**\n\n```python\nfrom youtube_transcript_api import YouTubeTranscriptApi\n\nvideo_id = \"VIDEO_ID\"\n\ntry:\n    # Try to get transcript in user's preferred language first\n    # Fall back to English if not available\n    transcript = YouTubeTranscriptApi.get_transcript(\n        video_id, \n        languages=['pt', 'en']  # Prefer Portuguese, fallback to English\n    )\n    \n    # Combine transcript segments into full text\n    full_text = \" \".join([entry['text'] for entry in transcript])\n    \n    # Get video metadata\n    from youtube_transcript_api import YouTubeTranscriptApi\n    transcript_list = YouTubeTranscriptApi.list_transcripts(video_id)\n    \n    print(\"✅ Transcript extracted successfully\")\n    print(f\"📊 Transcript length: {len(full_text)} characters\")\n    \n    # Save to temporary file for processing\n    with open(f\"\u002Ftmp\u002Ftranscript_{video_id}.txt\", \"w\") as f:\n        f.write(full_text)\n    \nexcept Exception as e:\n    print(f\"❌ Error extracting transcript: {e}\")\n    exit(1)\n```\n\n**Transcript Processing:**\n\n- Combine all transcript segments into coherent text\n- Preserve punctuation and formatting where available\n- Remove duplicate or overlapping segments (if auto-generated artifacts)\n- Store in temporary file for analysis\n\n### Step 4: Generate Comprehensive Summary\n\n**Progress:**\n```bash\necho \"[████████████████░░░░] 80% - Step 4\u002F5: Generating Summary\"\n```\n\n**Objective:** Apply enhanced STAR + R-I-S-E prompt to create detailed summary.\n\n**Prompt Applied:**\n\nUse the enhanced prompt from Phase 2 (STAR + R-I-S-E framework) with the extracted transcript as input.\n\n**Actions:**\n\n1. Load the full transcript text\n2. Apply the comprehensive summarization prompt\n3. Use AI model (Claude\u002FGPT) to generate structured summary\n4. Ensure output follows the defined structure:\n   - Header with video metadata\n   - Executive synthesis\n   - Detailed section-by-section breakdown\n   - Key insights and conclusions\n   - Concepts and terminology\n   - Resources and references\n\n**Implementation:**\n\n```bash\n# Use the transcript file as input to the AI prompt\nTRANSCRIPT_FILE=\"\u002Ftmp\u002Ftranscript_${VIDEO_ID}.txt\"\n\n# The AI agent will:\n# 1. Read the transcript\n# 2. Apply the STAR + R-I-S-E summarization framework\n# 3. Generate comprehensive Markdown output\n# 4. Structure with headers, lists, and highlights\n\nRead \"$TRANSCRIPT_FILE\"  # Read transcript into context\n```\n\nThen apply the full summarization prompt (from enhanced version in Phase 2).\n\n### Step 5: Format and Present Output\n\n**Progress:**\n```bash\necho \"[████████████████████] 100% - Step 5\u002F5: Formatting Output\"\n```\n\n**Objective:** Deliver the summary in clean, well-structured Markdown.\n\n**Output Structure:**\n\n```markdown\n# [Video Title]\n\n**Canal:** [Channel Name]  \n**Duração:** [Duration]  \n**URL:** [https:\u002F\u002Fyoutube.com\u002Fwatch?v=VIDEO_ID]  \n**Data de Publicação:** [Date if available]\n\n\n## 📝 Detailed Summary\n\n### [Topic 1]\n\n[Comprehensive explanation with examples, data, quotes...]\n\n#### [Subtopic 1.1]\n\n[Detailed breakdown...]\n\n### [Topic 2]\n\n[Continued detailed analysis...]\n\n\n## 📚 Concepts and Terminology\n\n- **[Term 1]:** [Definition and context]\n- **[Term 2]:** [Definition and context]\n\n\n## 📌 Conclusion\n\n[Final synthesis and takeaways]\n\n\n### **Example 2: Missing Dependency**\n\n**User Input:**\n```\nclaude> summarize this youtube video https:\u002F\u002Fyoutu.be\u002Fabc123\n```\n\n**Skill Response:**\n\n```\n⚠️  youtube-transcript-api not installed\n\nThis skill requires the Python library 'youtube-transcript-api'.\n\nWould you like me to install it now?\n- [ ] Yes - Install with pip\n- [ ] No - I'll install manually\n```\n\n**User selects \"Yes\":**\n\n```bash\n$ pip install youtube-transcript-api\nSuccessfully installed youtube-transcript-api-0.6.1\n\n✅ Installation complete! Proceeding with video summary...\n```\n\n\n### **Example 4: Invalid URL**\n\n**User Input:**\n```\nclaude> summarize youtube video www.youtube.com\u002Fsome-video\n```\n\n**Skill Response:**\n\n```\n❌ Invalid YouTube URL format\n\nExpected format examples:\n- https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=VIDEO_ID\n- https:\u002F\u002Fyoutu.be\u002FVIDEO_ID\n\nPlease provide a valid YouTube video URL.\n```\n\n\n## 📊 Executive Summary\n\nThis video provides a comprehensive introduction to the fundamental concepts of Artificial Intelligence (AI), designed for beginners and professionals who want to understand the technical foundations and practical applications of modern AI. The instructor covers everything from basic definitions to machine learning algorithms, using practical examples and visualizations to facilitate understanding.\n\n[... continued detailed summary ...]\n```\n\n**Save Options:**\n\n```\nWhat would you like to save?\n→ Summary + raw transcript\n\n✅ File saved: resumo-exemplo123-2026-02-01.md (includes raw transcript)\n[████████████████████] 100% - ✓ Processing complete!\n```\n\n\nWelcome to this comprehensive tutorial on machine learning fundamentals. In today's video, we'll explore the core concepts that power modern AI systems...\n```\n\n\n**Version:** 1.2.0\n**Last Updated:** 2026-02-02\n**Maintained By:** Eric Andrade\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"tags":25,"source":26,"category":27,"date_added":28,"description":7},"safe","[video, summarization, transcription, youtube, content-analysis]","community","content","2026-02-27","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fyoutube-summarizer",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill youtube-summarizer",{"tool":44,"command":45},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill youtube-summarizer",{"tool":47,"command":48},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill youtube-summarizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fyoutube-summarizer\u002FSKILL.md",true,[52,58,62,68],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"CHANGELOG.md","REFERENCE","参考文档",2023,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fyoutube-summarizer\u002FCHANGELOG.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"README.md",8960,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fyoutube-summarizer\u002FREADME.md",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fextract-transcript.py","SCRIPT","脚本",2419,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fyoutube-summarizer\u002Fscripts\u002Fextract-transcript.py",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Finstall-dependencies.sh",904,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fplugins\u002Fantigravity-awesome-skills-claude\u002Fskills\u002Fyoutube-summarizer\u002Fscripts\u002Finstall-dependencies.sh",[73,80,87,94,101,108],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]