شعار Script And Audio

Script And Audio

المجتمع
Mohcen56
script-and-audio

Write or tighten a YouTube script so it edits cleanly in code (short beats, clear turns, concrete examples, line-to-visual plan) and prepare/cut the voiceover audio (transcribe, catch Whisper skipped spans, tighten pauses, check WPM and loudness). Use before `edit` when starting from a topic, a rough draft, or a raw voiceover.

نظرة عامة

الناشرMohcen56
المستودعytb-edit-kit
اسم المهارةscript-and-audio
النجوم
166
التفريعات
25
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها Mohcen56 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Script And Audio في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Mohcen56/ytb-edit-kit/tree/main/.agents/skills/script-and-audio
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mohcen56/ytb-edit-kit.git /tmp/ytb-edit-kit
mkdir -p .claude/skills
cp -r /tmp/ytb-edit-kit/.agents/skills/script-and-audio .claude/skills/script-and-audio
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Script And Audio في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Script And Audio تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Script And Audio بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Script structure & audio cutting

Great edits start with an editable script and clean, tightly cut audio. Raw rambling voiceovers force the editor to guess visuals; clean beats and tight audio make every shot land on the word.


Part 1 · Script structure (write for the edit)

Read brand/about_me/ first so the voice, audience, and examples match the creator.

1. Shape & retention

  • Hook (first ~15 s): Start with the finished result, the surprise, or the problem—never "hey guys welcome back". Show the first real result or payoff by ~0:15, and flash 2–3 quick previews of what's coming in the first 10 s.
  • Give a reason to stay: Put the strongest item first, save a strong one for last, and tease it early.
  • Break the rhythm: Don't give every section the exact same 30-second template. Mix fast hits (10 s), short stories ("this saved me when…"), and before/after comparisons.
  • One piece, start to finish: Every section must lead into the next. If you open with a rant or problem, turn it with a personal story ("I used to think…") into a concrete answer.
  • Outro: Always connect back to the hook and close cleanly with the creator's call-to-action.

2. Write in visual beats (not walls of text)

  • Short sentences, one idea per breath: Keep sentences short enough to say in one breath, with an occasional longer "thinking out loud" line for natural rhythm.
  • Explicit turns & reasons: Use "but" to flip an idea (maps cleanly to strike2 or pick2), "because" to give the reason right after a claim, and "..." before a reveal.
  • Concrete examples & real numbers: Replace abstract claims with everyday examples ("tell it to build an e-commerce app") and real numbers ("from a year, to 8 months, to 3 months" → maps to bars2 or words).
  • Cut AI clichés: Strip phrases like "Here's the part nobody talks about", "Let's be real", "In today's world", "game-changer", "unlock", "dive in", stacked one-word zingers, and em-dash asides.
  • Mark visual cues & links: Put website URLs next to tool names, and draft a quick line → visual beat table (especially for screen-recording tutorials, where the script must match the exact order of actions on screen).

Part 2 · Audio editing & cutting

Run these inside videos/<name>/audio/ with voice.mp3 in place.

1. Transcribe & catch Whisper skipped spans

bash
python ../../../tools/transcribe.py voice.mp3 ../script.txt
  • Pass ../script.txt so Whisper spells tool names and terms accurately.
  • Check for skipped spans: transcribe.py warns if there is a > 4 s gap between segments or if the transcript ends > 5 s before the audio ends. faster-whisper (small.en) can occasionally skip 20–30 s chunks of speech.
  • If a span was skipped: Slice that range with FFmpeg, transcribe the slice, offset its timestamps, and merge it into words.json before tightening:
    bash
    ffmpeg -ss <START> -to <END> -i voice.mp3 slice.wav
    python ../../../tools/transcribe.py slice.wav ../script.txt

2. Cut pauses & normalize loudness (tighten.py)

bash
python ../../../tools/tighten.py

What tighten.py does automatically:

  • Detects silences longer than 0.30 s (-34 dB) and shrinks them to 0.22 s (with 12 ms fade-in/out on every cut so there are no clicks).
  • If voiceover_cadence.txt exists with <break time="0.5s"/> tags, preserves those intentional dramatic pauses while tightening everything else.
  • Normalizes loudness to YouTube target (-14 LUFS, -1.5 dBTP) at 48 kHz and outputs voice_tight.wav + words_tight.json + cuts.json.
  • Optional pacing check: Target roughly 175–190 WPM after tightening. If the delivery is noticeably slow (under ~170 WPM), you can gently speed it up with FFmpeg atempo (never past 1.10x / ~195 WPM, and re-run transcribe.py if you change speed).

3. Verify the final mix

After build.py and hyperframes render, run:

bash
python tools/edit_kit/final_check.py videos/<name> videos/<name>/renders/<name>_v01.mp4

Confirm every word is clearly heard (no SFX covering a word) and loudness sits around -14 LUFS.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Script And Audio؟

Write or tighten a YouTube script so it edits cleanly in code (short beats, clear turns, concrete examples, line-to-visual plan) and prepare/cut the voiceover audio (transcribe, catch Whisper skipped spans, tighten pauses, check WPM and loudness). Use before `edit` when starting from a topic, a rough draft, or a raw voiceover.

لماذا تستخدم Script And Audio على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Script And Audio عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Script And Audio في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Mohcen56/ytb-edit-kit/tree/main/.agents/skills/script-and-audio. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Script And Audio؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Script And Audio؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Script And Audio معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Script And Audio مجانية؟

نعم. نشرها Mohcen56 على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇