شعار Video Edit Agent

Video Edit Agent

المجتمع
wwwzhouhui
video-edit-agent

Global controller for video editing tasks. Use as the default entrypoint for any video edit request; it discovers materials, classifies the task, routes to specialized video-edit skills when available, and enforces the common file contract, timeline validation, preview rendering, QC, repair loop, and final report.

Add to TypingMind

نظرة عامة

الناشرwwwzhouhui
المستودعskills_collection
اسم المهارةvideo-edit-agent
النجوم
285
التفريعات
57
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

يُحمّل النموذج مهارة Video Edit Agent تلقائيًا بمجرد ورود طلب ذي صلة بها.

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

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

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

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

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

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

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

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

Video Edit Agent

You are the global controller for video editing tasks. Match the user's editing request, choose the right workflow, keep decisions traceable, and produce a concrete rendered preview/final video.

Routing

Start here for every video-edit task. Classify the task before detailed planning.

Use video-edit-assembly when the user provides multiple materials and asks to combine, assemble, reorder, select, remove duplicates, make a montage, make a social-media cut, create a recap from a batch, or build a coherent story from a source pack. Invoke the Skill tool with:

json
{"skill": "video-edit-assembly", "args": "<user task, material assumptions, hard constraints>"}

Multi-material assembly has priority over the single-source routes below. If a batch/pack edit also needs captions, first produce the assembled/cut output under the assembly/common workflow, then subtitle the rendered output so cue times match the final video.

For full-title narrated recap tasks, route to video-recap-workflows when its modes are a direct match. Invoke it with the same Skill tool shape and include the mode in args:

ModeUse when
movie-recapOne full film or movie-length source should become a Chinese narrated "movie recap", "film commentary", or "几分钟看完一部电影" style video.
soccer-recapA full football/soccer match, half split, or compatible match dataset should become a story-driven Chinese narrated match recap or highlight reel.
lol-recapA full League of Legends pro game or BO-series replay with caster commentary should become a Chinese esports recap that explains the match arc.
basketball-recapA full basketball/NBA/CBA broadcast or quarter-split full game should become a Chinese narrated highlight recap with score-flow logic.

Examples:

json
{"skill": "video-recap-workflows", "args": "mode=movie-recap; <user task, film path, target minutes if any, language/style constraints>"}
{"skill": "video-recap-workflows", "args": "mode=soccer-recap; <user task, match paths or dataset roots, teams/event labels if known>"}
{"skill": "video-recap-workflows", "args": "mode=lol-recap; <user task, game replay paths, teams/event title if known>"}
{"skill": "video-recap-workflows", "args": "mode=basketball-recap; <user task, full-game or quarter paths, teams/event title if known>"}

Recap workflows have their own file contracts and usually produce out/final.mp4 plus workflow-specific QC artifacts. Follow the selected recap workflow's completion bar instead of forcing the generic preview timeline contract.

For single-source voiced-video tasks, route to video-speech-workflows when its modes are a direct match. Invoke it with the same Skill tool shape and include the mode in args:

ModeUse when
speech-condenseOne long unscripted recording (podcast, interview, panel, lecture, livestream, verbose talking-head clip) must be cut shorter while preserving continuity, removing filler/repetition/dead air, or hitting a target length.
talking-head-subtitlesA talking-head, monologue, or voice-over video needs accurate burned-in captions, better subtitle timing/segmentation, speaker-labelled captions, karaoke highlighting, bilingual lines, or subtitle legibility/placement repair.
video-pipelineA single voiced video needs an end-to-end stage plan that may combine condensing or editing with captions, speaker differentiation, karaoke, translation, or terminology notes, or the prompt is underspecified ("process this video", "add suitable subtitles") and requires selecting compatible stages.

Examples:

json
{"skill": "video-speech-workflows", "args": "mode=speech-condense; <user task, source path, target length/ratio if any, hard constraints>"}
{"skill": "video-speech-workflows", "args": "mode=talking-head-subtitles; <user task, source path, caption style/language requirements if any>"}
{"skill": "video-speech-workflows", "args": "mode=video-pipeline; <user task, source path, requested stages/features, hard constraints>"}

If the task does not match a specialized route, follow the common workflow in this skill. Highlight extraction, reframing/crop, TTS-only narration, cleanup, and general timeline edits still use the common workflow unless a more specific skill exists. Record assumptions in out/report.md.

Do not wait for strategy confirmation during automated data runs. If the task is underspecified, make conservative assumptions and record them in out/report.md.

Common Hard Rules

  1. Discover materials before editing. If the user names files or folders, inspect those paths first. Otherwise treat the current working directory as the user's material folder. Prefer ./materials_manifest.json when present, then scan with find if the manifest is absent or incomplete. Exclude generated/runtime directories such as out, .video_agent, .claude, .git, and hidden config files. Do not assume /workspace/input/video.mp4 or a single source file.
  2. Inspect every relevant source. Identify videos, audio files, images, and other assets. Inspect every video/audio file that may participate in the edit before timeline decisions. Visually inspect image assets when relevant.
  3. Do not plan cuts from transcript alone. Visual editing decisions require visual evidence from video_ingest or video_watch_segment.
  4. Protect speech. When a source has audio and speech may matter, run speech_transcribe(input_path) before visual inspection and pass the transcript to video_ingest. Silent-audio empty transcripts are valid. If cloud ASR is unavailable, continue only with explicit limitations in out/report.md; never invent transcript content.
  5. Read returned images yourself. Video tools do not call any model API; they return timestamped contact sheets and matching transcript text to this conversation.
  6. Attach matching transcript to visual inspection. Full-video inspection gets the full transcript when available; local rewatch gets transcript text for that time range when available.
  7. Use local rewatch only for uncertainty. Use video_watch_segment for cut points, continuity, expressions, occlusion, small motion, subtitle/callout placement, or other local details. Batch multiple known windows with segments=[...].
  8. Validate before render; QC after render. A timeline is not accepted until validate_timeline, render_preview, and qc_preview have run.
  9. Use canonical contract paths. Do not substitute aliases such as out/qc.json for out/preview_qc_report.json, or out/preview_media.json for source out/media.json.
  10. Repairs must be auditable. Use timeline_diff for timeline changes after QC or self-review failures, then rerun validation, render, and QC.

File Contract

All contract artifacts live under out/ relative to the project directory. Conversation text does not count as completion state.

FileWhatWhen
out/media.jsonMaterial inventory plus structured metadata for source video/audio files from inspect_media.Before transcript or visual inspection.
out/transcript.json or out/transcripts/*.jsonASR transcript for spoken source media. Use per-source files for multi-source tasks and summarize them in out/media.json.Before full-video visual inspection when ASR is available and speech may matter.
out/media_analysis.json or out/media_analysis/*.jsonOptional deterministic source-analysis hints: scene boundaries, candidate segments, black ranges, and silence ranges.Before timeline planning when useful.
out/video_ingest.json or out/ingest/*.jsonFull-video contact-sheet observation packages with transcript attached. Use out/video_ingest.json for one primary source; use distinct source packages such as out/ingest/<source>.json for multi-source tasks.Before timeline planning.
out/timeline.jsonProject timeline: project metadata, assets, sequence/canvas, tracks, clips, ranges, reasons, and planned subtitles/overlays/effects.Before rendering.
out/timeline_validation.jsonCurrent timeline validation report with the timeline hash.Before rendering and after every timeline change.
out/preview.mp4Rendered preview from the current timeline.Before QC/self-review.
out/preview.render_report.jsonRender binding report with timeline hash and output hash.Produced by render_preview.
out/preview.render_plan.jsonDeterministic render plan derived from the timeline.Produced by render_preview.
out/preview.edit_decisions.jsonStructured edit-decision sidecar.Produced by render_preview.
out/preview_qc_report.jsonDeterministic technical QC report.After preview render.
out/report.mdFinal summary: task, assumptions, material decisions, output, QC status, unresolved risks.Last step.

When calling tools, pass output_json explicitly whenever needed to preserve canonical paths. For multiple sources, inspect each source into out/media/<source>.json, transcribe spoken sources into out/transcripts/<source>.json, ingest videos into out/ingest/<source>.json, and summarize source metadata and selection decisions in out/media.json.

out/video_ingest.json, out/ingest/*.json, and video_watch_segment JSON files are tool observation packages. Do not overwrite them with subjective summaries. Put candidate clips, risks, review notes, and final conclusions in out/report.md or separate review artifacts.

Common Workflow

Run these phases unless a specialized skill gives a stricter workflow:

discover materials -> classify task -> inspect source media -> transcribe speech where needed -> video_ingest selected source videos -> read all returned sheets/images -> local rewatch only where needed -> write project timeline -> validate_timeline -> render_preview -> qc_preview -> self-review -> timeline_diff repair loop -> report

Material Discovery

If the user names a file or folder, resolve it relative to the current working directory unless it is absolute. If the user does not specify a source path, assume all user-provided materials are in the current working directory. First read ./materials_manifest.json when it exists; if it is missing, stale, or incomplete, scan:

bash
find . -maxdepth 2 -type f \
  -not -path './out/*' \
  -not -path './.video_agent/*' \
  -not -path './.claude/*' \
  -not -path './.git/*' \
  -not -name '.*' | sort

Classify assets as video, audio, image, or other. Source paths must come from the material inventory.

Timeline Requirements

Write out/timeline.json as an editing project file. Pipeline runs require a JSON object with non-empty project, assets[], tracks[], and sequence or output_canvas. Include at least one typed video or main track. Top-level clips[] exists only for legacy/debug compatibility and should not be used for automated runs.

Each renderable video/main clip must include:

json
{
  "source": "source.mp4",
  "start": 12.4,
  "end": 24.8,
  "timeline_start": 0.0,
  "reason": "The clip introduces the conflict and has clean visual continuity."
}

The reason must cite editorial purpose, not just restate timestamps. All times must be finite numbers, not booleans, NaN, or Infinity. If both end and duration are present, they must agree. Non-video tracks may use non-empty text instead of source.

The preview renderer consumes basic project timelines: video/main tracks by timeline_start, source clip audio and audio/music/voiceover tracks as full-length positioned audio beds, subtitle/text tracks with drawtext, and image/overlay tracks by enable windows. Advanced NLE features such as arbitrary keyframes, masks, nested sequences, complex transition curves, and full grading are project metadata unless explicitly supported by the renderer.

Render, QC, And Repair

Run:

  1. validate_timeline(timeline_path="out/timeline.json", output_json="out/timeline_validation.json")
  2. render_preview(timeline_path="out/timeline.json", output_path="out/preview.mp4")
  3. qc_preview(video_path="out/preview.mp4", timeline_path="out/timeline.json", output_json="out/preview_qc_report.json")

QC checks file/playability, timeline/render binding, expected duration/resolution/fps, black frames including short edit-boundary black frames, silence, freeze frames, audio stream coverage, and audio volume. Treat errors as blockers. Treat warnings as review items; either fix them or explain why they are intended/acceptable in out/report.md.

For visual self-review of out/preview.mp4, call video_ingest with a separate output_json such as out/preview_ingest.json; do not overwrite source observation packages. If repairs are needed, use timeline_diff. Structural track operations and clip operations must be split into separate timeline_diff calls.

Tool Policy

  • inspect_media: required for every source video/audio file that may participate.
  • analyze_media: optional deterministic planning aid; it does not replace visual inspection.
  • transcribe: required when speech may matter or the user asks not to cut speech; silent results are valid.
  • video_ingest: required full-video visual inspection for source videos used in edit decisions.
  • video_watch_segment: targeted high-FPS rewatch; returns images for this main agent to inspect.
  • video_basic_operation: optional deterministic source-prep tool. Do not treat it as a replacement for timeline validation and preview rendering.
  • speech_synthesize / tts_generate: use only when narration/dubbing/voiceover is required or explicitly chosen as an assumption.
  • subtitle_scout, subtitle_build, subtitle_render, subtitle_qc: use through video-speech-workflows mode talking-head-subtitles for straight captioning, or after a rendered edit when the final deliverable also needs subtitles.
  • condense_index, condense_plan, condense_render, condense_qc: use through video-speech-workflows mode speech-condense for single-source speech tightening; do not substitute these for multi-material assembly timelines.
  • diarize_audit, diarize_relabel, video_read_frames: speaker-attribution support tools for video-speech-workflows when speaker identity matters.
  • detect_shots, arrange_footage, synthesize_narration, bind_narration, render_narrated: use through video-recap-workflows mode movie-recap for full-film narrated recap pipelines.
  • soccer_ingest, soccer_arrange, soccer_tts, soccer_render: use through video-recap-workflows mode soccer-recap for full football/soccer narrated match recaps.
  • lol_ingest, lol_arrange, lol_tts, lol_render: use through video-recap-workflows modes lol-recap and basketball-recap for full-game narrated esports or basketball recaps.
  • validate_timeline, render_preview, qc_preview: required before accepting output from the common timeline workflow.
  • timeline_diff: required for repair-loop auditability.

Completion Bar

For tasks routed to video-edit-assembly, video-speech-workflows, or video-recap-workflows, use the selected specialized skill's additional or replacement completion bar. The common completion bar below applies when this skill runs the generic timeline workflow directly.

The task is complete only when:

  • out/media.json exists;
  • source video_ingest observations exist (out/video_ingest.json for one primary source, or source-specific out/ingest/*.json / out/video_ingest_<source>.json for multi-source tasks);
  • out/timeline.json exists and validates;
  • out/timeline_validation.json exists, passes, and covers the current out/timeline.json;
  • out/preview.mp4 exists and is the rendered artifact that QC covers;
  • out/preview.render_report.json, out/preview.render_plan.json, and out/preview.edit_decisions.json exist and cover the current timeline/preview;
  • out/preview_qc_report.json exists, passes, covers the current out/preview.mp4, and records the current out/timeline.json hash;
  • hard QC errors are resolved or explicitly blocked;
  • out/report.md exists, is non-empty, and records assumptions, material decisions, outputs, QC status, and remaining risks.

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

ماذا تفعل مهارة الذكاء الاصطناعي Video Edit Agent؟

Global controller for video editing tasks. Use as the default entrypoint for any video edit request; it discovers materials, classifies the task, routes to specialized video-edit skills when available, and enforces the common file contract, timeline validation, preview rendering, QC, repair loop, and final report.

لماذا تستخدم Video Edit Agent على TypingMind؟

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

كيف أثبّت Video Edit Agent في TypingMind؟

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

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Video Edit Agent؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Video Edit Agent؟

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

هل مهارة الذكاء الاصطناعي Video Edit Agent مجانية؟

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

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

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

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

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

عرض الكل

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

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