Skip to content
Agentmart
Submit a tool

video-to-keyframes

Extracts video frames, detects cuts/segments, selects candidate keyframes, and generates review HTML galleries.

Skill by trae-community

IndexedMIT★ 21
Write a review

Chalk Labs

Need help deploying video-to-keyframes?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/trae-community-video-to-keyframes

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Extracts video frames, detects cuts/segments, selects candidate keyframes, and generates review HTML galleries. Invoke when users ask for keyframes/cuts/segmentation/storyboard screening.

Use cases: frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/video-to-keyframes

What's inside

Skill name
video-to-keyframes
Description
Extracts video frames, detects cuts/segments, selects candidate keyframes, and generates review HTML galleries. Invoke when users ask for keyframes/cuts/segmentation/storyboard screening.
License
MIT
Instructions
54 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (6)

  • SKILL.md
  • requirements.txt · resources/
  • extract_frames_and_describe.py · resources/scripts/
  • generate_daily_folder.py · resources/scripts/
  • run_video_workflow.py · resources/scripts/
  • select_keyframes.py · resources/scripts/

SKILL.md (first lines)

# 视频转关键帧(video-to-keyframes)

把用户提供的视频转成“候选帧池 → 转场/分段 → 候选关键帧集 → 复筛画廊页”,并把产物落盘到当天文件夹,方便后续分镜与生成。

## 何时调用

- 用户提供视频并说:抽帧/拆帧/关键帧/候选关键帧/镜头拆分/转场点/分段/分镜初筛
- 用户希望按固定工作流落盘,需要可复现的目录与文件(frames.json、cuts.json、segments.json、gallery.html 等)

## 依赖

- Python 3.10+
- numpy
- opencv-python

## 输入

- 视频文件路径(必填)
- 当天文件夹路径(可选,默认用视频所在目录;推荐 YYYY-MM-DD)
- 抽帧间隔(建议:30s≈1fps;变化快≈2fps)

## 输出(固定规范)

在 `<当天文件夹>` 下生成:

- `<当天文件夹>\_frames_<视频名>_<间隔>\`:候选帧池目录
  - `f_*.jpg`:抽帧图片
  - `frames.csv / frames.json / top_keep.json / meta.json`
  - `\_keyframe_candidates\`:候选关键帧集目录
    - `cuts.json`:转场点
    - `segments.json`:分段与每段代表帧
    - `segments_gallery.html`:分段可视化(每段1张代表帧)
    - `gallery.html`:候选关键帧画廊(逐个复筛)
    - `candidates.csv / candidates.json`
    - `selected.txt`:人工/AI复筛后的最终候选ID(每行一个 cand_id)
    - `prompt_pack.html`:复筛+提示词协作页(夜间模式,一键复制)
- `<当天文件夹>\<视频名>_拆分.txt`:汇总(转场点、分段、每段代表帧文件名)

## 一键运行(推荐)

```powershell
python .\skills\video-to-keyframes\resources\scripts\run_video_workflow.py "<视频路径>" --day-folder "<当天文件夹>" --every-seconds 0.5 --max-frames 600
```

注意:一键运行只负责产出文件,不等于完成复筛;必须打开 `gallery.html` 做人工/AI语义复筛,并把最终选择写入 `selected.txt`。

## 复筛要点(简版)

- 先看 `segments_gallery.html`:确认每段代表帧是否合理、分段是否过碎
- 再看 `gallery.html`:挑 6-12 张最“代表内容且可复现”的帧(不要只挑清晰但信息弱的帧)
- 将 cand_id 写入 `selected.txt`(每行一个三位数字或逗号分隔均可)

From trae-community/trae-skills, MIT.

More from trae-community/trae-skills

Signals

Stars
21
Forks
23
Open issues
1
Last commit (this folder)
Mar 10, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from trae-community

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get video-to-keyframes running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying video-to-keyframes?

CallGet help
Cite this page

video-to-keyframes skill. Agent Mart. https://agentmart.dev/skills/trae-community-video-to-keyframes (last updated 2026-10-24)