Token导航 LogoToken导航

Agent Skill · 开发

video-highlight-distill(视频精华精华)

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

video-highlight-distill 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 20,391。

总安装 222周安装 9GitHub Stars 1下载 70核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:video-highlight-distill(视频精华精华)
来源仓库:https://github.com/troyanovsky/video-highlight-distill
仓库路径:skills/video-highlight-distill
安装命令:
npx skills add https://github.com/troyanovsky/video-highlight-distill --skill video-highlight-distill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/troyanovsky/video-highlight-distill --skill video-highlight-distill

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

用于辅助视频生成、动画合成、脚本化剪辑或 Remotion 等视频项目开发。它适合让 Agent 组织镜头、生成素材说明、维护合成代码或排查渲染问题。使用时需要确认分辨率、时长、素材路径和导出格式;涉及外部素材、人物肖像或商业发布时,应先核对版权授权和内容审核要求。

安装方式:github,通过 npx skills add 命令添加指定仓库中的技能。适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

来源仓库内路径:skills/video-highlight-distill

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/troyanovsky/video-highlight-distill --skill vi…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

video-highlight-distill 怎么安装?

在终端执行 npx skills add https://github.com/troyanovsky/video-highlight-distill --skill video-highli…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

video-highlight-distill 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

video-highlight-distill 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

video-highlight-distill 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

video-highlight-distill 用的人多吗?

公开数据是累计安装 222 次,近一周安装 9 次,下载 70 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

video-highlight-distill 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
video-highlight-distill

视频精华精华 · 本页

2221需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Video Highlight Distiller

Use this skill when the user wants a long video reduced to a shorter highlights edit around a clear theme or takeaway.

This skill currently supports macOS only because the transcription path depends on mlx-whisper. It is optimized for Apple Silicon machines using mlx-whisper with the mlx-community/whisper-large-v3-turbo-q4 model. It keeps the model in a repo-local folder instead of relying on the default Hugging Face cache.

Before doing any setup or transcription, ask the user for:

  • target final video length
  • key points, theme, or takeaway to highlight
  • content mode
  • output style

Also confirm the source video path before starting any file-processing steps.

Required inputs

Collect these inputs before selecting clips:

  • target final video length
  • highlight theme or main idea
  • content mode
  • output style
  • source video path

At the beginning of the interaction, ask for the target final length, the key points or theme to highlight, the content mode, and the output style if they are not already provided. If the user does not provide a target length, ask for it before doing highlight selection. The clip-selection step needs a duration budget.

If the user does not specify a content mode, infer the closest fit from the source material and confirm it. Supported content modes:

  • vlog
  • podcast/interview
  • meeting/demo
  • lecture/tutorial
  • talking-head/social clip

If the user does not specify an output style, ask for it or propose a reasonable default. Supported output styles:

  • trailer
  • recap
  • educational summary
  • best moments
  • decision log

Before running anything

  1. Check whether dependencies are already available:

- python3 - ffmpeg - ffprobe - repo-local virtualenv at .venv - model files at models/whisper-large-v3-turbo-q4

  1. If any dependency is missing, stop and ask the user for permission before:

- creating or updating .venv - installing Python packages - downloading the Whisper model

  1. If the model directory already contains the expected files, do not re-download it.
  2. Do not assume the scripts are executable. Prefer explicit invocation. First resolve the skill directory from the supported local or global locations:

If you are running this skill inside a sandboxed environment, mlx-whisper may crash during transcription. In that case, request elevated permission and run the setup and Python scripts outside the sandbox so they can complete normally. This commonly affects Codex.

for candidate in \
  "$PWD/.agents/skills/video-highlight-distill" \
  "$PWD/.claude/skills/video-highlight-distill" \
  "$HOME/.agents/skills/video-highlight-distill" \
  "$HOME/.claude/skills/video-highlight-distill"
do
  if [ -d "$candidate" ]; then
    SKILL_DIR="$candidate"
    break
  fi
done

if [ -z "${SKILL_DIR:-}" ]; then
  echo "video-highlight-distill skill directory not found" >&2
  exit 1
fi

bash "$SKILL_DIR/scripts/setup.sh"
python "$SKILL_DIR/scripts/transcribe_video.py" ...
python "$SKILL_DIR/scripts/validate_highlights.py" ...
python "$SKILL_DIR/scripts/render_highlight_video.py" ...

What to use

  • scripts/setup.sh: create .venv, install Python dependencies, verify ffmpeg, and download the Whisper model into models/.
  • scripts/transcribe_video.py: extract temporary audio, run transcription with timestamps, and write structured transcript artifacts.
  • scripts/validate_highlights.py: validate model-authored highlights.json and normalize timestamps before rendering.
  • scripts/auto_select_highlights.py: optional heuristic fallback that can generate a first-pass highlights.json when manual/model selection is unavailable.
  • scripts/render_highlight_video.py: cut and concatenate the selected time ranges from the original source video.
  • references/selection-schema.md: JSON schema and selection rubric for choosing strong highlight segments.

Workflow

  1. Run setup once:
bash "$SKILL_DIR/scripts/setup.sh"
  1. Transcribe the source video:
python "$SKILL_DIR/scripts/transcribe_video.py" \
  --input /absolute/path/to/video.mp4 \
  --output-dir /absolute/path/to/run-artifacts

This writes:

  • transcript.json: full Whisper response plus metadata
  • transcript.txt: readable transcript with segment timestamps
  • selection_input.json: compact transcript payload for highlight selection
  1. Read the transcript artifacts and choose highlights as the editor/director.

Use transcript.txt as the primary editorial input. It is the best default input for the model because it is readable and already pairs each spoken section with a timestamp range. Use selection_input.json as the structured fallback when you need exact machine-readable timestamps or word-level detail.

The model should usually select multiple highlight sections that will later be stitched into one final video. Do not assume the output should be one single continuous block unless the source material truly supports that.

The model should decide which sections to keep based on theme, content mode, output style, narrative value, pacing, and continuity.

The default output should be a highlights.draft.json file that follows references/selection-schema.md.

Selection rules:

  • Prefer multiple strong sections over forcing one large continuous section.
  • Prefer complete thoughts and complete sentence endings over hitting the target length exactly.
  • Treat target final video length as a soft budget, not a hard cap.
  • If the last strong sentence starts before the target and ends shortly after it, keep the full sentence instead of cutting mid-sentence.
  • Prefer a few coherent sections with setup and payoff over many tiny isolated sound bites.
  • Keep segments non-overlapping and sorted.
  • Adapt segment length and pacing to the requested content mode.
  • Adapt the overall cut shape to the requested output style.
  1. Pause for user confirmation before cutting any video.

After drafting the highlight selection, summarize the chosen segments for the user before validation or rendering. Include:

  • the content mode and output style used for selection
  • segment start and end timestamps
  • a one- or two-sentence synopsis of what happens in each segment
  • the estimated total runtime across all selected segments
  • any notable tradeoffs, such as strong moments that were excluded to stay near the duration budget

Ask the user to confirm or request edits. Do not cut or concatenate video until the user approves the selected segments.

Save the draft as highlights.draft.json, share the summary with the user, and wait for confirmation.

  1. Validate the approved highlights:
python "$SKILL_DIR/scripts/validate_highlights.py" \
  --selection-input /absolute/path/to/run-artifacts/selection_input.json \
  --highlights /absolute/path/to/run-artifacts/highlights.draft.json \
  --output /absolute/path/to/run-artifacts/highlights.json

If validation fails, fix the JSON or re-run the selection pass with corrected timestamps. The validator is deterministic and should be treated as the source of truth for shape, ordering, and timestamp bounds.

If the model cannot produce a useful draft, or the user explicitly asks for an automatic first pass, use the heuristic fallback:

python "$SKILL_DIR/scripts/auto_select_highlights.py" \
  --selection-input /absolute/path/to/run-artifacts/selection_input.json \
  --theme "用户要保留的重点主旨" \
  --target-seconds 90 \
  --output /absolute/path/to/run-artifacts/highlights.draft.json

After the user confirms an auto-generated first pass, validate that approved draft into highlights.json.

  1. Review the validated highlights.json and adjust if needed. Follow references/selection-schema.md.
  2. Render the final edit:
python "$SKILL_DIR/scripts/render_highlight_video.py" \
  --input /absolute/path/to/video.mp4 \
  --segments /absolute/path/to/highlights.json \
  --output /absolute/path/to/highlights.mp4

If setup created .venv, prefer the interpreter inside it:

.venv/bin/python "$SKILL_DIR/scripts/transcribe_video.py" ...
.venv/bin/python "$SKILL_DIR/scripts/validate_highlights.py" ...
.venv/bin/python "$SKILL_DIR/scripts/auto_select_highlights.py" ...
.venv/bin/python "$SKILL_DIR/scripts/render_highlight_video.py" ...

Selection guidance

  • Optimize for the user’s requested theme, not generic “interesting” content.
  • Treat the target final video length as a soft budget for selection.
  • Use model-directed selection as the default path. Use auto_select_highlights.py only as a fallback or rough first pass.
  • Use transcript.txt as the primary input for model selection. Use selection_input.json to validate or refine timestamps, not as the default reading format.
  • Default to selecting multiple coherent highlight sections that will be stitched together into the final edit.
  • Prefer continuous sections with setup, payoff, and clean exits.
  • Avoid selecting isolated one-line sound bites unless the user explicitly wants a trailer-style supercut.
  • Keep segments non-overlapping and sorted.
  • Merge small gaps when the surrounding context belongs together.
  • If the transcript is noisy, inspect neighboring segments before finalizing timestamps.
  • Do not end the final selected segment mid-sentence just to land exactly on the target duration.

Content mode guidance

  • vlog: prefer shorter, more dynamic sections, clearer emotional beats, and tighter pacing. Tolerate more cuts if momentum improves.
  • podcast/interview: prefer longer conversational chunks that preserve question-answer context, setup, and payoff. Avoid chopping dialogue too aggressively.
  • meeting/demo: prioritize decisions, action items, concrete updates, questions with answers, and notable product moments. Remove repetitive status chatter.
  • lecture/tutorial: preserve explanatory continuity, examples, and conclusions. Keep enough setup that the retained sections still teach clearly.
  • talking-head/social clip: favor strong hooks, concise points, and clean punchy endings. Prefer segments that can stand alone with minimal context.

Output style guidance

  • trailer: maximize hooks, surprise, momentum, and curiosity. Prefer shorter segments and stronger contrast between beats.
  • recap: summarize the most important points in a balanced, easy-to-follow order. Prefer coherence over intensity.
  • educational summary: optimize for clarity, teaching value, and logical sequencing. Keep explanations intact.
  • best moments: prioritize the strongest standout sections even if they are not fully comprehensive.
  • decision log: prioritize decisions made, reasoning, owners, and next steps. Favor completeness around decision points over entertainment value.

Constraints

  • ffmpeg and ffprobe must be available on PATH.
  • This setup assumes mlx-whisper is appropriate for the current machine. For non-Apple-Silicon environments, the transcription helper likely needs a different backend.
  • This skill is macOS-only for now because it depends on mlx-whisper. Future versions can add Windows support through a Windows-compatible Whisper backend or a transcription API path.
  • Do not read .env files.

平台分布

Codex

34.15%
按下载量换算24

Claude

27.5%
按下载量换算19

Cursor

18.95%
按下载量换算13

Gemini CLI

10.1%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills