Skillpedia
البحث260k · #604

youtube-content

ما الذي تفعله

يأخذ الذكاء الاصطناعي لديك النص المفرّغ من فيديو يوتيوب ويعيد تشكيله في محتوى مكتوب مفيد. وهي لمن يريد النقاط الأساسية لفيديو في صورة نص.

متى تستخدمها

  • ✓عندما تشارك رابط يوتيوب وتطلب ملخصًا للفيديو.
  • ✓عندما تريد النص المفرّغ لفيديو يوتيوب للقراءة أو الاقتباس.
  • ✓عندما تريد تحويل فيديو إلى فصول أو سلسلة للتواصل الاجتماعي أو مقالة مدونة.

رابط المهارة

https://github.com/NousResearch/hermes-agent/blob/main/skills/media/youtube-content/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/NousResearch/hermes-agent/blob/main/skills/media/youtube-content/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

📦 هذه المهارة موجودة في هذه الحزم

مثال على ما تطلبه من الذكاء الاصطناعي

“لخّص هذا الفيديو على يوتيوب في نقاط أساسية، مع الوقت لكل فصل.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تستخدم المهارة مساعد Python يجلب النص المفرّغ للفيديو. ثم يعيد الذكاء الاصطناعي ترتيب النص بالصيغة التي تطلبها، مثل ملخص أو مقالة مدونة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

YouTube Content Tool

When to use

Use when the user shares a YouTube URL or video link, asks to summarize a video, requests a transcript, or wants to extract and reformat content from any YouTube video. Transforms transcripts into structured content (chapters, summaries, threads, blog posts).

Extract transcripts from YouTube videos and convert them into useful formats.

Setup

Use terminal with the Python from a PM-prepared Hermes source checkout. The youtube extra declares the helper's dependency; do not install packages into Hermes with raw pip or project-discovering uv run.

From that checkout, first follow the isolated development-home setup in Package Management, then prepare the extra and reactivate before running the helper:

source ./activate
python -c "import pm; pm.sync_venv(['youtube'], explicit=True)"
source ./activate
python -c "import youtube_transcript_api; print(youtube_transcript_api.__file__)"

On Windows, use . .\activate.ps1 instead of source ./activate. If the terminal runs on a different host or in a sandbox, use an explicitly isolated helper environment there, not the agent's production environment. Run every command below with the interpreter whose import check succeeded.

Helper Script

SKILL_DIR is the directory containing this SKILL.md file. The script accepts any standard YouTube URL format, short links (youtu.be), shorts, embeds, live links, or a raw 11-character video ID.

# JSON output with metadata
python SKILL_DIR/scripts/fetch_transcript.py "https://youtube.com/watch?v=VIDEO_ID"

# Plain text (good for piping into further processing)
python SKILL_DIR/scripts/fetch_transcript.py "URL" --text-only

# With timestamps
python SKILL_DIR/scripts/fetch_transcript.py "URL" --timestamps

# Specific language with fallback chain
python SKILL_DIR/scripts/fetch_transcript.py "URL" --language tr,en

Output Formats

After fetching the transcript, format it based on what the user asks for:

  • Chapters: Group by topic shifts, output timestamped chapter list
  • Summary: Concise 5-10 sentence overview of the entire video
  • Chapter summaries: Chapters with a short paragraph summary for each
  • Thread: Twitter/X thread format — numbered posts, each under 280 chars
  • Blog post: Full article with title, sections, and key takeaways
  • Quotes: Notable quotes with timestamps

Example — Chapters Output

00:00 Introduction — host opens with the problem statement
03:45 Background — prior work and why existing solutions fall short
12:20 Core method — walkthrough of the proposed approach
24:10 Results — benchmark comparisons and key takeaways
31:55 Q&A — audience questions on scalability and next steps

Workflow

  1. Fetch the transcript using terminal and the prepared Python with --text-only --timestamps.
  2. Validate: confirm the output is non-empty and in the expected language. If empty, retry without --language to get any available transcript. If still empty, tell the user the video likely has transcripts disabled.
  3. Chunk if needed: if the transcript exceeds 50K characters, split into overlapping chunks (40K with 2K overlap) and summarize each chunk before merging.
  4. Transform into the requested output format. If the user did not specify a format, default to a summary.
  5. Verify: re-read the transformed output to check for coherence, correct timestamps, and completeness before presenting.

Error Handling

  • Transcript disabled: tell the user; suggest they check if subtitles are available on the video page.
  • Private/unavailable video: relay the error and ask the user to verify the URL.
  • No matching language: retry without --language to fetch any available transcript, then note the actual language to the user.
  • Dependency missing: repeat PM preparation and reactivation above, then verify the helper uses that Python. Do not repair the selected generation with pip.
الأسئلة الشائعة

هل تحتاج إلى تثبيت إضافي؟

نعم. تحتاج المهارة إلى الإضافة youtube من نسخة مصدر Hermes، وتُعد في بيئة معزولة.

ما الصيغ التي تنتجها؟

تذكر المهارة الفصول والملخصات والسلاسل والمقالات.

هل تشاهد الفيديو؟

لا. تعمل المهارة من نص المقطع فقط.

التفاصيل

الوصف الأصلي من المؤلف

YouTube transcripts to summaries, threads, blogs.

repo: NousResearch/hermes-agent

الشعبية

نجوم GitHub
260k
الترتيب
#604
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة