Skip to content

Video Highlight Skill

AI video highlight skill for agents: analyze videos, cut clips with FFmpeg, export subtitles, and generate a shareable recap page.

Install: git clone https://github.com/inhai-wiki/video-highlight-skill

Works with Codex · 25 GitHub stars

Install

$git clone https://github.com/inhai-wiki/video-highlight-skill

Install command taken from the project's README or registry entry. Always review code before running it.

Video Highlight Skill

  <strong> Sponsor · Step Plan </strong>

AI video highlight skill for agents: analyze videos, cut clips with FFmpeg, export subtitles, and generate a shareable recap page.

<code>Claude Code</code> · <code>OpenClaw</code> · <code>Codex</code> · <code>Agent Skill</code>

Quick Start

Copy this and send to your AI Agent:

Read this page and install this skill: [inhai-wiki/video-highlight-skill.git](https://github.com/inhai-wiki/video-highlight-skill.git)

Install the complete repository, including SKILL.md, scripts/, references/, assets/, and agents/.

Then give your Agent a video:

Use video-highlight-skill to analyze this video, cut highlight clips, and generate a shareable recap page.

Compatible with Agent frameworks that support GitHub Skill installation, including Claude Code, OpenClaw, Codex, and custom Agent systems.

What It Does

  • Analyzes videos and builds timestamped highlight plans
  • Cuts highlight clips with ffmpeg
  • Exports sidecar SRT subtitles
  • Generates a YouTube-style HTML recap page
  • Supports long videos, meetings, courses, livestreams, demos, and short-form product videos

Demo

Example: a 20-second product video is split into 3 highlight clips.

Original input video

20-second source video used as the Agent input.

Highlight clips

  <strong>1. Skepticism turns into curiosity</strong>
  
  <code>0:00-0:05.2</code> · Hook
</td>
<td width="33%" valign="top">
  
    
  
  
  <strong>2. Benefit stack in one beat</strong>
  
  <code>0:05.2-0:12.4</code> · Product value
</td>
<td width="33%" valign="top">
  
    
  
  
  <strong>3. Taste proof and direct recommendation</strong>
  
  <code>0:12.4-0:20.1</code> · CTA
</td>

Example plan:

examples/poppi-raspberry-rose-plan.json

Output Page

The generated recap page includes:

  • Main video player on the left
  • Scrollable highlight playlist on the right
  • Video previews for each highlight
  • Clip summary, quote, reason, score, tags, and takeaways
  • GitHub link in the top navigation and footer

Agent Output Contract

The Agent should generate a clip_plan.json:

{
  "scenario": "highlight",
  "source_title": "Video title",
  "summary": "Short summary.",
  "segments": [],
  "highlights": [
    {
      "start": 0,
      "end": 30,
      "title": "Highlight title",
      "summary": "What happens in this clip.",
      "reason": "Why this clip matters.",
      "score": 90,
      "tags": ["demo"],
      "quote": "Representative quote.",
      "takeaways": ["Key takeaway"],
      "subtitles": []
    }
  ]
}

Full schema: references/analysis-schema.md

Requirements

  • Python 3.9+
  • ffmpeg
  • ffprobe

Speech transcription and multimodal understanding can be provided by your Agent framework.

License

MIT

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related